src/Doc/extra.sty
author wenzelm
Mon Oct 09 21:12:22 2017 +0200 (22 months ago)
changeset 66822 4642cf4a7ebb
parent 48985 5386df44a037
permissions -rw-r--r--
tuned signature;
lcp@292
     1
% extra.sty : Isabelle Manual extra macros for non-Springer version
lcp@292
     2
%
paulson@9675
     3
\typeout{Document Style extra. Released 17/2/94, version of 22/8/00}
paulson@9675
     4
lcp@292
     5
%%Euro-style date: 20 September 1955
lcp@292
     6
\def\today{\number\day\space\ifcase\month\or
lcp@292
     7
January\or February\or March\or April\or May\or June\or
lcp@292
     8
July\or August\or September\or October\or November\or December\fi
lcp@292
     9
\space\number\year}
lcp@292
    10
lcp@292
    11
%%%Put first chapter on odd page, with arabic numbering; like \cleardoublepage
lcp@292
    12
\newcommand\clearfirst{\clearpage\ifodd\c@page\else
lcp@292
    13
    \hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi
lcp@292
    14
    \pagenumbering{arabic}}
lcp@292
    15
lcp@292
    16
%%%Ruled chapter headings 
lcp@292
    17
\def\@rulehead#1{\hrule height1pt \vskip 14pt \Huge \bf 
lcp@292
    18
   #1 \vskip 14pt\hrule height1pt}
lcp@292
    19
\def\@makechapterhead#1{ { \parindent 0pt 
lcp@292
    20
 \ifnum\c@secnumdepth >\m@ne \raggedleft\large\bf\@chapapp{} \thechapter \par 
lcp@292
    21
 \vskip 20pt \fi \raggedright \@rulehead{#1} \par \nobreak \vskip 40pt } }
lcp@292
    22
lcp@292
    23
\def\@makeschapterhead#1{ { \parindent 0pt \raggedright 
lcp@292
    24
 \@rulehead{#1} \par \nobreak \vskip 40pt } }
lcp@292
    25