This is the LaTeX book template I have "created"---more like assembled XDD---for my graduation project documentation. This repository's purpose is to keep it in a functional state and to make it easier for myself to reuse it cuz I will probably forgot how I made it XDD.
main.tex
: Main file in the document; the file that you will compile.settings.tex
: Contains settings forelysium.sty
, page geometry, and title/subtitle.IDidItForTheMemes.tex
: Auto-generates memes in text form.FrontMatter.tex
: ContainsTitlePageListOfAuthors.tex
,acknowledgement.tex
,abstract.tex
,tableofcontents.tex
,listoffigures.tex
,listoftables.tex
,listoflistings.tex
, andnomenclature.tex
.MainMatter.tex
: Contains parts and chapter files.BackMatter.tex
: ContainsReferences.bib
, appendices, andColophon.tex
.- The folder
606-ShadowRealm
is for banishing ChatGPT-generated text written by your colleagues!
- Title page is not numbered.
- Rest of front matter pages are numbered using Roman numerals.
- Found in
01-FrontMatter/TitlePageListOfAuthors.tex
. - Both
\@title
and\@subtitle
can be changed insettings.tex
. - I left an example for how to fill the name/id table + the other fields.
- Found in
01-FrontMatter/acknowledgement.tex
. - Simply write what you want in whatever format you want.
- Found in
01-FrontMatter/abstract.tex
. - Simply write what you want in whatever format you want.
- It will be auto-generated for you so you do not have to worry about that.
- It will be auto-generated for you so you do not have to worry about that.
- It will be auto-generated for you so you do not have to worry about that.
- It will be auto-generated for you so you do not have to worry about that.
- Found in
01-FrontMatter/nomenclature.tex
. - Add abbreviations and symbols as shown in the example.
- Main matter and Bibliography pages are numbered using Arabic numerals.
- Appendices' pages are numbered in the format
A5
whereA
is the appendix index and5
is the page number in appendixA
. - Colophon is not numbered.
- Parts can be edited or deleted altogether. The commands to create a part in Main Matter can be found in
FrontMatter.tex
. - Adding chapters is done as shown in the example. Upon adding/deleting a chapter, make sure to keep the directory hierarchy consistent to avoid errors.
-
Code snippets can be shown with syntax highlighting for the following languages: MATLAB
CodeStyleMatlab
, CCodeStyleC
, C++CodeStyleCpp
, PythonCodeStylePython
, BashCodeStyleBash
, JSONCodeStyleJSON
, JavascriptCodeStyleJavaScript
, PHPCodeStylePHP
, XMLCodeStylePHP
. The command below is used to show a code snippet. Make sure to put the correct code style instead of the fieldCODE_STYLE
and write the code snippet location correctly.\lstinputlisting[style=CODE_STYLE, caption=DESIRED_CAPTION label=cd:label, firstline=21, lastline=69]{./CodeSnippets/example.h}
-
Hyperlinks are added using the following command:
\href{https://dudetrustme.org}{\color{blue2}CLICK HERE}.
-
Photos are added using this command. Make sure to write the photo/figure location correctly. Size can be freely adjusted using
scale
field.\begin{figure}[h!] \centering \includegraphics[scale=0.5]{./Figures/HW/powerDiagram-drawio.png} \caption{The Block Diagram for Power Management.} \label{fig:hw-power-blk1} \end{figure}
- Add your references in
bibTeX
form to the fileReferences.bib
. - Cite your added references using
\cite{ref-nickname}
. - VIMP: Make sure to NOT use an underscore in any of the labels/commands cuz it makes LaTeX go nuts.
- They can be found in
03-BackMatter
.
- Can be found in
03-BackMatter/Colophon.tex
. - It can be either a publisher info or a meme as I wrote.