mirror of
https://codeberg.org/Yael-II/LaTeX-Package.git
synced 2026-03-15 04:16:27 +01:00
2025-05-19: Small updates
This commit is contained in:
@@ -65,6 +65,10 @@
|
|||||||
\newif\ifdark
|
\newif\ifdark
|
||||||
\newif\ifbright
|
\newif\ifbright
|
||||||
|
|
||||||
|
\newlength\varparindent
|
||||||
|
\newlength\varparskip
|
||||||
|
|
||||||
|
|
||||||
\input{src/common_palette.tex}
|
\input{src/common_palette.tex}
|
||||||
|
|
||||||
% Options
|
% Options
|
||||||
|
|||||||
@@ -51,17 +51,26 @@
|
|||||||
\newcommand{\setHeadBottomRight}[1]{\def\yii@headbottomright{{#1}}}
|
\newcommand{\setHeadBottomRight}[1]{\def\yii@headbottomright{{#1}}}
|
||||||
|
|
||||||
% Title page
|
% Title page
|
||||||
|
|
||||||
\DeclareDocumentCommand\shorttitle{}{
|
\DeclareDocumentCommand\shorttitle{}{
|
||||||
|
\setlength\varparindent{\parindent}
|
||||||
|
\setlength\parindent{0em}
|
||||||
\iftwocolumn
|
\iftwocolumn
|
||||||
\begin{strip}
|
\begin{strip}
|
||||||
|
\vspace*{-2\baselineskip}
|
||||||
\maketitle
|
\maketitle
|
||||||
\end{strip}
|
\end{strip}
|
||||||
\else
|
\else
|
||||||
\maketitle
|
\maketitle
|
||||||
\fi
|
\fi
|
||||||
|
\setlength\parindent{\varparindent}
|
||||||
}
|
}
|
||||||
|
|
||||||
\DeclareDocumentCommand\longtitle{s o m}{
|
\DeclareDocumentCommand\longtitle{s o m}{
|
||||||
|
\setlength\varparindent{\parindent}
|
||||||
|
\setlength\varparskip{\parskip}
|
||||||
|
\setlength\parindent{0em}
|
||||||
|
\setlength\parskip{0em}
|
||||||
\iftwocolumn
|
\iftwocolumn
|
||||||
\onecolumn
|
\onecolumn
|
||||||
\fi
|
\fi
|
||||||
@@ -81,10 +90,8 @@
|
|||||||
{\LARGE\noindent\yii@subtitle}
|
{\LARGE\noindent\yii@subtitle}
|
||||||
\vspace*{1cm}
|
\vspace*{1cm}
|
||||||
|
|
||||||
{\large\noindent\yii@author}
|
{\large\noindent\yii@author}\\
|
||||||
|
{\large\noindent\yii@institution}\\
|
||||||
{\large\noindent\yii@institution}
|
|
||||||
|
|
||||||
{\large\noindent\yii@division}
|
{\large\noindent\yii@division}
|
||||||
|
|
||||||
\vspace*{1cm}
|
\vspace*{1cm}
|
||||||
@@ -104,5 +111,7 @@
|
|||||||
\iftwocolumn
|
\iftwocolumn
|
||||||
\twocolumn
|
\twocolumn
|
||||||
\fi
|
\fi
|
||||||
|
\setlength\parindent{\varparindent}
|
||||||
|
\setlength\parskip{\varparskip}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -78,12 +78,14 @@
|
|||||||
\DeclareOption{onecolumn}{
|
\DeclareOption{onecolumn}{
|
||||||
\geometry{top=3cm, bottom=3cm, left=3cm, right=3cm, headheight=1cm, headsep=0.5cm}
|
\geometry{top=3cm, bottom=3cm, left=3cm, right=3cm, headheight=1cm, headsep=0.5cm}
|
||||||
\setlength\parindent{0cm} % No paragraph indent
|
\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
|
\twocolumnfalse
|
||||||
}
|
}
|
||||||
|
|
||||||
\DeclareOption{twocolumn}{
|
\DeclareOption{twocolumn}{
|
||||||
\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm, headheight=1cm, headsep=0.5cm}
|
\geometry{top=3cm, bottom=3cm, left=2cm, right=2cm, headheight=1cm, headsep=0.5cm}
|
||||||
|
\setlength\parindent{1em}
|
||||||
|
\setlength\parskip{0cm}
|
||||||
\twocolumntrue
|
\twocolumntrue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user