doc-src/isar.sty
author wenzelm
Sat Nov 15 21:31:13 2008 +0100 (2008-11-15)
changeset 28797 9dcd32ee5dbe
parent 28761 9ec4482c9201
child 29727 cda1fb36a082
permissions -rw-r--r--
rewrite_proof: simplified simprocs (no name required);
wenzelm@7050
     1
wenzelm@7050
     2
%% $Id$
wenzelm@7050
     3
wenzelm@7050
     4
\usepackage{ifthen}
wenzelm@7050
     5
wenzelm@26745
     6
\newcommand{\indexdef}[3]%
wenzelm@26745
     7
{\ifthenelse{\equal{}{#1}}{\index{#3 (#2)|bold}}{\index{#3 (#1\ #2)|bold}}}
wenzelm@26745
     8
\newcommand{\indexref}[3]{\ifthenelse{\equal{}{#1}}{\index{#3 (#2)}}{\index{#3 (#1\ #2)}}}
wenzelm@7138
     9
wenzelm@28214
    10
\newcommand{\isatt}[1]{{\def\isacharminus{-}\def\isacharunderscore{\_}\tt #1}}
wenzelm@28214
    11
wenzelm@26745
    12
\newcommand{\indexoutertoken}[1]{\indexdef{}{syntax}{#1}}
wenzelm@26745
    13
\newcommand{\indexouternonterm}[1]{\indexdef{}{syntax}{#1}}
wenzelm@26745
    14
\newcommand{\indexisarelem}[1]{\indexdef{}{element}{#1}}
wenzelm@7170
    15
wenzelm@26755
    16
\newcommand{\isasymAND}{\isakeyword{and}}
wenzelm@26755
    17
\newcommand{\isasymIS}{\isakeyword{is}}
wenzelm@26755
    18
\newcommand{\isasymWHERE}{\isakeyword{where}}
wenzelm@26769
    19
\newcommand{\isasymBEGIN}{\isakeyword{begin}}
wenzelm@26769
    20
\newcommand{\isasymIMPORTS}{\isakeyword{imports}}
wenzelm@26783
    21
\newcommand{\isasymIN}{\isakeyword{in}}
wenzelm@26783
    22
\newcommand{\isasymSTRUCTURE}{\isakeyword{structure}}