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

Subversion Repositories phr

[/] [phr/] [trunk/] [doc/] [informe-tesis/] [phd-thesis-template-master/] [Preamble/] [preamble.tex] - Blame information for rev 299

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

Line No. Rev Author Line
1 125 guanucolui
% ******************************************************************************
2
% ****************************** Custom Margin *********************************
3
 
4
% Add `custommargin' in the document class options to use this section
5
% Set {innerside margin / outerside margin / topmargin / bottom margin}  and
6
% other page dimensions
7
\ifsetMargin
8
\else
9
    \RequirePackage[left=37mm,right=30mm,top=35mm,bottom=30mm]{geometry}
10
    \setFancyHdr % To apply fancy header after geometry package is loaded
11
\fi
12
 
13
% *****************************************************************************
14
% ******************* Fonts (like different typewriter fonts etc.)*************
15
 
16
% Add `customfont' in the document class option to use this section
17
\ifsetFont
18
\else
19
    % Set your custom font here and use `customfont' in options. Leave empty to
20
    % load computer modern font (default LaTeX font).
21
    \RequirePackage{libertine}
22
\fi
23
 
24
% *****************************************************************************
25
% *************************** Bibliography  and References ********************
26
 
27
%\usepackage{cleveref} %Referencing without need to explicitly state fig /table
28
 
29
% Add `custombib' in the document class option to use this section
30
\ifsetBib % True, Bibliography option is chosen in class options
31
\else % If custom bibliography style chosen then load bibstyle here
32
    \RequirePackage[square, sort, numbers, authoryear]{natbib} % CustomBib
33
\fi
34
 
35
% changes the default name `Bibliography` -> `References'
36 126 guanucolui
\renewcommand{\bibname}{Referencias}
37 125 guanucolui
 
38
% *****************************************************************************
39
% *************** Changing the Visual Style of Chapter Headings ***************
40
% Uncomment the section below. Requires titlesec package.
41
 
42
%\RequirePackage{titlesec}
43
%\newcommand{\PreContentTitleFormat}{\titleformat{\chapter}[display]{\scshape\Large}
44
%{\Large\filleft{\chaptertitlename} \Huge\thechapter}
45
%{1ex}{}
46
%[\vspace{1ex}\titlerule]}
47
%\newcommand{\ContentTitleFormat}{\titleformat{\chapter}[display]{\scshape\huge}
48
%{\Large\filleft{\chaptertitlename} \Huge\thechapter}{1ex}
49
%{\titlerule\vspace{1ex}\filright}
50
%[\vspace{1ex}\titlerule]}
51
%\newcommand{\PostContentTitleFormat}{\PreContentTitleFormat}
52
%\PreContentTitleFormat
53
 
54
 
55
% *****************************************************************************
56
% **************************** Custom Packages ********************************
57
% *****************************************************************************
58
 
59
 
60
% ************************* Algorithms and Pseudocode **************************
61
 
62
%\usepackage{algpseudocode}
63
 
64
 
65
% ********************Captions and Hyperreferencing / URL **********************
66
 
67
% Captions: This makes captions of figures use a boldfaced small font.
68
%\RequirePackage[small,bf]{caption}
69
 
70
\RequirePackage[labelsep=space,tableposition=top]{caption}
71
\renewcommand{\figurename}{Fig.} %to support older versions of captions.sty
72 127 guanucolui
%\renewcommand{\captionfont}{\tiny}
73 125 guanucolui
 
74
% ************************ Formatting / Footnote *******************************
75
 
76
%\usepackage[perpage]{footmisc} %Range of footnote options
77
 
78
 
79
% ****************************** Line Numbers **********************************
80
 
81
%\RequirePackage{lineno}
82
%\linenumbers
83
 
84
% ************************** Graphics and figures *****************************
85
 
86
%\usepackage{rotating}
87
%\usepackage{wrapfig}
88
%\usepackage{float}
89
\usepackage{subfig} %note: subfig must be included after the `caption` package.
90
 
91
 
92
% ********************************* Table **************************************
93
 
94
%\usepackage{longtable}
95
%\usepackage{multicol}
96
%\usepackage{multirow}
97
%\usepackage{tabularx}
98
 
99
 
100
% ***************************** Math and SI Units ******************************
101
 
102
\usepackage{amsfonts}
103
\usepackage{amsmath}
104
\usepackage{amssymb}
105
%\usepackage{siunitx} % use this package module for SI units
106
 
107
 
108
% ******************************************************************************
109
% ************************* User Defined Commands ******************************
110
% ******************************************************************************
111
 
112
 
113
% ********************** TOC depth and numbering depth *************************
114
 
115
\setcounter{secnumdepth}{2}
116
\setcounter{tocdepth}{2}
117
 
118
% ******************************* Nomenclature *********************************
119
 
120
% To change the name of the Nomenclature section, uncomment the following line
121
 
122 126 guanucolui
\renewcommand\nomname{Nomenclatura}
123 125 guanucolui
 
124
 
125
% ********************************* Appendix ***********************************
126
 
127
% The default value of both \appendixtocname and \appendixpagename is `Appendices'. These names can all be changed via:
128
 
