mirror of
https://github.com/NotXia/unibo-ai-notes.git
synced 2025-12-15 02:52:22 +01:00
Add unified front page
This commit is contained in:
@ -43,9 +43,9 @@
|
|||||||
\lstset{language=Python}
|
\lstset{language=Python}
|
||||||
|
|
||||||
\NewDocumentEnvironment{descriptionlist}{}{%
|
\NewDocumentEnvironment{descriptionlist}{}{%
|
||||||
\begin{description}[labelindent=1em]
|
\begin{description}[labelindent=1em]
|
||||||
}{
|
}{
|
||||||
\end{description}%
|
\end{description}%
|
||||||
}
|
}
|
||||||
\setlength{\parindent}{0pt}
|
\setlength{\parindent}{0pt}
|
||||||
\renewcommand*{\marginfont}{\color{gray}\footnotesize}
|
\renewcommand*{\marginfont}{\color{gray}\footnotesize}
|
||||||
@ -61,3 +61,33 @@
|
|||||||
\renewcommand{\vec}[1]{{\bm{#1}}}
|
\renewcommand{\vec}[1]{{\bm{#1}}}
|
||||||
\newcommand{\nullvec}[0]{\bar{\vec{0}}}
|
\newcommand{\nullvec}[0]{\bar{\vec{0}}}
|
||||||
\newcommand{\matr}[1]{{\bm{#1}}}
|
\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}
|
||||||
|
}
|
||||||
@ -4,29 +4,10 @@
|
|||||||
\date{2023 -- 2024}
|
\date{2023 -- 2024}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\newgeometry{margin=3cm}
|
|
||||||
\makeatletter
|
|
||||||
\begin{titlepage}
|
|
||||||
\centering
|
|
||||||
\vspace*{\fill}
|
|
||||||
\huge
|
|
||||||
\textbf{\@title}
|
|
||||||
\vspace*{\fill}
|
|
||||||
|
|
||||||
\Large
|
\makenotesfront
|
||||||
Academic Year \@date\\
|
|
||||||
Alma Mater Studiorum $\cdot$ University of Bologna
|
|
||||||
\vspace*{1cm}
|
|
||||||
\end{titlepage}
|
|
||||||
\makeatother
|
|
||||||
\pagenumbering{roman}
|
|
||||||
\tableofcontents
|
|
||||||
\restoregeometry
|
|
||||||
\newpage
|
|
||||||
\pagenumbering{arabic}
|
|
||||||
|
|
||||||
\input{sections/_intro.tex}
|
\input{sections/_intro.tex}
|
||||||
\input{sections/_search.tex}
|
\input{sections/_search.tex}
|
||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
@ -4,31 +4,12 @@
|
|||||||
\date{2023 -- 2024}
|
\date{2023 -- 2024}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
\newgeometry{margin=3cm}
|
|
||||||
\makeatletter
|
\makenotesfront
|
||||||
\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}
|
|
||||||
|
|
||||||
\input{sections/_finite_numbers.tex}
|
\input{sections/_finite_numbers.tex}
|
||||||
\input{sections/_linear_algebra.tex}
|
\input{sections/_linear_algebra.tex}
|
||||||
\input{sections/_linear_systems.tex}
|
\input{sections/_linear_systems.tex}
|
||||||
\input{sections/_matrix_decomp.tex}
|
\input{sections/_matrix_decomp.tex}
|
||||||
|
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
Reference in New Issue
Block a user