author | haftmann |
Fri, 24 Sep 2010 14:56:16 +0200 | |
changeset 39680 | a0d49ed5a23a |
parent 39676 | 810f98bd4eea |
child 39744 | 4e586b734fac |
permissions | -rw-r--r-- |
20946 | 1 |
|
2 |
%% toc |
|
3 |
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1} |
|
4 |
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}} |
|
5 |
||
30227 | 6 |
%% paragraphs |
7 |
\setlength{\parindent}{1em} |
|
8 |
||
20946 | 9 |
%% references |
10 |
\newcommand{\secref}[1]{\S\ref{#1}} |
|
11 |
\newcommand{\figref}[1]{figure~\ref{#1}} |
|
12 |
||
29016 | 13 |
%% logical markup |
14 |
\newcommand{\strong}[1]{{\bfseries {#1}}} |
|
15 |
\newcommand{\qn}[1]{\emph{#1}} |
|
16 |
||
17 |
%% typographic conventions |
|
18 |
\newcommand{\qt}[1]{``{#1}''} |
|
39665
f1622d126e31
more idiomatic handling of latex typewriter type setting
haftmann
parents:
39664
diff
changeset
|
19 |
\newcommand{\ditem}[1]{\item[\isastyletext #1]} |
29016 | 20 |
|
30227 | 21 |
%% quote environment |
29016 | 22 |
\isakeeptag{quote} |
30227 | 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]} |
|
20946 | 29 |
|
39664
0afaf89ab591
more canonical type setting of type writer code examples
haftmann
parents:
39538
diff
changeset
|
30 |
%% typewriter text |
39680 | 31 |
\isakeeptag{typewriter} |
32 |
\newenvironment{typewriter}{\renewcommand{\isastyletext}{}% |
|
33 |
\renewcommand{\isadigit}[1]{{##1}}% |
|
39665
f1622d126e31
more idiomatic handling of latex typewriter type setting
haftmann
parents:
39664
diff
changeset
|
34 |
\parindent0pt% |
39676 | 35 |
\isabellestyle{tt}\isastyle% |
36 |
\fontsize{9pt}{9pt}\selectfont}{} |
|
39680 | 37 |
\renewcommand{\isatagtypewriter}{\begin{typewriter}} |
38 |
\renewcommand{\endisatagtypewriter}{\end{typewriter}} |
|
39664
0afaf89ab591
more canonical type setting of type writer code examples
haftmann
parents:
39538
diff
changeset
|
39 |
|
29016 | 40 |
%% presentation |
20946 | 41 |
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2} |
42 |
||
30227 | 43 |
%% character detail |
44 |
\renewcommand{\isadigit}[1]{\isamath{#1}} |
|
20946 | 45 |
\binperiod |
29104 | 46 |
\underscoreoff |
20946 | 47 |
|
30227 | 48 |
%% format |
49 |
\pagestyle{headings} |
|
29016 | 50 |
\isabellestyle{it} |
20946 | 51 |
|
52 |
||
53 |
%%% Local Variables: |
|
54 |
%%% mode: latex |
|
55 |
%%% TeX-master: "implementation" |
|
56 |
%%% End: |