Better layout
This commit is contained in:
@@ -1,17 +1,37 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{decsectionalv2}[2025/03/24 Digital Equipment Corporation]
|
||||
\LoadClass{decv2}
|
||||
\renewcommand{\thepage}{\thechapter-\arabic{page}}
|
||||
|
||||
\renewcommand{\toc}{%
|
||||
\pagestyle{preface}
|
||||
\begingroup
|
||||
\setlength{\parskip}{0.5em}
|
||||
\let\clearpage\relax
|
||||
\tableofcontents
|
||||
\thispagestyle{preface}
|
||||
\vspace{1em}
|
||||
\subsubsection*{Figures}
|
||||
\listoffigures
|
||||
\thispagestyle{preface}
|
||||
\vspace{1em}
|
||||
\subsubsection*{Tables}
|
||||
\listoftables
|
||||
\thispagestyle{preface}
|
||||
\endgroup
|
||||
}
|
||||
|
||||
|
||||
\setcounter{secnumdepth}{5}
|
||||
|
||||
\titleformat{\chapter}[display]{\raggedleft\fontfamily{phv}\selectfont\bfseries\huge}{\Huge \thechapter}{-0.5em}{}[\hrule]
|
||||
\titlespacing{\chapter}{0pc}{10em}{2em}
|
||||
\titlespacing{\chapter}{0pc}{9em}{2em}
|
||||
|
||||
|
||||
\titleformat{\section}{\raggedright\fontfamily{phv}\selectfont\bfseries\huge}{\thesection \hspace{1em}}{0.0em}{}[]
|
||||
\titleformat{\section}{\raggedright\fontfamily{phv}\selectfont\bfseries\Large}{\thesection \hspace{1em}}{0.0em}{}[]
|
||||
\titlespacing{\section}{0em}{1em}{1em}
|
||||
|
||||
\titleformat{\subsection}{\raggedright\fontfamily{phv}\selectfont\bfseries\LARGE}{\thesubsection\hspace{1em}}{0.0em}{}[]
|
||||
\titleformat{\subsection}{\raggedright\fontfamily{phv}\selectfont\bfseries\large}{\thesubsection\hspace{1em}}{0.0em}{}[]
|
||||
\titlespacing{\subsection}{0em}{1em}{1em}
|
||||
|
||||
\titleformat{\subsubsection}{\raggedright\fontfamily{phv}\selectfont\bfseries}{\thesubsubsection\hspace{1em}}{0.0em}{}[]
|
||||
@@ -96,10 +116,10 @@ DIBOL & Rainbow & \\
|
||||
\begin{table}[H]
|
||||
\IfStrEq{X#1}{X}{}{
|
||||
\label{table:\tbllabel}
|
||||
\captionsetup{font=Large}
|
||||
\captionsetup{font=large}
|
||||
\caption{#1}
|
||||
}
|
||||
\tablesize
|
||||
\normalsize
|
||||
\begin{tabularx}{\textwidth}{#2}
|
||||
\hline
|
||||
\BODY
|
||||
@@ -116,7 +136,7 @@ DIBOL & Rainbow & \\
|
||||
\captionsetup{font=Large}
|
||||
\caption[]{#1}
|
||||
}
|
||||
\tablesize
|
||||
\normalsize
|
||||
\begin{tabularx}{\textwidth}{#2}
|
||||
\hline
|
||||
\BODY
|
||||
|
||||
Reference in New Issue
Block a user