doc-src/isar.sty
author huffman
Wed, 27 Aug 2008 01:27:33 +0200
changeset 28010 8312edc51969
parent 26868 60058b050c58
child 28214 1e6d71cd4bf3
permissions -rw-r--r--
add lemmas about Rats similar to those about Reals
     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{\indexoutertoken}[1]{\indexdef{}{syntax}{#1}}
    11 \newcommand{\indexouternonterm}[1]{\indexdef{}{syntax}{#1}}
    12 \newcommand{\indexisarelem}[1]{\indexdef{}{element}{#1}}
    13 
    14 \newcommand{\isasymAND}{\isakeyword{and}}
    15 \newcommand{\isasymIS}{\isakeyword{is}}
    16 \newcommand{\isasymWHERE}{\isakeyword{where}}
    17 \newcommand{\isasymBEGIN}{\isakeyword{begin}}
    18 \newcommand{\isasymIMPORTS}{\isakeyword{imports}}
    19 \newcommand{\isasymIN}{\isakeyword{in}}
    20 \newcommand{\isasymSTRUCTURE}{\isakeyword{structure}}
    21 
    22 \newcommand{\isartrans}[2]{#1 \mathbin{\,\to\,} #2}
    23 \newcommand{\isarkeep}[1]{#1 \mathbin{\,\to\,} #1}
    24 \newcommand{\isarantiq}{antiquotation}
    25 \newcommand{\isarmeth}{method}
    26 \newcommand{\isaratt}{attribute}