\documentclass[12pt, oneside]{article}
\usepackage{setup}
\usepackage{import}
% ! change this line to wherever shortcuts file is located, or delete
\import{/users/louismeunier/Documents/templates/}{shortcuts.sty}
% ! Title page settings
\newcommand{\pageauthor}{Some Person}
\newcommand{\pagetitle}{Some Course}
\newcommand{\pagesubtitle}{Some Course Code}
\newcommand{\pagedescription}{Some Description}
\newcommand{\pagesemester}{Some Semester }
\newcommand{\pageprofessor}{Some Professor}
\begin{document}
\thetitle
\setstretch{1.3}
{\scshape\tableofcontents}\newpage
\pagestyle{mypage}
\newgeometry{margin=0.3in, top=0.4in, bottom=0.5in, marginparwidth=1.4in, marginparsep=0.3in}
\parskip=0.6em
% creates references for every section and subsection
\let\origsection=\section
\let\origsubsection=\subsection
\renewcommand\section[1]{\origsection{#1}\label{\thesection}}
\renewcommand\subsection[1]{\origsubsection{#1}\label{\thesubsection}}
% ! import parts here
\foreach \i in {00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, ..., 99} {%
\edef\FileName{parts/\i.tex}%
\IfFileExists{\FileName}{%
\input{\FileName}
\begin{center}
\hrule
\hfill\textit{\tiny{$\hookrightarrow\,$Lecture \i; Last Updated: \input{|"date -r "\FileName}}}
\end{center}
}
}
\newpage
% \setstretch{1.5}
% \pagestyle{mypage}
% \listoftheorems[ignore={remark}, title={\section{List of Theorems}}, swapnumber]
\end{document}
PDF Preview
Create an account to compile and preview