Code: Select all
\newcommand*{\keyword}[1]{#1\index{#1}}
Code: Select all
\newcommand*{\keyword}[2][]{#2\index{#2#1}}
Code: Select all
Here I mention \keyword{term}. Here is the principle definition of \keyword[|textbf]{term}.
Nicola Talbot
Code: Select all
\newcommand*{\keyword}[1]{#1\index{#1}}
Code: Select all
\newcommand*{\keyword}[2][]{#2\index{#2#1}}
Code: Select all
Here I mention \keyword{term}. Here is the principle definition of \keyword[|textbf]{term}.
Code: Select all
makeindex -s mcgillnopage.ist abbr
Code: Select all
\documentclass[12pt,Bold,letterpaper,TexShade]{mcgilletdclass}
%various \usepackages
\makeindex[abbr]
\begin{document}
\maketitle%
\begin{romanPagenumber}{2}%
%various frontmatter
\tableofcontents %
\listoftables %
\listoffigures %
\printindex[abbr]{List of Symbols and Abbreviations}{List of Symbols and Abbreviations}
\end{romanPagenumber}
%mainmatter
\index[abbr]{EG@example}
\end{document}
This line goes into the batch file.diamondsteed wrote:[...] Do I put it in the .bat file? Or somewhere in the .tex file (see stripped down version below)? [...]
Thanks!localghost wrote:This line goes into the batch file.diamondsteed wrote:[...] Do I put it in the .bat file? Or somewhere in the .tex file (see stripped down version below)? [...]
Best regards and welcome to the board
Thorsten¹