292
|
1 |
% extra.sty : Isabelle Manual extra macros for non-Springer version
|
|
2 |
%
|
|
3 |
\typeout{Document Style extra. Released 17 February 1994}
|
|
4 |
|
|
5 |
%%Euro-style date: 20 September 1955
|
|
6 |
\def\today{\number\day\space\ifcase\month\or
|
|
7 |
January\or February\or March\or April\or May\or June\or
|
|
8 |
July\or August\or September\or October\or November\or December\fi
|
|
9 |
\space\number\year}
|
|
10 |
|
|
11 |
\input{alltt.sty}
|
|
12 |
%Indented, boxed alltt environment; uses \small\tt font
|
|
13 |
%\leftmargini is LaTeX's first-level indentation for items (2.5em)
|
|
14 |
%@endparenv is LaTeX's trick for preventing indentation of next paragraph
|
|
15 |
\newenvironment{ttbox}{\par\nobreak\vskip-2pt
|
455
|
16 |
\vbox\bgroup\footnotesize\begin{alltt}\chardef\{=`\{\chardef\}=`\}%
|
|
17 |
\leftskip\leftmargini}%
|
292
|
18 |
{\end{alltt}\egroup\vskip-7pt\@endparenv}
|
|
19 |
\newcommand\ttbreak{\end{ttbox}\vskip-10pt\begin{ttbox}}
|
|
20 |
|
|
21 |
%%%Put first chapter on odd page, with arabic numbering; like \cleardoublepage
|
|
22 |
\newcommand\clearfirst{\clearpage\ifodd\c@page\else
|
|
23 |
\hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi
|
|
24 |
\pagenumbering{arabic}}
|
|
25 |
|
|
26 |
%%%Ruled chapter headings
|
|
27 |
\def\@rulehead#1{\hrule height1pt \vskip 14pt \Huge \bf
|
|
28 |
#1 \vskip 14pt\hrule height1pt}
|
|
29 |
\def\@makechapterhead#1{ { \parindent 0pt
|
|
30 |
\ifnum\c@secnumdepth >\m@ne \raggedleft\large\bf\@chapapp{} \thechapter \par
|
|
31 |
\vskip 20pt \fi \raggedright \@rulehead{#1} \par \nobreak \vskip 40pt } }
|
|
32 |
|
|
33 |
\def\@makeschapterhead#1{ { \parindent 0pt \raggedright
|
|
34 |
\@rulehead{#1} \par \nobreak \vskip 40pt } }
|
|
35 |
|