doc-src/Classes/style.sty
author haftmann
Fri, 24 Sep 2010 14:03:43 +0200
changeset 39900 810f98bd4eea
parent 39889 f1622d126e31
child 39904 a0d49ed5a23a
permissions -rw-r--r--
fixed small font size fore typewriter text
     1 
     2 %% toc
     3 \newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1}
     4 \@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}}
     5 
     6 %% paragraphs
     7 \setlength{\parindent}{1em}
     8 
     9 %% references
    10 \newcommand{\secref}[1]{\S\ref{#1}}
    11 \newcommand{\figref}[1]{figure~\ref{#1}}
    12 
    13 %% logical markup
    14 \newcommand{\strong}[1]{{\bfseries {#1}}}
    15 \newcommand{\qn}[1]{\emph{#1}}
    16 
    17 %% typographic conventions
    18 \newcommand{\qt}[1]{``{#1}''}
    19 \newcommand{\ditem}[1]{\item[\isastyletext #1]}
    20 
    21 %% quote environment
    22 \isakeeptag{quote}
    23 \renewenvironment{quote}
    24   {\list{}{\leftmargin2em\rightmargin0pt}\parindent0pt\parskip0pt\item\relax}
    25   {\endlist}
    26 \renewcommand{\isatagquote}{\begin{quote}}
    27 \renewcommand{\endisatagquote}{\end{quote}}
    28 \newcommand{\quotebreak}{\\[1.2ex]}
    29 
    30 %% typewriter text
    31 \newenvironment{typewriter}{\renewcommand{\isadigit}[1]{{##1}}%
    32 \parindent0pt%
    33 \isabellestyle{tt}\isastyle%
    34 \fontsize{9pt}{9pt}\selectfont}{}
    35 
    36 %% presentation
    37 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
    38 
    39 %% character detail
    40 \renewcommand{\isadigit}[1]{\isamath{#1}}
    41 \binperiod
    42 \underscoreoff
    43 
    44 %% format
    45 \pagestyle{headings}
    46 \isabellestyle{it}
    47 
    48 
    49 %%% Local Variables: 
    50 %%% mode: latex
    51 %%% TeX-master: "implementation"
    52 %%% End: