summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Liu <joshua.liu@sourceobby.com>2026-02-12 21:40:31 -0500
committerJoshua Liu <joshua.liu@sourceobby.com>2026-02-12 21:42:27 -0500
commitce413964acd5b267c1f086f02b8ab7eab3e2a565 (patch)
treed5c9c4b9e3118c3d3b06f18b1a87666b475e0d9a
parent3f11ee4437df050900e870abb12f044ab3b614a8 (diff)
feat: adding code for making code boxes as well as adding line to autogenerate a table of contentsmaster
-rw-r--r--template_Notes.tex17
1 files changed, 17 insertions, 0 deletions
diff --git a/template_Notes.tex b/template_Notes.tex
index 4a81891..d5a3eeb 100644
--- a/template_Notes.tex
+++ b/template_Notes.tex
@@ -42,6 +42,22 @@
} % setting global options for tcolorbox
\makeatletter
+\lstset{frame=tb,
+ language=Java,
+ aboveskip=3mm,
+ belowskip=3mm,
+ showstringspaces=false,
+ columns=flexible,
+ basicstyle={\small\ttfamily},
+ numbers=none,
+ numberstyle=\tiny\color{gray},
+ keywordstyle=\color{blue},
+ commentstyle=\color{dkgreen},
+ stringstyle=\color{mauve},
+ breaklines=true,
+ breakatwhitespace=true,
+ tabsize=3
+}
%My Custom Commands
\newcommand{\mnewline}{\newline\newline\newline}
@@ -137,4 +153,5 @@ includefoot=true,top=19mm,nohead,footskip=12mm,bottom=6mm]{geometry}
{\bf Insert Unit Name here}
\end{center}
\end{TitleBox}
+ \tableofcontents
\end{document}