Add unified front page

This commit is contained in:
2023-09-30 14:54:58 +02:00
parent 34906dd824
commit 854605c5ff
3 changed files with 35 additions and 43 deletions

View File

@ -43,9 +43,9 @@
\lstset{language=Python}
\NewDocumentEnvironment{descriptionlist}{}{%
\begin{description}[labelindent=1em]
\begin{description}[labelindent=1em]
}{
\end{description}%
\end{description}%
}
\setlength{\parindent}{0pt}
\renewcommand*{\marginfont}{\color{gray}\footnotesize}
@ -61,3 +61,33 @@
\renewcommand{\vec}[1]{{\bm{#1}}}
\newcommand{\nullvec}[0]{\bar{\vec{0}}}
\newcommand{\matr}[1]{{\bm{#1}}}
\renewcommand*{\maketitle}{%
\begin{titlepage}
\newgeometry{margin=3cm}
\centering
\vspace*{\fill}
\huge
\textbf{\@title}
\vspace*{\fill}
\Large
Academic Year \@date\\
Alma Mater Studiorum $\cdot$ University of Bologna
\vspace*{1cm}
\restoregeometry
\end{titlepage}
\newpage
}
\newcommand*{\makenotesfront}{%
\newgeometry{margin=3cm}
\maketitle
\pagenumbering{roman}
\tableofcontents
\restoregeometry
\newpage
\pagenumbering{arabic}
}

View File

@ -4,29 +4,10 @@
\date{2023 -- 2024}
\begin{document}
\newgeometry{margin=3cm}
\makeatletter
\begin{titlepage}
\centering
\vspace*{\fill}
\huge
\textbf{\@title}
\vspace*{\fill}
\Large
Academic Year \@date\\
Alma Mater Studiorum $\cdot$ University of Bologna
\vspace*{1cm}
\end{titlepage}
\makeatother
\pagenumbering{roman}
\tableofcontents
\restoregeometry
\newpage
\pagenumbering{arabic}
\makenotesfront
\input{sections/_intro.tex}
\input{sections/_search.tex}
\end{document}

View File

@ -4,31 +4,12 @@
\date{2023 -- 2024}
\begin{document}
\newgeometry{margin=3cm}
\makeatletter
\begin{titlepage}
\centering
\vspace*{\fill}
\huge
\textbf{\@title}
\vspace*{\fill}
\Large
Academic Year \@date\\
Alma Mater Studiorum $\cdot$ University of Bologna
\vspace*{1cm}
\end{titlepage}
\makeatother
\pagenumbering{roman}
\tableofcontents
\restoregeometry
\newpage
\pagenumbering{arabic}
\makenotesfront
\input{sections/_finite_numbers.tex}
\input{sections/_linear_algebra.tex}
\input{sections/_linear_systems.tex}
\input{sections/_matrix_decomp.tex}
\end{document}