2025-05-19: Small updates

This commit is contained in:
Moussouni, Yaël
2025-05-19 12:41:39 +02:00
parent 75a3639f02
commit 91f2b88c55
3 changed files with 20 additions and 5 deletions

View File

@@ -65,6 +65,10 @@
\newif\ifdark
\newif\ifbright
\newlength\varparindent
\newlength\varparskip
\input{src/common_palette.tex}
% Options

View File

@@ -51,17 +51,26 @@
\newcommand{\setHeadBottomRight}[1]{\def\yii@headbottomright{{#1}}}
% Title page
\DeclareDocumentCommand\shorttitle{}{
\setlength\varparindent{\parindent}
\setlength\parindent{0em}
\iftwocolumn
\begin{strip}
\vspace*{-2\baselineskip}
\maketitle
\end{strip}
\else
\maketitle
\fi
\setlength\parindent{\varparindent}
}
\DeclareDocumentCommand\longtitle{s o m}{
\setlength\varparindent{\parindent}
\setlength\varparskip{\parskip}
\setlength\parindent{0em}
\setlength\parskip{0em}
\iftwocolumn
\onecolumn
\fi
@@ -81,10 +90,8 @@
{\LARGE\noindent\yii@subtitle}
\vspace*{1cm}
{\large\noindent\yii@author}
{\large\noindent\yii@institution}
{\large\noindent\yii@author}\\
{\large\noindent\yii@institution}\\
{\large\noindent\yii@division}
\vspace*{1cm}
@@ -104,5 +111,7 @@
\iftwocolumn
\twocolumn
\fi
\setlength\parindent{\varparindent}
\setlength\parskip{\varparskip}
}

View File

@@ -78,12 +78,14 @@
\DeclareOption{onecolumn}{
\geometry{top=3cm, bottom=3cm, left=3cm, right=3cm, headheight=1cm, headsep=0.5cm}
\setlength\parindent{0cm} % No paragraph indent
\addtolength\parskip{\bigskipamount} % Make bigskip at each new paragraph
\setlength\parskip{\bigskipamount} % Make bigskip at each new paragraph
\twocolumnfalse
}
\DeclareOption{twocolumn}{
\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm, headheight=1cm, headsep=0.5cm}
\setlength\parindent{1em}
\setlength\parskip{0cm}
\twocolumntrue
}