Skip to content
Snippets Groups Projects
Commit d867536d authored by Fredrik Grönlund's avatar Fredrik Grönlund
Browse files

Added new sectionauthor command.

Applied to main.tex.
parent 6fdbf015
No related branches found
No related tags found
No related merge requests found
...@@ -94,3 +94,12 @@ ...@@ -94,3 +94,12 @@
{}{}{0pt}{} {}{}{0pt}{}
} }
\makeatletter
\newcommand{\sectionauthor}[1]{%
{\parindent0pt\vspace*{-5pt}%
\linespread{1.1}\large\scshape#1%
\par\nobreak\vspace*{10pt}}
\@afterheading%
}
\makeatother
...@@ -44,24 +44,31 @@ ...@@ -44,24 +44,31 @@
% \end{figure} % \end{figure}
% NOTE: Use \input when including .tex-documents on the same page. \insert causes new page % NOTE: Use \input when including .tex-documents on the same page. \insert causes new page
% NOTE: Add authors and reviewers to chapters. Used \section{title \protect\footnote{Author: NAME, Reviewer: NAME} % NOTE: Add authors and reviewers to chapters. Use \sectionauthor{Author: First Last\\Reviewer: First2 Last2}
% NOTE: Maybe add a simple dictionary with shortenings? like MCU (Main Control Unit) % NOTE: Maybe add a simple dictionary with shortenings? like MCU (Main Control Unit)
\section{Introduction} \section{Introduction}
%\sectionauthor{Author: T. Esting\\Reviewer: R. Ewing}
\input{./chapters/introduction} \input{./chapters/introduction}
\newpage \newpage
\section{Background \protect\footnote{Author: Fredrik Grönlund, Reviewer: Daniel Björk}} % Is it Mineshaft or dump shaft or what? ~Frog its mine shaft //kamal %\section{Background \protect\footnote{Author: Fredrik Grönlund, Reviewer: Daniel Björk}}
\section{Background }
\sectionauthor{Author: Fredrik Grönlund\\Reviewer: Daniel Björk}
\input{./chapters/background} \input{./chapters/background}
\newpage \newpage
\section{Specification of Requirements \protect\footnote{Author: Henrik Tjäder, Reviewer: Fredrik Grönlund}} %\section{Specification of Requirements \protect\footnote{Author: Henrik Tjäder, Reviewer: Fredrik Grönlund}}
\section{Specification of Requirements}
\sectionauthor{Author: Henrik Tjäder\\Reviewer: Fredrik Grönlund}
\input{./chapters/specs_reqs} \input{./chapters/specs_reqs}
\newpage \newpage
\section{System Design \protect\footnote{Author: Daniel Björk, Reviewer: Kamal Alkahwati}} %\section{System Design \protect\footnote{Author: Daniel Björk, Reviewer: Kamal Alkahwati}}
\section{System Design}
\sectionauthor{Author: Daniel Björk\\Reviewer: Kamal Alkahwati}
\subsection{Static Design} \subsection{Static Design}
\subsubsection{Class Diagram} \subsubsection{Class Diagram}
\begin{figure}[H] \begin{figure}[H]
...@@ -102,12 +109,15 @@ ...@@ -102,12 +109,15 @@
\newpage \newpage
% Max section % Max section
\section{Hardware \protect\footnote{Author: Max Unander, Reviewer: Lars Jonsson}} %\section{Hardware \protect\footnote{Author: Max Unander, Reviewer: Lars Jonsson}}
\section{Hardware}
\sectionauthor{Author: Max Unander\\Reviewer: Lars Jonsson}
\input{./hardware/hardware} \input{./hardware/hardware}
% Lars section % Lars section
\newpage \newpage
\section{Flight Control \protect\footnote{Author: Lars Jonsson, Reviewer: Max Unander}} \section{Flight Control}
\sectionauthor{Author: Lars Jonsson\\Reviewer: Max Unander}
\input{./control/copter_control} \input{./control/copter_control}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment