aboutsummaryrefslogtreecommitdiff
path: root/report/style/pascience-titles.tex
blob: 85245d20b6aa529016ceb97286ee741562e75777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%%%%%%%%%%%%%%%%%%%%
%% TITLE STYLE
%%%%%%%%%%%%%%%%%%%%

% Chapters
\usepackage{calc}
\newif\ifNoChapNumber
\makeatletter
\makechapterstyle{VZ34}{
	\renewcommand\chapternamenum{}
	\renewcommand\printchaptername{}
	\renewcommand\printchapternum{}
	\renewcommand\chapnumfont{\Huge\bfseries\sffamily}
	\renewcommand\chaptitlefont{\Huge\bfseries\sffamily\raggedright}
	\renewcommand\printchaptertitle[1]{%
		\def\arraystretch{2}\begin{tabular}[2]{
				@{}p	{0.8cm}!
				{\textcolor{gray75}{\vrule width 2pt}\quad}
				p{\textwidth-1cm-2em-4\tabcolsep}
			}
			\ifNoChapNumber\chapnumfont \# \else\chapnumfont \thechapter\fi
			& \chaptitlefont ##1
		\end{tabular}
		\NoChapNumberfalse
	}
	\renewcommand\printchapternonum{\NoChapNumbertrue}
}
\chapterstyle{VZ34}

% Sections, Subsections, Subsubsections
%\setsecheadstyle{\Large\bfseries\sffamily\raggedright}
%\setsubsecheadstyle{\large\bfseries\sffamily\raggedright}
%\setsubsubsecheadstyle{\bfseries\sffamily\raggedright}