author | wenzelm |
Sat, 12 Nov 2011 19:44:56 +0100 | |
changeset 45474 | f793dd5d84b2 |
parent 42666 | fee67c099d03 |
child 45646 | 02afa20cf397 |
permissions | -rw-r--r-- |
26738
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
1 |
%% toc |
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
2 |
\newcommand{\tocentry}[1]{\cleardoublepage\phantomsection\addcontentsline{toc}{chapter}{#1} |
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
3 |
\@mkboth{\MakeUppercase{#1}}{\MakeUppercase{#1}}} |
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
4 |
|
26865 | 5 |
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2} |
6 |
||
26738
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
7 |
%% references |
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
8 |
\newcommand{\secref}[1]{\S\ref{#1}} |
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
9 |
\newcommand{\chref}[1]{chapter~\ref{#1}} |
26759 | 10 |
\newcommand{\Chref}[1]{Chapter~\ref{#1}} |
11 |
\newcommand{\appref}[1]{appendix~\ref{#1}} |
|
12 |
\newcommand{\Appref}[1]{Appendix~\ref{#1}} |
|
26738
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
13 |
\newcommand{\figref}[1]{figure~\ref{#1}} |
26759 | 14 |
\newcommand{\Figref}[1]{Figure~\ref{#1}} |
26738
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
15 |
|
28760
cbc435f7b16b
unified use of declaration environment with IsarImplementation;
wenzelm
parents:
28758
diff
changeset
|
16 |
%% ML |
28763
b5e6122ff575
added pretty printing options (from old ref manual);
wenzelm
parents:
28760
diff
changeset
|
17 |
\newenvironment{mldecls}{\par\noindent\begingroup\def\isanewline{\\}\begin{tabular}{ll}}{\end{tabular}\medskip\endgroup} |
28758 | 18 |
|
42654 | 19 |
\renewcommand{\isatagML}{\begingroup\isabellestyle{default}\isastyle\def\isadigit##1{##1}} |
20 |
\renewcommand{\endisatagML}{\endgroup} |
|
21 |
||
29725 | 22 |
%% Isar |
23 |
\newcommand{\isasymBBAR}{{\,\newdimen{\tmpheight}\settoheight\tmpheight{\isacharbar}\rule{1pt}{\tmpheight}\,}} |
|
29733 | 24 |
\isafoldtag{noproof}\def\isafoldnoproof{~\isafold{proof}} |
29725 | 25 |
|
26859 | 26 |
%% math |
29725 | 27 |
\newcommand{\isasymstrut}{\isamath{\mathstrut}} |
28 |
\newcommand{\isasymvartheta}{\isamath{\,\theta}} |
|
26859 | 29 |
\newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}} |
30 |
\renewcommand{\isadigit}[1]{\isamath{#1}} |
|
29725 | 31 |
\newcommand{\text}[1]{\mbox{#1}} |
26738
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
32 |
|
26865 | 33 |
%% global style options |
26738
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
34 |
\pagestyle{headings} |
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
35 |
\sloppy |
615e1a86787b
basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff
changeset
|
36 |
|
42656 | 37 |
\parindent 0pt\parskip 0.5ex |
38 |
||
42664 | 39 |
\isabellestyle{itunderscore} |
42631 | 40 |
|
42664 | 41 |
\railtermfont{\isabellestyle{tt}} |
42 |
\railnontermfont{\isabellestyle{itunderscore}} |
|
43 |
\railnamefont{\isabellestyle{itunderscore}} |