Skip to content
Snippets Groups Projects
Unverified Commit 6f09299f authored by Malin Freeborn's avatar Malin Freeborn
Browse files

cast spell index

parent 2a6138ad
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
\RequirePackage[copies]{contour}
\RequirePackage[acronym,symbols]{glossaries}
\setacronymstyle{short-long-desc}
\RequirePackage{imakeidx}% for spell summaries
\RequirePackage{glossary-mcols}
\RequirePackage{glossaries-extra}
\setabbreviationstyle[acronym]{long-short-sc-desc}
......@@ -718,6 +719,8 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
%%%%%%%%%%%%%%%%%%%% LAYOUT %%%%%%%%%%%%%%%%%%%%
\makeindex
\makeindex[name=spells,title={Spell Summaries},columns=2]
\raggedbottom
% Make floats hug the text.
......@@ -770,7 +773,8 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
}
\newcommand{\spell}[4]{
\subsubsection[#1: #4]{#1}
\index[spells]{#1: #4}
\subsubsection{#1}
{\it Type: #2, Skill: #3}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment