From e056dcb08e078514b8a717d7926dccf5701a3f19 Mon Sep 17 00:00:00 2001 From: Malin Freeborn <malinfreeborn@tutamail.com> Date: Tue, 24 Nov 2020 11:02:26 +0100 Subject: [PATCH] automatic spell enhancement indexing --- preamble.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preamble.tex b/preamble.tex index 8e509aee..c4eb7c75 100644 --- a/preamble.tex +++ b/preamble.tex @@ -237,7 +237,7 @@ bookmarks=true]% \newcommand{\sphere}[1]{\setcounter{spelllevel}{0}\renewcommand{\currentsphere}{#1}\index{#1}\section{\currentsphere}} \newcommand{\spelllevel}{\addtocounter{spelllevel}{1}% \subsection{\currentsphere~ Level \arabic{spelllevel}}} -\newcommand{\enhancement}[3]{\paragraph[(#1) #2: #3]{(#1) Enhancement -- #2:}} +\newcommand{\enhancement}[3]{\paragraph[(#1) #2: #3]{(#1) Enhancement -- #2:}\index{Enhancement!#2}} \newcommand{\magicitem}[7]{\vspace{2em}\needspace{4em}\noindent\textbf{#1} \index{Magical Item!#1} -- GitLab