lib/texinputs/isabelle.sty
changeset 9710 159469a85035
parent 9702 f23bee3c0682
child 9725 d53e4fd36448
equal deleted inserted replaced
9709:2d0ee9612ef1 9710:159469a85035
    64 \chardef\isachartilde=`\~
    64 \chardef\isachartilde=`\~
    65 
    65 
    66 
    66 
    67 % keyword and section markup
    67 % keyword and section markup
    68 
    68 
       
    69 \newcommand{\isakeywordcharunderscore}{\_}
    69 \newcommand{\isakeyword}[1]
    70 \newcommand{\isakeyword}[1]
    70 {\emph{\bf\def\isachardot{.}\def\isacharunderscore{-}%
    71 {\emph{\bf\def\isachardot{.}\def\isacharunderscore{\isakeywordcharunderscore}%
    71 \def\isacharbraceleft{\{}\def\isacharbraceright{\}}#1}}
    72 \def\isacharbraceleft{\{}\def\isacharbraceright{\}}#1}}
    72 \newcommand{\isacommand}[1]{\isakeyword{#1}}
    73 \newcommand{\isacommand}[1]{\isakeyword{#1}}
    73 
    74 
    74 \newcommand{\isamarkupheader}[1]{\section{#1}}
    75 \newcommand{\isamarkupheader}[1]{\section{#1}}
    75 \newcommand{\isamarkupchapter}[1]{\chapter{#1}}
    76 \newcommand{\isamarkupchapter}[1]{\chapter{#1}}
    92 \def\isabellestyle#1{\csname isabellestyle#1\endcsname}
    93 \def\isabellestyle#1{\csname isabellestyle#1\endcsname}
    93 
    94 
    94 \newcommand{\isabellestyleit}{%
    95 \newcommand{\isabellestyleit}{%
    95 \renewcommand{\isastyle}{\small\it}%
    96 \renewcommand{\isastyle}{\small\it}%
    96 \renewcommand{\isastyleminor}{\it}%
    97 \renewcommand{\isastyleminor}{\it}%
       
    98 \renewcommand{\isakeywordcharunderscore}{-}%
    97 %\renewcommand{\isadigit}[1]{\emph{$##1$}}
    99 %\renewcommand{\isadigit}[1]{\emph{$##1$}}
    98 \renewcommand{\isacharbang}{\emph{$!$}}%
   100 \renewcommand{\isacharbang}{\emph{$!$}}%
    99 \renewcommand{\isachardoublequote}{}%
   101 \renewcommand{\isachardoublequote}{}%
   100 \renewcommand{\isacharhash}{\emph{$\#$}}%
   102 \renewcommand{\isacharhash}{\emph{$\#$}}%
   101 \renewcommand{\isachardollar}{\emph{$\$$}}%
   103 \renewcommand{\isachardollar}{\emph{$\$$}}%