Repository navigation
Expand file tree
/
Copy pathtechnicalReportStyle.tex
More file actions
116 lines (94 loc) · 2.54 KB
/
Copy pathtechnicalReportStyle.tex
File metadata and controls
116 lines (94 loc) · 2.54 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
%----------------------------------------
% Page style
% Set the page size
\addtolength{\hoffset}{-0.75in} \addtolength{\voffset}{-0.75in}
\setlength{\textwidth}{7in} \setlength{\textheight}{8.25in}
\setlength{\headheight}{0.6in}
\setlength{\headsep}{0.2in}
\setlength{\footskip}{40pt}
\setlength{\fboxsep}{12pt}
% Set the paragraph skip
\setlength{\parskip}{3pt}
% Access to a counter for the number of pages
\usepackage{lastpage}
% To allow text justify on the right
\usepackage{ragged2e}
%----------------------------------------
% Title style
\newcommand{\makeCustomTitle}
{
\begin{center}
\LARGE{\textbf{\reportTitle{}}}
\\
\vspace{5pt}
\normalsize{\reportAuthors{}}
\\
\reportDate{}
\end{center}
\begin{flushright}
\footnotesize{
\begin{tabu}{ccX}
\toprule
\emph{Version} & \emph{Date} & \emph{Comments} \\
\midrule
\reportVersions{} \\
\bottomrule
\end{tabu}
}
\end{flushright}
}
%----------------------------------------
% Section style
\usepackage{sectsty}
% Set the section labeling font
\allsectionsfont{\textsf\bfseries}
%----------------------------------------
% Caption style
\usepackage[font=small, labelfont=bf, skip=5pt]{caption}
%----------------------------------------
% header style
\usepackage{fancyhdr}
% Define the title page style
\fancypagestyle{titlePage}{%
\fancyhf{}%
\fancyhead[L]{\includegraphics[height=0.45in]{UL_N}}
\fancyhead[C]{\raisebox{0.2in}{\textsc{Technical Report}}}
\fancyhead[R]{\includegraphics[height=0.45in]{norlab_logo_acronym_dark}}
\fancyfoot[C]{\thepage/\pageref*{LastPage}}
\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0.2pt}
}
% Define the page style for the other pages
\fancypagestyle{plain}{%
\fancyhf{}
\fancyhead[L]{\reportTitle{}}
\fancyfoot[C]{\thepage/\pageref*{LastPage}}
\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0.1pt}
}
% Set the page style for all the document except the first page
\pagestyle{plain}
%----------------------------------------
% footnote style
\usepackage{fnpos}
% Fix the footnotes location
\makeFNbottom \makeFNbelow
% ---------------------------------------------------------------
% Author
\author{\reportAuthors{} \\
Laval University\\
1065, av. de la Médecine \\
Quebec, Qc \\
Canada G1V 0A6 \\
}
% ---------------------------------------------------------------
% PDF setup
\hypersetup{%
pdftitle={\reportTitle},
pdfauthor={\@author},
pdfkeywords={research, project, robotics, norlab, Northern Robotics Lab, Master's},
pdfsubject={},
pdfstartview={},
urlcolor=cyan,
linkcolor=red,
}%