-
Notifications
You must be signed in to change notification settings - Fork 30
/
MAPIR_techrep_template.tex
executable file
·113 lines (96 loc) · 3.86 KB
/
MAPIR_techrep_template.tex
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
\voffset=-2.04cm%
\topmargin=1cm %
\textheight=22cm %
\textwidth=17cm %
\headheight = 3.5cm
\oddsidemargin=-0.54cm
% --------------------------------------
% CHANGE TITLE OF CHAPTERS AND SECTIONS
% --------------------------------------
\titleformat{\chapter}
{\titlerule
\vspace{.8ex}%
\LARGE \bfseries}
{\thechapter.}{.5em}{}[\titlerule]
\titleformat{\section}
{\vspace{.8ex}%
\Large \bfseries}
{\thesection.}{.5em}{}
\newcommand{\HRuleW}{\rule{\linewidth}{1.2mm}}
\newcommand{\HRuleN}{\rule{\linewidth}{0.1mm}}
% --------------------------------------
% TITLE PAGE
% --------------------------------------
% Upper part of the page
\newcommand{\TRInfo}[6]{
\begin{titlepage}
\begin{center}
\HRuleW \\[0.4cm]
\LARGE \textbf{#1}\\[0.2cm]
\Large #2\\
\HRuleW
\vspace{2.0cm}
\textbf{Technical report \##5}\\
\textbf{#6}
\end{center}
\vfill
\begin{minipage}[b]{0.4\textwidth}
\begin{flushleft}
\includegraphics[width=0.3\textwidth]{imgs/LOGO_UMA.pdf}
\end{flushleft}
\end{minipage}
\hfill
\begin{minipage}[b]{0.45\textwidth}
\begin{flushleft}
\scriptsize \textbf{Málaga, \today}\\\medskip
MAPIR: Grupo de Percepción y Robótica\\
Dpto. de Ingeniería de Sistemas y Automática\\\medskip
ETS Ingeniería Informática\\
Universidad de Málaga\\
Campus de Teatinos s/n \textbf - 29071 Málaga\\
Tfno: 952132724 \textbf - Fax: 952133361\\
http://mapir.isa.uma.es/ \textbf - http://www.isa.uma.es
\end{flushleft}
\end{minipage}
\HRuleW
\end{titlepage}
\newcommand{\TRTitle}{#1}
\newcommand{\TRPartners}{#3}
\newcommand{\TRRef}{Technical report \##5}
} %
%\newcommand\HdrTable{
%\begin{tabular}{|m{0.15\textwidth}|m{0.55\textwidth}|m{0.25\textwidth}|}\hline
%\multirow{2}{*}{\centering \includegraphics[width=0.15\textwidth]{imgs/LOGO_UMA.pdf}} & \centering \textbf{\textsc{\TRTitle}} & \centering \scriptsize{ Dpto. de Ingenier�a de Sistemas y Autom�tica ETS Ingenier�a Inform�tica}\\
%& \centering{\TRPartners} & Campus de Teatinos s/n 29071 M�laga\\
%\centering \scriptsize Fecha: \ddmmyydate \today & \centering \scriptsize{Ref: \TRRef} & Tfno: 952132724 http://www.isa.uma.es\hline
%\end{tabular}%
%}
%\newcommand\HdrTable{
%\begin{tabular}{m{0.15\textwidth}m{0.55\textwidth}m{0.25\textwidth}}
%\centering \includegraphics[width=0.15\textwidth]{imgs/LOGO_UMA.pdf} & \centering \textbf{\textsc{\TRTitle}} \newline\newline\newline \centering \TRPartners & \centering \scriptsize Dpto. de Ingenier�a de \newline Sistemas y Autom�tica \newline\newline ETS Ingenier�a Inform�tica \newline Campus de Teatinos s/n \newline 29071 M�laga \newline\newline Tfno: 952132724 \newline http://www.isa.uma.es\\\hline
%%\centering \scriptsizeFecha: \ddmmyydate \today & \centering \scriptsize Ref: \TRRef & \\\hline
%\end{tabular}%
%}
\newcommand\HdrTable{
\begin{tabular}{|m{0.75\textwidth}|m{0.25\textwidth}|}\hline
%\includegraphics[width=0.10\textwidth]{./LOGO_UMA.pdf} %% JL: Ocupan un monton mas los docs solo por esto!!
\centering \textbf{\textsc{\TRTitle}} \newline\newline \centering \TRPartners &
\scriptsize
\TRRef \newline
~ \newline
Dpto. de Ingeniería de Sistemas y Automática \newline
\texttt{http://mapir.isa.uma.es/}
\\ \hline
\end{tabular}%
}
% --------------------------------------
% NEW USER-DEFINED COMMANDS
% --------------------------------------
\newcommand{\PageStyle}{
\pagestyle{fancyplain} %
%\fancyhf{} %
%\fancyfoot{\footnotesize
%Documento confidencial. Prohibida su reproducción total y parcial.\hfill Página \thepage\ de \pageref{LastPage}
%} %
\fancyhead[CE,CO]{\HdrTable} %
} %