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