Skip to content

Commit

Permalink
Updates from Overleaf
Browse files Browse the repository at this point in the history
  • Loading branch information
dnbln committed Dec 10, 2024
1 parent 4f9348d commit d4c73a9
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 11 deletions.
9 changes: 5 additions & 4 deletions delft-hyperloop.cls
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\newcommand\@classname{delft-hyperloop}
\newcommand\@classversion{2024/12/06}
\newcommand\@classversion{2024/12/10}
\ProvidesClass{\@classname}[\@classversion\ Delft Hyperloop Document]
\newcommand\@templatelink{https://www.overleaf.com/read/xkdvnhndtwwg\#fadb5a}

Expand Down Expand Up @@ -90,6 +90,7 @@
\RequirePackage[outline]{contour}
\RequirePackage{xparse}
\RequirePackage{setspace}
\RequirePackage{multicol}

% TikZ
\RequirePackage{tikz}
Expand Down Expand Up @@ -359,7 +360,7 @@
\fancyfoot[C]{\@companyandgen}
\renewcommand\footrulewidth{0.4pt}% Line at the footer visible

\fancyhead[R]{\nouppercase{\leftmark\hfill\rightmark}}
\fancyhead[R]{\small \nouppercase{\leftmark\hfill\rightmark}}
}

\pagestyle{ournormal}
Expand All @@ -384,8 +385,8 @@
\fancyfoot[LO,RE]{\ifnotfinal{\@usefulsnippetslinks}}
\renewcommand\footrulewidth{0.4pt}% Line at the footer visible

\fancyhead[LE]{\nouppercase{\rightmark\hfill\leftmark}}
\fancyhead[RO]{\nouppercase{\leftmark\hfill\rightmark}}
\fancyhead[LE]{\small \nouppercase{\rightmark\hfill\leftmark}}
\fancyhead[RO]{\small \nouppercase{\leftmark\hfill\rightmark}}
}

\pagestyle{ournormal}
Expand Down
5 changes: 5 additions & 0 deletions rsc/changelog.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
\tichapter{Template Changelog}

\section*{10th Dec 2024} \label{sec:changelog:2024/12/10}
\begin{itemize}
\item Made the chapter and section text in the page header small.
\end{itemize}

\section*{9th Dec 2024} \label{sec:changelog:2024/12/09}
\begin{itemize}
\item Feedback has been heard: allow skipping parts of the template info \& guidelines, on a project by project basis; see the commands at the bottom of \verb|meta.tex|.
Expand Down
2 changes: 1 addition & 1 deletion rsc/guidelines.tex
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% \tichapter{Guidelines}
\tichapter{Guidelines}
\label{chapter:template-guidelines}
These guidelines aim to develop consistency in report layout, use of English, and use of \LaTeX. For any questions, remarks or suggestions on the guidelines, please contact Dinu/Pablo.

Expand Down
41 changes: 35 additions & 6 deletions rsc/useful-templates.tex
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,45 @@
\end{filecontents*}
\@defusefultemplate{Table}

\begin{filecontents*}{__useful_templates-\theusefultemplate.tex}
\end{filecontents*}
\@defusefultemplate{A3 (vertical)}
% \begin{filecontents*}{__useful_templates-\theusefultemplate.tex}
% \afterpage{
% \KOMAoptions{paper=A3,paper=landscape,pagesize}
% \recalctypearea
% % here your figure/text

% \clearpage
% \KOMAoptions{paper=A4,pagesize}

% \recalctypearea
% }
% \restoregeometry
% \end{filecontents*}
% \@defusefultemplate{A3 (vertical)}

\begin{filecontents*}{__useful_templates-\theusefultemplate.tex}
\end{filecontents*}
\@defusefultemplate{A3 (horizontal)}

% \begin{filecontents*}{__useful_templates-\theusefultemplate.tex}
% \afterpage{
% \KOMAoptions{paper=A3,paper=landscape,pagesize}
% \recalctypearea
% % here your figure/text

% \clearpage
% \KOMAoptions{paper=A4,pagesize}

% \recalctypearea
% }
% \restoregeometry
% \end{filecontents*}
% \@defusefultemplate{A3 (horizontal)}

\begin{filecontents*}{__useful_templates-\theusefultemplate.tex}
\begin{multicols}{2}
\section*{First Section}
\lipsum[1]

\section*{Second Section}
\lipsum[2]
\end{multicols}
\end{filecontents*}
\@defusefultemplate{2 columns}

0 comments on commit d4c73a9

Please sign in to comment.