\beginlongtable \hline \multicolumn2\textbf\textcolormagiccolor✦ Basic Incantations ✦ \ \hline \texttt{\textbackslash section{}} & Create a new dungeon level (section). \ \texttt{\textbackslash subsection{}} & A smaller corridor. \ \texttt{\textbackslash emph{}} & \emphEmphasize — like whispering a clue. \ \texttt{\textbackslash textbf{}} & \textbfBold — strike with certainty. \ \texttt{\textbackslash url{}} & Portal to another plane (hyperlink). \ \hline \endlongtable
\subsectionThe Most Dangerous Spell \texttt\textbackslash begindocument and \texttt\textbackslash enddocument — the entry and exit of the dungeon. \textcolortrapcolor\textbfWARNING: Forgetting \texttt\textbackslash enddocument traps you in an infinite loop.
\beginenumerate[(i)] \item \textbfSpells — commands that shape reality. \item \textbfRooms — environments that contain your party. \item \textbfArtifacts — packages of ancient power. \endenumerate
\sectionTreasure (Useful Packages)
\begincenter \textit“He who masters the backslash controls the dungeon.” \endcenter
\sectionThe Final Boss: \textttOverfull \textbackslash hbox
\sectionLegendary Advice
Summon these artifacts at the start of your journey (\texttt\textbackslash usepackagename):
\beginitemize \item \textttgeometry — reshape the dungeon walls (margins). \item \textttgraphicx — summon images with \texttt\textbackslash includegraphics. \item \textttamsmath — master-level math spells. \item \texttthyperref — create portals (clickable links). \item \textttxcolor — color your spells and traps. \enditemize
\textbfStep 2 — Compile (run \textttpdflatex dungeon.tex) latex dungeon guide
You stand before the — a labyrinth of logic, formatting, and hidden traps. This guide grants you three essential tools:
\sectionDungeon Walkthrough: Your First Steps
Different rooms protect you from different threats. If errors appear
\textbfStep 3 — If you see a PDF, you live. If errors appear, fight the monsters (see Section 4).