Rewrite template, improve wording

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-02-18 21:32:57 +00:00
parent 9cf9dfb586
commit 6b2d5f26d3
10 changed files with 186 additions and 141 deletions

42
template.cls Normal file
View File

@@ -0,0 +1,42 @@
\LoadClass{article}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{template}
\RequirePackage{titlesec}
\titleformat{\section}
{\large\scshape\raggedright}
{}{0em}
{}
[\titlerule]
\titleformat{\subsection}
{\raggedright}
{}{0em}
{}
\titlespacing*{\subsection}{0pt}{3.5ex plus 1ex minus .2ex}{-2.5ex}
\newcommand{\datedlocatedsubsection}[4]{%
\subsection[#2]{#3 \hfill \small{\textlf{\scshape{#2}}}}%
\begin{minipage}{5cm}
\vspace*{-.7ex}\hspace*{-3cm}\footnotesize #1
\end{minipage}
\raggedright
\begin{small}
#4
\end{small}
}
\newcommand{\datedsubsection}[3]{%
\subsection[#2]{#2}%
\begin{minipage}{5cm}
\vspace*{-.7ex}\hspace*{-3cm}\footnotesize #1
\end{minipage}
\raggedright
\begin{small}
#3
\end{small}
}