From 44cd345519a8aa15efc1083b6cedf98092d68803 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Sat, 12 Feb 2022 12:41:49 +0100 Subject: [PATCH] Use chapters instead of sections for thesis templates --- {{cookiecutter.paper_repo_name}}/main.tex | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/{{cookiecutter.paper_repo_name}}/main.tex b/{{cookiecutter.paper_repo_name}}/main.tex index 6a06291..69b6492 100644 --- a/{{cookiecutter.paper_repo_name}}/main.tex +++ b/{{cookiecutter.paper_repo_name}}/main.tex @@ -1,5 +1,9 @@ +{% if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' %} \section{Main} +{% else %} +\chapter{Main} +{% endif %} This is a~sample paper~\cite{gonito2016}. See the experiments described \bycite{gonito2016}. @@ -7,11 +11,20 @@ See the experiments described \bycite{gonito2016}. Please put your content here. - +{% if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' %} \subsection{Gonito} +{% else %} +\section{Main} +{% endif %} Gonito submission should be referenced like this \gonitoscore{6ab4979e4629c5559feba452b7ca74c0cac89ebb}% \footnote{Reference codes to repositories stored at Gonito.net~\cite{gonito2016} are given in curly brackets. Such a~repository may be also accessed by going to \url{http://gonito.net/q} and entering the code there.} + +{% if cookiecutter.latex_template != 'pw-thesis' and cookiecutter.latex_template != 'amu' %} +\section{Yet another section} +{% else %} +\chapter{Yet another chapter} +{% endif %}