Releases: ES-Alexander/LaTeX-templates
Honours Thesis (cleanup)
Added thesis template to TheDocs, and included relevant extra features.
For an example of the results, have a look at my public thesis repo, https://github.com/ES-Alexander/interactive-projectivity-open
Honours Thesis Beta
A new template has joined the crew - honours thesis I'm looking at you!
The template is still in beta form at the moment, isn't yet in TheDocs, and has some known issues, but it's definitely a start.
Assignment Display (Minor Update)
Added automatic spacing between questions in the assignment template, as well as a small space between each question and its respective answer.
Also provided an example of how to change page sizes/shapes in an assignment, and mentioned the process in TheDocs.pdf.
Compatibility Update
Replaced \deflength command (used for margin definitions and internal setup) with \defineLength for compatibility with bibLaTeX packages (\deflength was clashing).
Also fixed a setup issue with MinutesTemplate2.tex that was stopping compiling.
Minor Update
Updated \python
command to fit 80 characters to a full line.
Updated AssignmentTemplate2.tex to use absolute filepath input for the setup file, in line with the other template files.
TheDocs Release
Warning: this release is not backwards compatible! It removes several inconsistencies and improves the functionality of definitions defined prior to this release, which could cause issues if the new templates are compiled with old documents.
Major overhaul of template documentation, combining comprehensive documentation (and a basic LaTeX tutorial) into the new document 'TheDocs.pdf'.
Significant extra functionality has been added to tables to make them much easier to use, and considerably simpler and more powerful.
Minor Update
Added \plabel[prefix]{label}
command for prefixed labels (mostly used internally), and \multifig{subfigures (using \subfig)}{caption}
command for easier subfigures.
Beta Release of V2
WARNING: This release is not backwards-compatible due to modifications of pre-existing referencing commands.
Introducing a modified referencing system and simplified basic table functionality.
File Inclusion
Changed the default setup file inclusions to be absolute referenced rather than relative. This means the repo can be stored in one location and only the template files and image/code folders need to be duplicated and moved.
This presently must be set up manually - please update the file-paths as appropriate when you clone/download the repo, as the location of your LaTeX templates folder will likely not be the same as mine.
Labels/References
Sections, figures, code, and tables are now auto-labelled, and are referenced by their names/caption names using specific referencing commands. For figures and code where a file is inputted, references are by filename rather than caption.
Normal Referencing
\tabref{table_caption}
--> Table N
\figref{figure_filename}
--> Figure N
\figref[s]{subfigure_filename}
--> Figure a)
\secref{section_name}
--> Section N
\secref[s]{subsection_name}
--> Section N.M
\secref[ss]{subsubsection_name}
--> Section N.M.L
\coderef{listing_caption}
--> Listing N (if typed inputted code)
\coderef{listing_filename}
--> Listing N (if inputted code file using \python or \matlab)
\appref{appendix_name}
--> Appendix A
\appref[s]{appendix_subsection_name}
--> Appendix A.B
\appref[ss]{appendix_subsubsection_name}
--> Appendix A.B.C
Just The Number
\reftab{table_caption}
--> N
\reffig{figure_filename}
--> N
\reffig[s]{subfigure_filename}
--> a)
\refsec{section_name}
--> N
\refsec[s]{subsection_name}
--> N.M
\refsec[ss]{subsubsection_name}
--> N.M.L
\refcode{listing_caption}
--> N (if typed inputted code)
\refcode{listing_filename}
--> N (if inputted code file using \python or \matlab)
\refapp{appendix_name}
--> A
\refapp[s]{appendix_subsection_name}
--> A.B
\refapp[ss]{appendix_subsubsection_name}
--> A.B.C
Sections/Appendices
To achieve automatic labelling of sections and appendices, append an 'l' to the standard section commands, and an 'al' for appendix sections (e.g. \sectionl{Section Name}
instead of \section{Section Name}
, and \subsectional{Appendix Subsection}
instead of \subsection{Appendix Subsection}
).
Easier Basic Tables
The following commands have been added for simplification purposes
\easytable{Table Name}{Column Styles}{Contents}
\row
--> \\\\ \hline
\headingrow
--> \hline\rowcolor{tableHeadColour}
e.g.
\easytable{My Table}{|c|p{0.25\linewidth}|}{
\headingrow \textbf{Column 1} & \textbf{Column 2} \row
\textbf{Side Heading} & data 1 \row
\textbf{Side Heading 2} & data 2 \row
}
Beta release of v2
WARNING: This release is not backwards-compatible due to modifications of pre-existing referencing commands.
Introducing a modified referencing system and simplified basic table functionality.
Labels/References
Sections, figures, code, and tables are now auto-labelled, and are referenced by their names/caption names using specific referencing commands.
Normal Referencing
\tabref{Table Name} --> Table N
\figref{Figure Name} --> Figure N
\figref[s]{Subfigure Caption} --> Figure a)
\secref{Section Name} --> Section N
\secref[s]{Subsection Name} --> Section N.M
\secref[ss]{Subsubsection Name} --> Section N.M.L
\coderef{Listing Caption} --> Listing N
\appref{Appendix Name} --> Appendix A
\appref[s]{Appendix Subsection} --> Appendix A.B
\appref[ss]{Appendix Subsubsection} --> Appendix A.B.C
Just The Number
\reftab{Table Name} --> N
\reffig{Figure Caption} --> N
\reffig[s]{Subfigure Caption} --> a)
\refsec{Section Name} --> N
\refsec[s]{Subsection Name} --> N.M
\refsec[ss]{Subsubsection Name} --> N.M.L
\refcode{Listing Caption} --> N
\refapp{Appendix Name} --> A
\refapp[s]{Appendix Subsection} --> A.B
\refapp[ss]{Appendix Subsubsection} --> A.B.C
Sections/Appendices
To achieve automatic labelling of sections and appendices, append an 'l' to the standard section commands, and an 'al' for appendix sections (e.g. \sectionl{Section Name} instead of \section{Section Name}, and \subsectional{Appendix Subsection} instead of \subsection{Appendix Subsection}).
Easier Basic Tables
The following commands have been added for simplification purposes
\easytable{Table Name}{Column Styles}{Contents}
\row --> \\ \hline
\headingrow --> \hline\rowcolor{tableHeadColour}
e.g.
\easytable{My Table}{|c|p{0.25\linewidth}|}{
\headingrow \textbf{Column 1} & \textbf{Column 2} \row
\textbf{Side Heading} & data 1 \row
\textbf{Side Heading 2} & data 2 \row
}
Minor Bug Fix - Code Input
Bug fix to remove issues with \python command failing.