diff options
author | Pacien TRAN-GIRARD | 2014-06-13 16:09:34 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-06-13 16:09:34 +0200 |
commit | 9c491ec71995dfb34d8ed95d7bb098fc1614c92e (patch) | |
tree | 6064c59e8d872074032c2da836426d833112044d /report/style | |
parent | 70318492f3472ff2ec3b1735cf69a4eef1f6a51d (diff) | |
download | fpga-home-automation-9c491ec71995dfb34d8ed95d7bb098fc1614c92e.tar.gz |
Import report template
Diffstat (limited to 'report/style')
-rw-r--r-- | report/style/pascience-defaults.tex | 14 | ||||
-rw-r--r-- | report/style/pascience-listings.tex | 19 | ||||
-rw-r--r-- | report/style/pascience-numbering.tex | 19 | ||||
-rw-r--r-- | report/style/pascience-pages.tex | 19 | ||||
-rw-r--r-- | report/style/pascience-texts.tex | 25 | ||||
-rw-r--r-- | report/style/pascience-titles.tex | 33 | ||||
-rw-r--r-- | report/style/pascience-toc.tex | 5 |
7 files changed, 134 insertions, 0 deletions
diff --git a/report/style/pascience-defaults.tex b/report/style/pascience-defaults.tex new file mode 100644 index 0000000..7caa84a --- /dev/null +++ b/report/style/pascience-defaults.tex | |||
@@ -0,0 +1,14 @@ | |||
1 | %%%%%%%%%%%%%%%%%%%% | ||
2 | %% DEFAULTS PACKAGES | ||
3 | %%%%%%%%%%%%%%%%%%%% | ||
4 | |||
5 | % Default document class and paper format | ||
6 | \documentclass[12pt,a4paper]{memoir} | ||
7 | |||
8 | % Common and usefull packages | ||
9 | \usepackage[utf8]{inputenc} | ||
10 | \usepackage[T1]{fontenc} | ||
11 | \usepackage{microtype} | ||
12 | \usepackage[dvips]{graphicx} | ||
13 | \usepackage{xcolor} | ||
14 | \usepackage{times} | ||
diff --git a/report/style/pascience-listings.tex b/report/style/pascience-listings.tex new file mode 100644 index 0000000..3df3cbe --- /dev/null +++ b/report/style/pascience-listings.tex | |||
@@ -0,0 +1,19 @@ | |||
1 | %%%%%%%%%%%%%%%%%%%% | ||
2 | %% CODE LISTINGS | ||
3 | %%%%%%%%%%%%%%%%%%%% | ||
4 | |||
5 | \usepackage{listings} | ||
6 | |||
7 | \lstset{ | ||
8 | breaklines=true, | ||
9 | frame=leftline, | ||
10 | %frame=bottomline, | ||
11 | basicstyle=\small, | ||
12 | %numbers=left, | ||
13 | numberstyle=\tiny, | ||
14 | tabsize=2, | ||
15 | showstringspaces=false, | ||
16 | keywordstyle=\color[rgb]{0,0,1}, | ||
17 | commentstyle=\color[rgb]{0.133,0.545,0.133}, | ||
18 | stringstyle=\color[rgb]{0.627,0.126,0.941}, | ||
19 | } | ||
diff --git a/report/style/pascience-numbering.tex b/report/style/pascience-numbering.tex new file mode 100644 index 0000000..74d8c76 --- /dev/null +++ b/report/style/pascience-numbering.tex | |||
@@ -0,0 +1,19 @@ | |||
1 | %%%%%%%%%%%%%%%%%%%% | ||
2 | %% PAGE NUMBERING | ||
3 | %%%%%%%%%%%%%%%%%%%% | ||
4 | |||
5 | %\pagestyle{companion}\nouppercaseheads | ||
6 | %\pagestyle{headings} | ||
7 | %\pagestyle{Ruled} | ||
8 | \pagestyle{plain} | ||
9 | \makepagestyle{plain} | ||
10 | |||
11 | |||
12 | \makeevenfoot{plain}{}{\thepage}{} | ||
13 | \makeoddfoot{plain}{}{\thepage}{} | ||
14 | |||
15 | %\makeevenfoot{plain}{\thepage}{}{} | ||
16 | %\makeoddfoot{plain}{}{}{\thepage} | ||
17 | |||
18 | \makeevenhead{plain}{}{}{} | ||
19 | \makeoddhead{plain}{}{}{} | ||
diff --git a/report/style/pascience-pages.tex b/report/style/pascience-pages.tex new file mode 100644 index 0000000..ce0903d --- /dev/null +++ b/report/style/pascience-pages.tex | |||
@@ -0,0 +1,19 @@ | |||
1 | %%%%%%%%%%%%%%%%%%%% | ||
2 | %% PAGE LAYOUT | ||
3 | %%%%%%%%%%%%%%%%%%%% | ||
4 | |||
5 | \usepackage{geometry} | ||
6 | \geometry{ | ||
7 | %total={210mm,297mm}, | ||
8 | % PDF VIEW | ||
9 | left=25mm,right=25mm, | ||
10 | top=25mm,bottom=25mm, | ||
11 | bindingoffset=0mm, | ||
12 | |||
13 | %left=22.5mm,right=22.5mm, | ||
14 | %top=22.5mm,bottom=22.5mm, | ||
15 | %bindingoffset=10mm, | ||
16 | } | ||
17 | |||
18 | \widowpenalties 1 10000 | ||
19 | \raggedbottom | ||
diff --git a/report/style/pascience-texts.tex b/report/style/pascience-texts.tex new file mode 100644 index 0000000..fae2cf0 --- /dev/null +++ b/report/style/pascience-texts.tex | |||
@@ -0,0 +1,25 @@ | |||
1 | %%%%%%%%%%%%%%%%%%%% | ||
2 | %% TEXT STYLE | ||
3 | %%%%%%%%%%%%%%%%%%%% | ||
4 | |||
5 | % Font | ||
6 | \renewcommand{\familydefault}{\sfdefault} | ||
7 | |||
8 | % Colors | ||
9 | \definecolor{gray75}{gray}{0.75} | ||
10 | \definecolor{gray25}{gray}{0.25} | ||
11 | |||
12 | % Spacing | ||
13 | \OnehalfSpacing | ||
14 | %\linespread{1.3} | ||
15 | \setlength{\parskip}{4pt} | ||
16 | |||
17 | % Links | ||
18 | \usepackage[ | ||
19 | breaklinks=true,colorlinks=true, | ||
20 | % PDF VIEW | ||
21 | %linkcolor=blue,urlcolor=blue,citecolor=blue, | ||
22 | |||
23 | linkcolor=black,urlcolor=black,citecolor=black, | ||
24 | bookmarks=true,bookmarksopenlevel=, | ||
25 | ]{hyperref} | ||
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 @@ | |||
1 | %%%%%%%%%%%%%%%%%%%% | ||
2 | %% TITLE STYLE | ||
3 | %%%%%%%%%%%%%%%%%%%% | ||
4 | |||
5 | % Chapters | ||
6 | \usepackage{calc} | ||
7 | \newif\ifNoChapNumber | ||
8 | \makeatletter | ||
9 | \makechapterstyle{VZ34}{ | ||
10 | \renewcommand\chapternamenum{} | ||
11 | \renewcommand\printchaptername{} | ||
12 | \renewcommand\printchapternum{} | ||
13 | \renewcommand\chapnumfont{\Huge\bfseries\sffamily} | ||
14 | \renewcommand\chaptitlefont{\Huge\bfseries\sffamily\raggedright} | ||
15 | \renewcommand\printchaptertitle[1]{% | ||
16 | \def\arraystretch{2}\begin{tabular}[2]{ | ||
17 | @{}p {0.8cm}! | ||
18 | {\textcolor{gray75}{\vrule width 2pt}\quad} | ||
19 | p{\textwidth-1cm-2em-4\tabcolsep} | ||
20 | } | ||
21 | \ifNoChapNumber\chapnumfont \# \else\chapnumfont \thechapter\fi | ||
22 | & \chaptitlefont ##1 | ||
23 | \end{tabular} | ||
24 | \NoChapNumberfalse | ||
25 | } | ||
26 | \renewcommand\printchapternonum{\NoChapNumbertrue} | ||
27 | } | ||
28 | \chapterstyle{VZ34} | ||
29 | |||
30 | % Sections, Subsections, Subsubsections | ||
31 | %\setsecheadstyle{\Large\bfseries\sffamily\raggedright} | ||
32 | %\setsubsecheadstyle{\large\bfseries\sffamily\raggedright} | ||
33 | %\setsubsubsecheadstyle{\bfseries\sffamily\raggedright} | ||
diff --git a/report/style/pascience-toc.tex b/report/style/pascience-toc.tex new file mode 100644 index 0000000..d461dd5 --- /dev/null +++ b/report/style/pascience-toc.tex | |||
@@ -0,0 +1,5 @@ | |||
1 | %%%%%%%%%%%%%%%%%%%% | ||
2 | %% TABLE OF CONTENT | ||
3 | %%%%%%%%%%%%%%%%%%%% | ||
4 | |||
5 | \maxtocdepth{subsection} % chapters, sections, and subsections are in the Table of Contents | ||