OpenCores
URL https://opencores.org/ocsvn/phr/phr/trunk

Subversion Repositories phr

[/] [phr/] [trunk/] [doc/] [informe-tesis/] [reports/] [PPS/] [maximiq/] [manual usuario/] [ManualPhr.sty] - Blame information for rev 242

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 144 maximiq
 
2
%
3
% Este archivo define un estilo o formato para el manual.
4
% Cambia la fuente del texto, márgenes de página, títulos, etc.
5
%
6
 
7
 
8
% Para usar color en el texto:
9
\usepackage{color}
10
\definecolor{darkblue}{rgb}{0.0,0.0,0.45}
11
 
12
 
13
% Se redefinen los margenes de página
14
\setlength{\topmargin}{-1.5 cm}
15
\setlength{\oddsidemargin}{0 cm}
16
\setlength{\evensidemargin}{0 cm}
17
\setlength{\textheight}{25 cm}
18
\setlength{\textwidth}{16 cm}
19
 
20
 
21 145 maximiq
% Separacion de los captions
22
%\setlength{\abovecaptionskip}{-5pt plus 0pt minus 0pt}
23
\setlength{\abovecaptionskip}{-5pt}
24
 
25
 
26 144 maximiq
% Se define una nueva fuente para el texto
27
\usepackage{lmodern}
28
\renewcommand*\familydefault{\sfdefault}
29
\usepackage[T1]{fontenc}
30
 
31
 
32
% Se cambia el formato a los títulos
33
\usepackage{titlesec}
34
\titleformat{\chapter}
35 149 maximiq
  {\vspace{-2cm}\normalfont\huge\bfseries\color{darkblue}\itshape}{\thechapter.}{0.3em}{}[{\titlerule[1.5pt]}\vspace{-0.5cm}]
36 144 maximiq
\titleformat{\section}
37
  {\bfseries\Large}{}{0em}{}[]
38
\titleformat{\subsection}
39
  {\bfseries\large}{}{0cm}{}[]
40
 
41
 
42
 
43 145 maximiq
% Cambio del formato para cabecera y pie de página
44 144 maximiq
\usepackage{fancyhdr}
45
\fancypagestyle{plain}{%
46
\fancyhf{}
47
 
48
\lhead[\bfseries\emph{PHR - Manual de usuario}]{}
49
\rhead[]{\bfseries\nouppercase{\emph{\leftmark}}}
50
 
51
\lfoot[\thepage]{\emph{CUDAR}}
52
\cfoot[\docver]{\docver}
53
\rfoot[\emph{UTN - FRC}]{\thepage}
54
 
55
\renewcommand{\headrulewidth}{.4pt}
56
\renewcommand{\footrulewidth}{.4pt}
57
}
58
 
59
\pagestyle{plain}
60
 
61
 
62
% Links
63
\usepackage{hyperref}
64
\hypersetup{
65
    colorlinks,
66
    citecolor=black,
67
    filecolor=black,
68
    linkcolor=black,
69
    urlcolor=black
70
}
71
 
72 149 maximiq
% Modificación a itemize, enumerate y description para reducir el spacing.
73
\usepackage{paralist}
74
\renewenvironment{itemize}[1]{\begin{compactitem}#1}{\end{compactitem}}
75
\renewenvironment{enumerate}[1]{\begin{compactenum}#1}{\end{compactenum}}
76
\renewenvironment{description}[0]{\begin{compactdesc}}{\end{compactdesc}}
77 144 maximiq
 
78 149 maximiq
 
79 157 maximiq
% Para la fecha de la portada
80
\newcommand{\todaym}{\ifcase \month \or Enero\or Febrero\or Marzo\or Abril\or Mayo%
81
\or Junio\or Julio\or Agosto\or Septiembre\or Octubre\or Noviembre\or Diciembre\fi \space de \number \year}
82
 
83 223 maximiq
 
84
%listings
85
\usepackage{listings}
86
\definecolor{light-gray}{gray}{0.9}
87
\lstset{
88
  basicstyle=\ttfamily\footnotesize,%\scriptsize,
89
  backgroundcolor=\color{light-gray},
90
  language=bash,
91
  keywordstyle=\bfseries,
92
  breaklines=true,
93
  keywords=[2]{INT8U,INT16U,DIO\_DI,DIO\_DO,CPU\_INT16S,CPU\_INT08U}
94
}
95
\lstset{literate=
96
  {á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1
97
  {Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1
98
  {à}{{\`a}}1 {è}{{\'e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1
99
  {À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1
100
  {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
101
  {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1
102
  {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1
103
  {Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1
104
  {œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1
105
  {ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1
106
  {€}{{\EUR}}1 {£}{{\pounds}}1 {"}{{``}}1 {~}{{$\sim$}}1
107
}
108
 
109 144 maximiq
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
110
 
111
%
112
% Redefinicion del comando \maketitle
113
%
114
\renewcommand*{\maketitle}{
115
 
116
\begin{titlepage}
117
 
118
\vspace*{\fill}
119
\vspace{2cm}
120
 
121
\includegraphics{./img/title/phr_logo.pdf}
122
 
123
\vspace{.8cm}
124
 
125 149 maximiq
{\color{darkblue}\Huge\bfseries Plataforma de Hardware}
126 144 maximiq
 
127
\vspace{.5cm}
128
 
129 149 maximiq
{\color{darkblue}\Huge\bfseries Reconfigurable}
130 144 maximiq
 
131
\vspace{1.2cm}
132
 
133
{\LARGE\bfseries Manual de usuario}
134
 
135
\vspace{.5cm}
136
 
137
Documento versión \docver
138
 
139 157 maximiq
\todaym
140 144 maximiq
 
141
\vspace{1cm}
142
 
143
\begin{center}
144
\includegraphics{./img/title/foto.pdf}
145
\end{center}
146
 
147
\vspace{2cm}
148
 
149
{\large\bfseries Centro Universitario de Desarrollo en Automación y Robótica}
150
 
151
\vspace{.3cm}
152
 
153
{\large \emph{Universidad Tecnológica Nacional}}
154
 
155
\vspace{.2cm}
156
 
157
{\large \emph{Facultad Regional Córdoba}}
158
 
159
 
160
\vspace*{\fill}
161
 
162
\end{titlepage}
163
 
164
}
165
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.