doc-src/TutorialI/tutorial.sty
changeset 11428 332347b9b942
parent 11422 a3487304489a
child 11456 7eb63f63e6c6
equal deleted inserted replaced
11427:3ed58bbcf4bd 11428:332347b9b942
    31 
    31 
    32 \newcommand\tdx[1]{\isa{#1}\index{#1@\protect\isa{#1} (theorem)}}
    32 \newcommand\tdx[1]{\isa{#1}\index{#1@\protect\isa{#1} (theorem)}}
    33 \newcommand\tdxbold[1]{\isa{#1}\index{#1@\protect\isa{#1} (theorem)|bold}}
    33 \newcommand\tdxbold[1]{\isa{#1}\index{#1@\protect\isa{#1} (theorem)|bold}}
    34 
    34 
    35 \newcommand\cldx[1]{\isa{#1}\index{#1@\protect\isa{#1} (class)}}
    35 \newcommand\cldx[1]{\isa{#1}\index{#1@\protect\isa{#1} (class)}}
    36 \newcommand\tydx[1]{\textit{#1}\index{#1@{\textit{#1}} (type)}}
    36 \newcommand\tydx[1]{\textit{#1}\index{#1@\protect\isa{#1} (type)}}
    37 \newcommand\thydx[1]{\isa{#1}\index{#1@\protect\isa{#1} (theory)}}
    37 \newcommand\thydx[1]{\isa{#1}\index{#1@\protect\isa{#1} (theory)}}
    38 
    38 
    39 \newcommand\attrdx[1]{\isa{#1}\index{#1@\protect\isa{#1} (attribute)}}
    39 \newcommand\attrdx[1]{\isa{#1}\index{#1@\protect\isa{#1} (attribute)}}
    40 \newcommand\commdx[1]{\isacommand{#1}\index{#1@\protect\isacommand{#1}
    40 \newcommand\commdx[1]{\isacommand{#1}\index{#1@\protect\isacommand{#1}
    41 (command)}}
    41 (command)}}
    50 \newcommand\ttindex[1]{\texttt{#1}\index{#1@\texttt{#1}}\@}
    50 \newcommand\ttindex[1]{\texttt{#1}\index{#1@\texttt{#1}}\@}
    51 \newcommand\ttindexbold[1]{\texttt{#1}\index{#1@\texttt{#1}|bold}\@}
    51 \newcommand\ttindexbold[1]{\texttt{#1}\index{#1@\texttt{#1}|bold}\@}
    52 
    52 
    53 \newcommand{\indexboldpos}[2]{#1\index{#2@#1|bold}\@}
    53 \newcommand{\indexboldpos}[2]{#1\index{#2@#1|bold}\@}
    54 \newcommand{\ttindexboldpos}[2]{\texttt{#1}\index{#2@\texttt{#1}|bold}\@}
    54 \newcommand{\ttindexboldpos}[2]{\texttt{#1}\index{#2@\texttt{#1}|bold}\@}
    55 \newcommand{\isaindexbold}[1]{\isa{#1}\index{*#1|bold}\@}
       
    56 \newcommand{\isaindex}[1]{\isa{#1}\index{*#1}\@}
       
    57 
    55 
    58 %\newtheorem{theorem}{Theorem}[section]
    56 %\newtheorem{theorem}{Theorem}[section]
    59 \newtheorem{Exercise}{Exercise}[section]
    57 \newtheorem{Exercise}{Exercise}[section]
    60 \newenvironment{exercise}{\begin{Exercise}\rm}{\end{Exercise}}
    58 \newenvironment{exercise}{\begin{Exercise}\rm}{\end{Exercise}}
    61 \newcommand{\ttlbr}{\texttt{[|}}
    59 \newcommand{\ttlbr}{\texttt{[|}}