doc-src/Codegen/style.sty
author haftmann
Fri, 13 Aug 2010 13:43:55 +0200
changeset 38630 a461dd80f83c
parent 30210 853abb4853cc
child 39760 5aced2f43837
permissions -rw-r--r--
ditem
     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 
    12 %% logical markup
    13 \newcommand{\strong}[1]{{\bfseries {#1}}}
    14 \newcommand{\qn}[1]{\emph{#1}}
    15 
    16 %% typographic conventions
    17 \newcommand{\qt}[1]{``{#1}''}
    18 \newcommand{\ditem}[1]{\item[\isastyletext #1]}
    19 
    20 %% verbatim text
    21 \newcommand{\isatypewriter}{\fontsize{9pt}{0pt}\tt\renewcommand{\baselinestretch}{1}\setlength{\baselineskip}{9pt}}
    22 
    23 %% quote environment
    24 \isakeeptag{quote}
    25 \renewenvironment{quote}
    26   {\list{}{\leftmargin2em\rightmargin0pt}\parindent0pt\parskip0pt\item\relax}
    27   {\endlist}
    28 \renewcommand{\isatagquote}{\begin{quote}}
    29 \renewcommand{\endisatagquote}{\end{quote}}
    30 \newcommand{\quotebreak}{\\[1.2ex]}
    31 
    32 \isakeeptag{quotett}
    33 \renewcommand{\isatagquotett}{\begin{quote}\isabellestyle{tt}\isastyle}
    34 \renewcommand{\endisatagquotett}{\end{quote}\isabellestyle{it}\isastyle}
    35 
    36 %% a trick
    37 \newcommand{\isasymSML}{SML}
    38 
    39 %% presentation
    40 \setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
    41 
    42 %% character detail
    43 \renewcommand{\isadigit}[1]{\isamath{#1}}
    44 \binperiod
    45 \underscoreoff
    46 
    47 %% format
    48 \pagestyle{headings}
    49 \isabellestyle{it}
    50 
    51 %% ml reference
    52 \newenvironment{mldecls}{\par\noindent\begingroup\footnotesize\def\isanewline{\\}\begin{tabular}{l}}{\end{tabular}\smallskip\endgroup}
    53 
    54 \isakeeptag{mlref}
    55 \renewcommand{\isatagmlref}{\subsection*{\makebox[0pt][r]{\fbox{\ML}~~}Reference}\begingroup\def\isastyletext{\rm}\small}
    56 \renewcommand{\endisatagmlref}{\endgroup}
    57 
    58 \isabellestyle{it}
    59 
    60 
    61 %%% Local Variables: 
    62 %%% mode: latex
    63 %%% TeX-master: "implementation"
    64 %%% End: