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