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);
     1 
     2 %% $Id$
     3 
     4 \usepackage{ifthen}
     5 
     6 \newcommand{\indexdef}[3]%
     7 {\ifthenelse{\equal{}{#1}}{\index{#3 (#2)|bold}}{\index{#3 (#1\ #2)|bold}}}
     8 \newcommand{\indexref}[3]{\ifthenelse{\equal{}{#1}}{\index{#3 (#2)}}{\index{#3 (#1\ #2)}}}
     9 
    10 \newcommand{\isatt}[1]{{\def\isacharminus{-}\def\isacharunderscore{\_}\tt #1}}
    11 
    12 \newcommand{\indexoutertoken}[1]{\indexdef{}{syntax}{#1}}
    13 \newcommand{\indexouternonterm}[1]{\indexdef{}{syntax}{#1}}
    14 \newcommand{\indexisarelem}[1]{\indexdef{}{element}{#1}}
    15 
    16 \newcommand{\isasymAND}{\isakeyword{and}}
    17 \newcommand{\isasymIS}{\isakeyword{is}}
    18 \newcommand{\isasymWHERE}{\isakeyword{where}}
    19 \newcommand{\isasymBEGIN}{\isakeyword{begin}}
    20 \newcommand{\isasymIMPORTS}{\isakeyword{imports}}
    21 \newcommand{\isasymIN}{\isakeyword{in}}
    22 \newcommand{\isasymSTRUCTURE}{\isakeyword{structure}}