doc-src/extra.sty
author paulson
Tue, 10 Feb 2004 12:02:11 +0100
changeset 14378 69c4d5997669
parent 9691 88d8d45a4cc4
permissions -rw-r--r--
generic of_nat and of_int functions, and generalization of iszero and neg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
292
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
     1
% extra.sty : Isabelle Manual extra macros for non-Springer version
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
     2
%
9675
0fe0dce56bd8 updated to latest versions of ttbox and ttbreak
paulson
parents: 596
diff changeset
     3
\typeout{Document Style extra. Released 17/2/94, version of 22/8/00}
0fe0dce56bd8 updated to latest versions of ttbox and ttbreak
paulson
parents: 596
diff changeset
     4
292
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
     5
%%Euro-style date: 20 September 1955
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
     6
\def\today{\number\day\space\ifcase\month\or
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
     7
January\or February\or March\or April\or May\or June\or
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
     8
July\or August\or September\or October\or November\or December\fi
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
     9
\space\number\year}
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    10
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    11
%%%Put first chapter on odd page, with arabic numbering; like \cleardoublepage
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    12
\newcommand\clearfirst{\clearpage\ifodd\c@page\else
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    13
    \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    14
    \pagenumbering{arabic}}
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    15
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    16
%%%Ruled chapter headings 
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    17
\def\@rulehead#1{\hrule height1pt \vskip 14pt \Huge \bf 
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    18
   #1 \vskip 14pt\hrule height1pt}
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    19
\def\@makechapterhead#1{ { \parindent 0pt 
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    20
 \ifnum\c@secnumdepth >\m@ne \raggedleft\large\bf\@chapapp{} \thechapter \par 
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    21
 \vskip 20pt \fi \raggedright \@rulehead{#1} \par \nobreak \vskip 40pt } }
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    22
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    23
\def\@makeschapterhead#1{ { \parindent 0pt \raggedright 
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    24
 \@rulehead{#1} \par \nobreak \vskip 40pt } }
cc69ef31cfc3 first draft of Springer volume
lcp
parents:
diff changeset
    25