From 8e5115f6501a05722b1322480a8149b0c37545b0 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sun, 16 Feb 2014 15:45:05 +0100 Subject: Import report template --- report/style/pascience-titles.tex | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 report/style/pascience-titles.tex (limited to 'report/style/pascience-titles.tex') diff --git a/report/style/pascience-titles.tex b/report/style/pascience-titles.tex new file mode 100644 index 0000000..85245d2 --- /dev/null +++ b/report/style/pascience-titles.tex @@ -0,0 +1,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} -- cgit v1.2.3