![lecture-notes](https://writelatex.s3.amazonaws.com/published_ver/26028.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T162134Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=03e60b0be29d9bc1721c95f72b03130aeef434ea862594356f97a1c879d2df59)
lecture-notes
Author
Ben Jones
Last Updated
2년 전
License
Creative Commons CC BY 4.0
Abstract
A template for writing lecture notes (mainly in the Mathematical Sciences) with coloured boxes
![lecture-notes](https://writelatex.s3.amazonaws.com/published_ver/26028.jpeg?X-Amz-Expires=14400&X-Amz-Date=20240630T162134Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20240630/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=03e60b0be29d9bc1721c95f72b03130aeef434ea862594356f97a1c879d2df59)
%%% https://www.overleaf.com/learn is a very good resource for mastering LaTeX
%%% These lines tell the arara program how to compile the document
%%% pdflatex builds the pdf
%%% biber builds the bibliography if you have one
% arara: pdflatex
% arara: biber
% arara: pdflatex
% arara: pdflatex
%%% the following line will tidy up all these extra files that the compiler produces
% arara: clean : {extensions:[aux,bbl,bcf,blg,glg,glo,gls,idx,ilg,ind,ist,lof,lol,lot,nlo,nls,out,ptc,toc,run.xml]}
\documentclass[a4paper, 14pt, extrafontsizes, oneside, openany, x11names]{memoir} % specifies the document class and its options
% You can change 12pt to other sizes
% The memoir class is generally used for writing reports, books, and theses but
% can make any kind of document and looks really nice
\input{preamble/packages.tex} % imports the packages.tex file from the preamble directory
\input{preamble/environments.tex} % imports the environments.tex file from the preamble directory
\input{preamble/macros.tex} % imports the macros.tex file from the preamble directory
\input{preamble/settings.tex} % imports the settings.tex file from the preamble directory
\addbibresource{bib/library.bib} % this is your list of references (you can use Zotero to organise your references and generate a bib file)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document} % starts the document
\frontmatter % formats the stuff before the main document begins
\input{preamble/titlepage.tex} % imports the titlepage.tex file from the preamble directory
\clearpage % starts a new page
\pagestyle{contents} % specifies how to format the table of contents
\tableofcontents* % produces the table of contents
\clearpage % starts a new page
\mainmatter % formats the main document
\chapter{First chapter}\label{chapter1} % begins a chapter and labels it for cross-referencing
\input{chapters/chapter1/section1.tex} % imports the section1.tex file from the chapters/chapter1 directory
\newpage
\appendix
\chapter{First appendix}\label{appendix1} % begins an appendix and labels it for cross-referencing
\backmatter % formats the stuff after the main document
\printbibliography[heading=bibintoc] % prints the bibliography and puts it in the table of contents
\end{document} % ends the document