doc-src/isar.sty
 author blanchet Fri Apr 30 09:36:45 2010 +0200 (2010-04-30) changeset 36569 3a29eb7606c3 parent 29727 cda1fb36a082 child 48602 342ca8f3197b permissions -rw-r--r--
added "no_atp" for theorems that are automatically used or included by Sledgehammer when appropriate (about combinators and fequal)
     1 \usepackage{ifthen}

     2

     3 \newcommand{\indexdef}[3]%

     4 {\ifthenelse{\equal{}{#1}}{\index{#3 (#2)|bold}}{\index{#3 (#1\ #2)|bold}}}

     5 \newcommand{\indexref}[3]{\ifthenelse{\equal{}{#1}}{\index{#3 (#2)}}{\index{#3 (#1\ #2)}}}

     6

     7 \newcommand{\isatt}[1]{{\def\isacharminus{-}\def\isacharunderscore{\_}\tt #1}}

     8

     9 \newcommand{\indexoutertoken}[1]{\indexdef{}{syntax}{#1}}

    10 \newcommand{\indexouternonterm}[1]{\indexdef{}{syntax}{#1}}

    11 \newcommand{\indexisarelem}[1]{\indexdef{}{element}{#1}}

    12

    13 \newcommand{\isasymAND}{\isakeyword{and}}

    14 \newcommand{\isasymIS}{\isakeyword{is}}

    15 \newcommand{\isasymWHERE}{\isakeyword{where}}

    16 \newcommand{\isasymBEGIN}{\isakeyword{begin}}

    17 \newcommand{\isasymIMPORTS}{\isakeyword{imports}}

    18 \newcommand{\isasymIN}{\isakeyword{in}}

    19 \newcommand{\isasymSTRUCTURE}{\isakeyword{structure}}

    20 \newcommand{\isasymFIXES}{\isakeyword{fixes}}

    21 \newcommand{\isasymASSUMES}{\isakeyword{assumes}}

    22 \newcommand{\isasymSHOWS}{\isakeyword{shows}}

    23 \newcommand{\isasymOBTAINS}{\isakeyword{obtains}}

    24

    25 \newcommand{\isasymASSM}{\isacommand{assm}}