129 126 guanucolui
\renewcommand{\appendixtocname}{Lista de Anexos}
130
\renewcommand{\appendixname}{Anexo}
131 125 guanucolui
 
132 126 guanucolui
% ********************************* Agregados por lguanuco ***********************************
133
 
134
%\usepackage[utf8]{inputenc}
135
%\usepackage[spanish]{babel}
136
\usepackage{acronym}
137 128 guanucolui
\usepackage{multirow}
138
\usepackage{array}
139 258 guanucolui
\usepackage{multicol}
140 299 guanucolui
\usepackage[table]{xcolor}
141
\usepackage{pdfpages}
142 126 guanucolui
 
143 299 guanucolui
\usepackage{listings}
144
\definecolor{light-gray}{gray}{0.9}
145
\lstset{
146
  basicstyle=\ttfamily\footnotesize,%\scriptsize,
147
  backgroundcolor=\color{light-gray},
148
  language=bash,
149
  keywordstyle=\bfseries,
150
  breaklines=true,
151
  keywords=[2]{INT8U,INT16U,DIO\_DI,DIO\_DO,CPU\_INT16S,CPU\_INT08U}
152
}
153
\lstset{literate=
154
  {á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1
155
  {Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1
156
  {à}{{\`a}}1 {è}{{\'e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1
157
  {À}{{\`A}}1 {È}{{\'E}}1 {Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1
158
  {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
159
  {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1
160
  {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1
161
  {Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1
162
  {œ}{{\oe}}1 {Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1
163
  {ç}{{\c c}}1 {Ç}{{\c C}}1 {ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1
164
  {€}{{\EUR}}1 {£}{{\pounds}}1 {"}{{``}}1 {~}{{$\sim$}}1
165
}
166
\newcommand{\problema}[1]{\vspace{1.5ex}\textbf{Problema: #1}}
167
\newcommand{\solucion}[1]{\vspace{1.5ex}\textbf{Solución:} #1 \vspace{1.5ex}}
168
 
169
 
170 126 guanucolui
\DeclareUnicodeCharacter{00A0}{}
171
 
172
\renewcommand{\chaptername}{Capítulo}
173
\renewcommand{\contentsname}{Contenidos}   %Contents
174
\renewcommand{\figurename}{Figura}   %Figure (for captions)
175
\renewcommand{\indexname}{Índice}   %Index
176
\renewcommand{\listfigurename}{Lista de Figuras}   %List of Figures
177
\renewcommand{\listtablename}{Lista de Tablas}   %List of Tables
178
\renewcommand{\partname}{Parte}   %Part
179
\renewcommand{\seename}{ver}   %see (makeidx package)
180
\renewcommand{\tablename}{Tabla}   %Table (for caption)
181 215 guanucolui
 
182
\renewcommand{\arraystretch}{1.3}
183
 

powered by: WebSVN 2.1.0

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