doc-src/Classes/style.sty
author Walther Neuper <neuper@ist.tugraz.at>
Thu, 12 Aug 2010 15:03:34 +0200
branchisac-from-Isabelle2009-2
changeset 37913 20e3616b2d9c
parent 30210 853abb4853cc
child 39760 5aced2f43837
permissions -rw-r--r--
prepare reactivation of isac-update-Isa09-2
haftmann@20946
     1
haftmann@20946
     2
%% toc
haftmann@20946
     3
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
haftmann@20946
     4
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
haftmann@20946
     5
haftmann@30210
     6
%% paragraphs
haftmann@30210
     7
\setlength{\parindent}{1em}
haftmann@30210
     8
haftmann@20946
     9
%% references
haftmann@20946
    10
\newcommand{\secref}[1]{\S\ref{#1}}
haftmann@20946
    11
\newcommand{\figref}[1]{figure~\ref{#1}}
haftmann@20946
    12
haftmann@29016
    13
%% logical markup
haftmann@29016
    14
\newcommand{\strong}[1]{{\bfseries {#1}}}
haftmann@29016
    15
\newcommand{\qn}[1]{\emph{#1}}
haftmann@20946
    16
haftmann@29016
    17
%% typographic conventions
haftmann@29016
    18
\newcommand{\qt}[1]{``{#1}''}
haftmann@20946
    19
haftmann@29016
    20
%% verbatim text
haftmann@29016
    21
\newcommand{\isatypewriter}{\fontsize{9pt}{0pt}\tt\renewcommand{\baselinestretch}{1}\setlength{\baselineskip}{9pt}}
haftmann@20946
    22
haftmann@30210
    23
%% quote environment
haftmann@29016
    24
\isakeeptag{quote}
haftmann@30210
    25
\renewenvironment{quote}
haftmann@30210
    26
  {\list{}{\leftmargin2em\rightmargin0pt}\parindent0pt\parskip0pt\item\relax}
haftmann@30210
    27
  {\endlist}
haftmann@30210
    28
\renewcommand{\isatagquote}{\begin{quote}}
haftmann@30210
    29
\renewcommand{\endisatagquote}{\end{quote}}
haftmann@30210
    30
\newcommand{\quotebreak}{\\[1.2ex]}
haftmann@29016
    31
haftmann@29016
    32
%% presentation
haftmann@20946
    33
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
haftmann@20946
    34
haftmann@30210
    35
%% character detail
haftmann@30210
    36
\renewcommand{\isadigit}[1]{\isamath{#1}}
haftmann@20946
    37
\binperiod
haftmann@29104
    38
\underscoreoff
haftmann@20946
    39
haftmann@30210
    40
%% format
haftmann@30210
    41
\pagestyle{headings}
haftmann@29016
    42
\isabellestyle{it}
haftmann@20946
    43
haftmann@20946
    44
haftmann@20946
    45
%%% Local Variables: 
haftmann@20946
    46
%%% mode: latex
haftmann@20946
    47
%%% TeX-master: "implementation"
haftmann@20946
    48
%%% End: