doc-src/TutorialI/extra.sty
author paulson
Tue Aug 22 10:59:15 2000 +0200 (2000-08-22)
changeset 9675 0fe0dce56bd8
parent 8743 3253c6046d57
permissions -rw-r--r--
updated to latest versions of ttbox and ttbreak
nipkow@8743
     1
% extra.sty : Isabelle Manual extra macros for non-Springer version
nipkow@8743
     2
%
paulson@9675
     3
\typeout{Document Style extra. Released 17/2/94, version of 22/8/00}
paulson@9675
     4
paulson@9675
     5
\usepackage{ttbox}
paulson@9675
     6
{\obeylines\gdef\ttbreak
paulson@9675
     7
{\allowbreak}}
nipkow@8743
     8
nipkow@8743
     9
%%Euro-style date: 20 September 1955
nipkow@8743
    10
\def\today{\number\day\space\ifcase\month\or
nipkow@8743
    11
January\or February\or March\or April\or May\or June\or
nipkow@8743
    12
July\or August\or September\or October\or November\or December\fi
nipkow@8743
    13
\space\number\year}
nipkow@8743
    14
nipkow@8743
    15
%%%Put first chapter on odd page, with arabic numbering; like \cleardoublepage
nipkow@8743
    16
\newcommand\clearfirst{\clearpage\ifodd\c@page\else
nipkow@8743
    17
    \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi
nipkow@8743
    18
    \pagenumbering{arabic}}
nipkow@8743
    19
nipkow@8743
    20
%%%Ruled chapter headings 
nipkow@8743
    21
\def\@rulehead#1{\hrule height1pt \vskip 14pt \Huge \bf 
nipkow@8743
    22
   #1 \vskip 14pt\hrule height1pt}
nipkow@8743
    23
\def\@makechapterhead#1{ { \parindent 0pt 
nipkow@8743
    24
 \ifnum\c@secnumdepth >\m@ne \raggedleft\large\bf\@chapapp{} \thechapter \par 
nipkow@8743
    25
 \vskip 20pt \fi \raggedright \@rulehead{#1} \par \nobreak \vskip 40pt } }
nipkow@8743
    26
nipkow@8743
    27
\def\@makeschapterhead#1{ { \parindent 0pt \raggedright 
nipkow@8743
    28
 \@rulehead{#1} \par \nobreak \vskip 40pt } }
nipkow@8743
    29