equal
deleted
inserted
replaced
48 |
48 |
49 \newcommand\rmindex[1]{{#1}\index{#1}\@} |
49 \newcommand\rmindex[1]{{#1}\index{#1}\@} |
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 %Commented-out the original versions to see what the index looks like without them. |
54 \newcommand{\ttindexboldpos}[2]{\texttt{#1}\index{#2@\texttt{#1}|bold}\@} |
54 % In any event, they need to use \isa or \protect\isa rather than \texttt. |
|
55 %%\newcommand{\indexboldpos}[2]{#1\index{#2@#1|bold}\@} |
|
56 %%\newcommand{\ttindexboldpos}[2]{\texttt{#1}\index{#2@\texttt{#1}|bold}\@} |
|
57 \newcommand{\indexboldpos}[2]{#1\@} |
|
58 \newcommand{\ttindexboldpos}[2]{\isa{#1}\@} |
55 |
59 |
56 %\newtheorem{theorem}{Theorem}[section] |
60 %\newtheorem{theorem}{Theorem}[section] |
57 \newtheorem{Exercise}{Exercise}[section] |
61 \newtheorem{Exercise}{Exercise}[section] |
58 \newenvironment{exercise}{\begin{Exercise}\rm}{\end{Exercise}} |
62 \newenvironment{exercise}{\begin{Exercise}\rm}{\end{Exercise}} |
59 \newcommand{\ttlbr}{\texttt{[|}} |
63 \newcommand{\ttlbr}{\texttt{[|}} |