doc-src/Classes/style.sty
author haftmann
Tue, 03 Mar 2009 11:00:51 +0100
changeset 30209 2f4684e2ea95
parent 29104 doc-src/IsarAdvanced/Classes/style.sty@a5ac0bc68e2b
child 30210 853abb4853cc
permissions -rw-r--r--
more canonical directory structure of manuals
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@20946
     6
%% references
haftmann@20946
     7
\newcommand{\secref}[1]{\S\ref{#1}}
haftmann@20946
     8
\newcommand{\figref}[1]{figure~\ref{#1}}
haftmann@20946
     9
haftmann@29016
    10
%% logical markup
haftmann@29016
    11
\newcommand{\strong}[1]{{\bfseries {#1}}}
haftmann@29016
    12
\newcommand{\qn}[1]{\emph{#1}}
haftmann@20946
    13
haftmann@29016
    14
%% typographic conventions
haftmann@29016
    15
\newcommand{\qt}[1]{``{#1}''}
haftmann@20946
    16
haftmann@29016
    17
%% verbatim text
haftmann@29016
    18
\newcommand{\isatypewriter}{\fontsize{9pt}{0pt}\tt\renewcommand{\baselinestretch}{1}\setlength{\baselineskip}{9pt}}
haftmann@20946
    19
haftmann@29016
    20
%% quoted segments
haftmann@29016
    21
\makeatletter
haftmann@29016
    22
\isakeeptag{quote}
haftmann@29016
    23
\newenvironment{quotesegment}{\begin{quote}\isa@parindent\parindent\parindent0pt\isa@parskip\parskip\parskip0pt}{\end{quote}}
haftmann@29016
    24
\renewcommand{\isatagquote}{\begin{quotesegment}}
haftmann@29016
    25
\renewcommand{\endisatagquote}{\end{quotesegment}}
haftmann@29016
    26
\makeatother
haftmann@29016
    27
haftmann@29016
    28
%% presentation
haftmann@20946
    29
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
haftmann@20946
    30
haftmann@20946
    31
\pagestyle{headings}
haftmann@20946
    32
\binperiod
haftmann@29104
    33
\underscoreoff
haftmann@20946
    34
haftmann@20946
    35
\renewcommand{\isadigit}[1]{\isamath{#1}}
haftmann@20946
    36
haftmann@29016
    37
\isabellestyle{it}
haftmann@20946
    38
haftmann@20946
    39
haftmann@20946
    40
%%% Local Variables: 
haftmann@20946
    41
%%% mode: latex
haftmann@20946
    42
%%% TeX-master: "implementation"
haftmann@20946
    43
%%% End: