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
     1 % extra.sty : Isabelle Manual extra macros for non-Springer version
     2 %
     3 \typeout{Document Style extra. Released 17/2/94, version of 22/8/00}
     4 
     5 \usepackage{ttbox}
     6 {\obeylines\gdef\ttbreak
     7 {\allowbreak}}
     8 
     9 %%Euro-style date: 20 September 1955
    10 \def\today{\number\day\space\ifcase\month\or
    11 January\or February\or March\or April\or May\or June\or
    12 July\or August\or September\or October\or November\or December\fi
    13 \space\number\year}
    14 
    15 %%%Put first chapter on odd page, with arabic numbering; like \cleardoublepage
    16 \newcommand\clearfirst{\clearpage\ifodd\c@page\else
    17     \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi
    18     \pagenumbering{arabic}}
    19 
    20 %%%Ruled chapter headings 
    21 \def\@rulehead#1{\hrule height1pt \vskip 14pt \Huge \bf 
    22    #1 \vskip 14pt\hrule height1pt}
    23 \def\@makechapterhead#1{ { \parindent 0pt 
    24  \ifnum\c@secnumdepth >\m@ne \raggedleft\large\bf\@chapapp{} \thechapter \par 
    25  \vskip 20pt \fi \raggedright \@rulehead{#1} \par \nobreak \vskip 40pt } }
    26 
    27 \def\@makeschapterhead#1{ { \parindent 0pt \raggedright 
    28  \@rulehead{#1} \par \nobreak \vskip 40pt } }
    29