src/Doc/extra.sty
changeset 48985 5386df44a037
parent 9691 88d8d45a4cc4
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/Doc/extra.sty	Tue Aug 28 18:57:32 2012 +0200
     1.3 @@ -0,0 +1,25 @@
     1.4 +% extra.sty : Isabelle Manual extra macros for non-Springer version
     1.5 +%
     1.6 +\typeout{Document Style extra. Released 17/2/94, version of 22/8/00}
     1.7 +
     1.8 +%%Euro-style date: 20 September 1955
     1.9 +\def\today{\number\day\space\ifcase\month\or
    1.10 +January\or February\or March\or April\or May\or June\or
    1.11 +July\or August\or September\or October\or November\or December\fi
    1.12 +\space\number\year}
    1.13 +
    1.14 +%%%Put first chapter on odd page, with arabic numbering; like \cleardoublepage
    1.15 +\newcommand\clearfirst{\clearpage\ifodd\c@page\else
    1.16 +    \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi
    1.17 +    \pagenumbering{arabic}}
    1.18 +
    1.19 +%%%Ruled chapter headings 
    1.20 +\def\@rulehead#1{\hrule height1pt \vskip 14pt \Huge \bf 
    1.21 +   #1 \vskip 14pt\hrule height1pt}
    1.22 +\def\@makechapterhead#1{ { \parindent 0pt 
    1.23 + \ifnum\c@secnumdepth >\m@ne \raggedleft\large\bf\@chapapp{} \thechapter \par 
    1.24 + \vskip 20pt \fi \raggedright \@rulehead{#1} \par \nobreak \vskip 40pt } }
    1.25 +
    1.26 +\def\@makeschapterhead#1{ { \parindent 0pt \raggedright 
    1.27 + \@rulehead{#1} \par \nobreak \vskip 40pt } }
    1.28 +