Skip to content

Commit

Permalink
- Changed Tex Live version from 2020 to 2021
Browse files Browse the repository at this point in the history
- Fixed some issues stemming from that (in particular siunitx and babel/biblatex)

- Changed Cover Page + Default Pages
  • Loading branch information
abettini99 committed Dec 3, 2021
1 parent 17ad17f commit 18c72af
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 13 deletions.
18 changes: 14 additions & 4 deletions Chapters/00Abstract.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
\renewcommand{\abstractname}{\vspace{-\baselineskip}} % https://tex.stackexchange.com/questions/42482/remove-abstract-title-from-abstract
\begin{abstract} \bfseries
\chapter*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}

These instructions give you guidelines for preparing papers for AIAA Technical Papers using \LaTeX{}. Define all symbols used in the abstract. Do not cite references in the abstract. The footnote on the first page should list the Job Title and AIAA Member Grade for each author, if known Authors do not have to be AIAA members.
\end{abstract}
Consider \SI{10}{\kilogram} of material.

\begin{equation}
\SI{1}{\kilogram\per\second} + \SI{3}{\kilogram\per\second} = \SI{4}{\kilogram\per\second}
\end{equation}


% \renewcommand{\abstractname}{\vspace{-\baselineskip}} % https://tex.stackexchange.com/questions/42482/remove-abstract-title-from-abstract
% \begin{abstract} \bfseries

% These instructions give you guidelines for preparing papers for AIAA Technical Papers using \LaTeX{}. Define all symbols used in the abstract. Do not cite references in the abstract. The footnote on the first page should list the Job Title and AIAA Member Grade for each author, if known Authors do not have to be AIAA members.
% \end{abstract}
4 changes: 4 additions & 0 deletions Chapters/00Preface.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}

These instructions give you guidelines for preparing papers for AIAA Technical Papers using \LaTeX{}. Define all symbols used in the abstract. Do not cite references in the abstract. The footnote on the first page should list the Job Title and AIAA Member Grade for each author, if known Authors do not have to be AIAA members.
21 changes: 21 additions & 0 deletions Chapters/02Introduction.tex
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,25 @@ \subsection{Continued float}
\end{subfigure}
\caption{graphs (continued float)}
\label{fig:graph_contfloat}
\end{figure}

\subsubsection{Aligned graphs}

\begin{figure}[H]
\begin{tabular}{@{}p{0.485\textwidth}p{0.485\textwidth}@{}}
\raisebox{-\height}{\includegraphics[width=1.0\linewidth]{Images/graph.jpg}}&
\raisebox{-\height}{\includegraphics[width=1.0\linewidth]{Images/graph.jpg}}\\
\caption{graph}\label{fig:graph9}&
\caption{graph graph graph graph graph graph graph graph graph graph graph graph graph graph graph graph}\label{fig:graph10}
\end{tabular}
\end{figure}

\subsubsection{Aligned repeated graphs}
\begin{figure}[H]
\begin{tabular}{@{}p{0.485\textwidth}p{0.485\textwidth}@{}}
\raisebox{-\height}{\includegraphics[width=1.0\linewidth]{Images/graph.jpg}}&
\raisebox{-\height}{\includegraphics[width=1.0\linewidth]{Images/graph.jpg}}\\
\repeatcaption{fig:graph9}{graph}&
\repeatcaption{fig:graph10}{graph graph graph graph graph graph graph graph graph graph graph graph graph graph graph graph }
\end{tabular}
\end{figure}
18 changes: 15 additions & 3 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,15 @@
% https://tex.stackexchange.com/questions/142551/how-to-put-therefore-and-implies-symbols
\newcommand{\therefore}{\dot{.\hspace{.055in}.}\hspace{.2in}}

%% Using the same figure twice with no new number
% https://tex.stackexchange.com/questions/200211/using-the-same-figure-twice-with-no-new-number
\newcommand{\repeatcaption}[2]{%
\renewcommand{\thefigure}{\ref{#1}}%
\captionsetup{list=no}%
\caption{#2 (repeated from page \pageref{#1})}%
\addtocounter{figure}{-1}% So that next figure after the repeat gets the right number.
}

% Create delimiter environments (e.g floor(t) produces ⌊t⌋)
% --------------------
% https://tex.stackexchange.com/questions/118173/how-to-write-ceil-and-floor-in-latex
Expand All @@ -212,12 +221,15 @@
\openany % clears a single page instead of double for chapters % https://stackoverflow.com/questions/491904/how-do-i-remove-blank-pages-coming-between-two-chapters-in-appendix
\raggedbottom % makes text stop getting additional whitespace trying to stretch text vertically
\begin{document}
\sisetup{ detect-family,
detect-weight,
math-rm = \mathrm }
% \sisetup{ detect-family,
% detect-weight,
% math-rm = \mathrm }

\input{titlepage.tex}

\input{Chapters/00Abstract.tex}
\input{Chapters/00Preface.tex}

\newpage
\pagestyle{plain}
\setcounter{tocdepth}{3}
Expand Down
2 changes: 1 addition & 1 deletion personal.cls
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@

% \RequirePackage{minted} % https://ctan.org/pkg/minted %% Use this for code.
\if@american
\RequirePackage[USenglish]{babel} % https://ctan.org/pkg/babel %% manages culturally-determined typographical (and other) rules for a wide range of languages
\RequirePackage[american]{babel} % https://ctan.org/pkg/babel %% manages culturally-determined typographical (and other) rules for a wide range of languages
\RequirePackage[style=american]{csquotes} % https://ctan.org/pkg/csquotes %% provides advanced facilities for inline and display quotations, check their documentation to find out how to quote properly
\RequirePackage[USenglish,style=iso]{datetime2} % https://www.ctan.org/pkg/datetime2 %% This package provides commands for formatting dates, times and time zones and redefines \today to use the same formatting style. By default uses ISO formatting described in ISO 8601 and DIN 5008.
\fi
Expand Down
13 changes: 8 additions & 5 deletions titlepage.tex
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\thispagestyle{empty}

\HRule
\begin{center}
{\Large Delft University of Technology} \\
\vspace{3mm}
\vspace{5mm}
{\Huge\textbf{Aileron Critical Load Case Simulation Plan}} \\
\vspace{3mm}
\textit{Delft University of Technology, Delft, South Holland, 2628 CD}
\vspace{5mm}
\end{center}
\vspace*{-0.8em}
\HRule

\vspace*{1em}
\begin{center}
{\Large Technische Universiteit Delft} \\\textit{Mekelweg 5, 2628 CD Delft, Netherlands} \\\vspace{3mm}
{\Large Deutsches Zentrum für Luft- und Raumfahrt} \\\textit{Bunsenstraße 10, 37073 Göttingen, Germany} \\
\end{center}

\begin{alignat*}{3}
&\text{Andrea Bettini}\footref{fref:AndreaAffiliation} &\quad& 0000000 \\
&\text{Andrea Bettini}\footref{fref:AndreaAffiliation} &\quad& 0000000 \\
Expand Down

0 comments on commit 18c72af

Please sign in to comment.