doc-src/IsarRef/style.sty
author wenzelm
Wed, 15 Apr 2009 11:14:48 +0200
changeset 30895 bad26d8f0adf
parent 30242 aea5d7fa7ef5
child 42631 028f94955436
permissions -rw-r--r--
updated for Isabelle2009;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
a3afbb414b69 removed obsolete macros for Isar commands etc.;
wenzelm
parents: 26859
diff changeset
     5
\setcounter{secnumdepth}{2} \setcounter{tocdepth}{2}
a3afbb414b69 removed obsolete macros for Isar commands etc.;
wenzelm
parents: 26859
diff changeset
     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
4f066dfc58d1 more ref macros;
wenzelm
parents: 26738
diff changeset
    10
\newcommand{\Chref}[1]{Chapter~\ref{#1}}
4f066dfc58d1 more ref macros;
wenzelm
parents: 26738
diff changeset
    11
\newcommand{\appref}[1]{appendix~\ref{#1}}
4f066dfc58d1 more ref macros;
wenzelm
parents: 26738
diff changeset
    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
4f066dfc58d1 more ref macros;
wenzelm
parents: 26738
diff changeset
    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
4ce896a30f88 added bind_thm, bind_thms;
wenzelm
parents: 26865
diff changeset
    18
29725
03916d2d16d3 some more macros;
wenzelm
parents: 28763
diff changeset
    19
%% Isar
03916d2d16d3 some more macros;
wenzelm
parents: 28763
diff changeset
    20
\newcommand{\isasymBBAR}{{\,\newdimen{\tmpheight}\settoheight\tmpheight{\isacharbar}\rule{1pt}{\tmpheight}\,}}
29733
f38ccabb2edc improved sorry/noproof markup;
wenzelm
parents: 29725
diff changeset
    21
\isafoldtag{noproof}\def\isafoldnoproof{~\isafold{proof}}
29725
03916d2d16d3 some more macros;
wenzelm
parents: 28763
diff changeset
    22
26859
b9ab6246765e removed obsolete macros;
wenzelm
parents: 26778
diff changeset
    23
%% math
29725
03916d2d16d3 some more macros;
wenzelm
parents: 28763
diff changeset
    24
\newcommand{\isasymstrut}{\isamath{\mathstrut}}
03916d2d16d3 some more macros;
wenzelm
parents: 28763
diff changeset
    25
\newcommand{\isasymvartheta}{\isamath{\,\theta}}
26859
b9ab6246765e removed obsolete macros;
wenzelm
parents: 26778
diff changeset
    26
\newcommand{\isactrlvec}[1]{\emph{$\overline{#1}$}}
b9ab6246765e removed obsolete macros;
wenzelm
parents: 26778
diff changeset
    27
\renewcommand{\isadigit}[1]{\isamath{#1}}
29725
03916d2d16d3 some more macros;
wenzelm
parents: 28763
diff changeset
    28
\newcommand{\text}[1]{\mbox{#1}}
26738
615e1a86787b basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff changeset
    29
26865
a3afbb414b69 removed obsolete macros for Isar commands etc.;
wenzelm
parents: 26859
diff changeset
    30
%% global style options
26738
615e1a86787b basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff changeset
    31
\pagestyle{headings}
615e1a86787b basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff changeset
    32
\sloppy
615e1a86787b basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff changeset
    33
615e1a86787b basic setup for generated document (cf. ../IsarImplementation);
wenzelm
parents:
diff changeset
    34
\isabellestyle{it}
26859
b9ab6246765e removed obsolete macros;
wenzelm
parents: 26778
diff changeset
    35
\underscoreon
26775
06d6b1242dcf use underscore for underscore;
wenzelm
parents: 26767
diff changeset
    36
\renewcommand{\isacharunderscore}{\_}
06d6b1242dcf use underscore for underscore;
wenzelm
parents: 26767
diff changeset
    37
\renewcommand{\isacharunderscorekeyword}{\_}
26778
378bdbce68e6 added \isasymdash;
wenzelm
parents: 26775
diff changeset
    38
\newcommand{\isasymdash}{\mbox{-}}