forked from Template-Latex/Template-Informe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinforme.tex
executable file
·353 lines (318 loc) · 174 KB
/
informe.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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
% Template: Informe LaTeX
% Advertencia: Documento generado automáticamente a partir del main.tex y
% los archivos .tex de la carpeta lib/
% Versión: 6.8.3 (22/04/2020)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R.
% Facultad de Ciencias Físicas y Matemáticas
% Universidad de Chile
%
% Manual template: [https://latex.ppizarror.com/informe]
% Licencia MIT: [https://opensource.org/licenses/MIT]
% CREACIÓN DEL DOCUMENTO
\documentclass[letterpaper,11pt,oneside]{article}
% INFORMACIÓN DEL DOCUMENTO
\def\titulodelinforme {Título del informe}
\def\temaatratar {Tema a tratar}
\def\autordeldocumento {Nombre del autor}
\def\nombredelcurso {Curso}
\def\codigodelcurso {CO-1234}
\def\nombreuniversidad {Universidad de Chile}
\def\nombrefacultad {Facultad de Ciencias Físicas y Matemáticas}
\def\departamentouniversidad {Departamento de la Universidad}
\def\imagendepartamento {departamentos/fcfm}
\def\imagendepartamentoescala {0.2}
\def\localizacionuniversidad {Santiago, Chile}
% INTEGRANTES, PROFESORES Y FECHAS
\def\tablaintegrantes {
\begin{tabular}{ll}
Integrantes:
& \begin{tabular}[t]{l}
Integrante 1 \\
Integrante 2
\end{tabular} \\
Profesor:
& \begin{tabular}[t]{l}
Profesor 1
\end{tabular} \\
Auxiliar:
& \begin{tabular}[t]{l}
Auxiliar 1
\end{tabular} \\
Ayudantes:
& \begin{tabular}[t]{l}
Ayudante 1 \\
Ayudante 2
\end{tabular} \\
\multicolumn{2}{l}{Ayudante de laboratorio: Ayudante 1} \\
& \\
\multicolumn{2}{l}{Fecha de realización: \today} \\
\multicolumn{2}{l}{Fecha de entrega: \today} \\
\multicolumn{2}{l}{\localizacionuniversidad}
\end{tabular}}{
}
% CONFIGURACIONES GENERALES
\def\addemptypagetwosides {false} % Añade pag. en blanco al imprimir a 2 caras
\def\compilertype {pdf2latex} % Compilador {pdf2latex,xelatex,lualatex}
\def\defaultinterline {1.0} % Interlineado por defecto [pt]
\def\defaultnewlinesize {11} % Tamaño del salto de línea [pt]
\def\documentlang {es-CL} % Define el idioma del documento
\def\fontdocument {lmodern} % Tipografía base, ver soportadas en manual
\def\fonttypewriter {tmodern} % Tipografía de \texttt, ver manual
\def\fonturl {tt} % Tipo de fuente url {tt,sf,rm,same}
\def\importtikz {false} % Utilizar la librería tikz
\def\pointdecimal {true} % N° decimales con punto en vez de coma
\def\predocpageromannumber {true} % Pág. con número romano previo a inicio doc.
\def\predocpageromanupper {false} % Páginas en número romano en mayúsculas
\def\predocresetpagenumber {true} % Resetea número de la pag. tras el índice
\def\showlinenumbers {false} % Muestra los números de línea del documento
\def\usespanishbabel {true} % Español, desactivar para otros idiomas
% ESTILO PORTADA Y HEADER-FOOTER
\def\disablehfrightmark {false} % Desactiva el rightmark del header-footer
\def\hfstyle {style1} % Estilo header-footer (16 estilos)
\def\hfwidthcourse {0.35} % Tamaño máximo del curso en header-footer
\def\hfwidthtitle {0.6} % Tamaño máximo del título en header-footer
\def\hfwidthwrap {false} % Activa el tamaño máximo en header-footer
\def\portraitstyle {style1} % Estilo portada (20 estilos)
% CONFIGURACIÓN DE LAS LEYENDAS - CAPTION
\def\captionalignment {justified} % Posición {centered,justified,left,right}
\def\captionlabelformat {simple} % Formato leyenda {empty,simple,parens}
\def\captionlabelsep {colon} % Sep. {none,colon,period,space,quad,newline}
\def\captionlessmarginimage {0.1} % Margen sup/inf de fig. si no hay ley. [cm]
\def\captionlrmargin {2.0} % Márgenes izq/der de la leyenda [cm]
\def\captionmarginmultimg {0.0} % Margen izq/der leyendas múltiple img [cm]
\def\captionnumcode {arabic} % N° código {arabic,alph,Alph,roman,Roman}
\def\captionnumequation {arabic} % N° ecuaciones {arabic,alph,Alph,roman,Roman}
\def\captionnumfigure {arabic} % N° figuras {arabic,alph,Alph,roman,Roman}
\def\captionnumsubfigure {alph} % N° subfiguras {arabic,alph,Alph,roman,Roman}
\def\captionnumsubtable {alph} % N° subtabla {arabic,alph,Alph,roman,Roman}
\def\captionnumtable {arabic} % N° tabla {arabic,alph,Alph,roman,Roman}
\def\captiontbmarginfigure {9.35} % Margen sup/inf de la leyenda en fig. [pt]
\def\captiontbmargintable {7.0} % Margen sup/inf de la leyenda en tab. [pt]
\def\captiontextbold {false} % Etiqueta (código,figura,tabla) en negrita
\def\captiontextsubnumbold {false} % N° subfigura/subtabla en negrita
\def\codecaptiontop {true} % Leyenda arriba del código fuente
\def\figurecaptiontop {false} % Leyenda arriba de las imágenes
\def\sectioncaptiondelimiter {.} % Carácter delimitador n° objeto y sección
\def\showsectioncaptioncode {none} % N° sec. código {none,chap,(s/ss/sss/ssss)ec}
\def\showsectioncaptioneqn {none} % N° sec. ecuación {none,chap,(s/ss/sss/ssss)ec}
\def\showsectioncaptionfig {none} % N° sec. figuras {none,chap,(s/ss/sss/ssss)ec}
\def\showsectioncaptionmat {none} % N° matemático {none,chap,(s/ss/sss/ssss)ec}
\def\showsectioncaptiontab {none} % N° sec. tablas {none,chap,(s/ss/sss/ssss)ec}
\def\subcaptionlabelformat{parens} % Formato leyenda sub. {empty,simple,parens}
\def\subcaptionlabelsep {space} % Sep. {none,colon,period,space,quad,newline}
\def\tablecaptiontop {true} % Leyenda arriba de las tablas
% CONFIGURACIÓN DEL ÍNDICE
\def\addindextobookmarks {true} % Añade el índice a los marcadores del pdf
\def\charafterobjectindex {.} % Carácter después de n° figura,tabla,código
\def\charnumpageindex {.} % Carácter número de página en índice
\def\indexdepth {4} % Profundidad máxima del índice
\def\indexnewpagec {false} % Nueva página en índice códigos fuente
\def\indexnewpagee {false} % Nueva página en índice ecuaciones
\def\indexnewpagef {false} % Nueva página en índice figuras
\def\indexnewpaget {false} % Nueva página en índice tablas
\def\indexstyle {ftc} % Estilo {f:figura,t:tabla,c:código,e:ecuación}
\def\indextitlemargin {11.4} % Margen título índice \insertindextitle [pt]
\def\objectindexindent {false} % Indenta la lista de objetos
\def\showappendixsecindex {false} % Título de la sec. de anexos en el índice
\def\showindex {true} % Muestra el índice
\def\showindexofcontents {true} % Muestra la lista de contenidos
% ANEXO, CITAS, REFERENCIAS
\def\apaciterefnumber {false} % Lista de referencias con números
\def\apaciterefnumberfinal {]} % Caracter final números apacite
\def\apaciterefnumberinit {[} % Caracter inicial números apacite
\def\apaciterefsep {9} % Separación entre refs. {apacite} [pt]
\def\apacitestyle {apacite} % Formato de ref. apacite {apa,ieeetr,etc..}
\def\appendixindepobjnum {true} % Anexo usa n° objetos independientes
\def\bibtexrefsep {6} % Separación entre refs. {bibtex} [pt]
\def\bibtexstyle {apa} % Formato de ref. bibtex {apa,ieeetr,etc...}
\def\natbibnumbers {true} % Forza el uso de números en la bibliografía
\def\natbibrefsep {6} % Separación entre referencia {natbib} [pt]
\def\natbibrefstyle {ieeetr} % Formato de ref. natbib {apa,ieeetr,etc...}
\def\natbibsquare {true} % Usa [] o () en las numeraciones
\def\sectionappendixlastchar {.} % Carácter entre n° de sec. anexo y título
\def\sectionrefenv {false} % Las referencias se consideran como sección
\def\stylecitereferences {bibtex} % Estilo cita/ref. {apacite,bibtex,natbib}
\def\twocolumnreferences {false} % Referencias en dos columnas
% CONFIGURACIONES DE OBJETOS
\def\columnhspace {-0.4} % Margen horizontal entre obj. \createcolumn
\def\columnsepwidth {2.1} % Separación entre columnas [em]
\def\defaultimagefolder {img/} % Carpeta raíz de las imágenes
\def\equationleftalign {false} % Ecuaciones alineadas a la izquierda
\def\equationrestart {none} % Reinicio n° {none,chap,(s/ss/sss/ssss)ec}
\def\footnotepagetoprule {false} % Footnote en pag. tienen separador superior
\def\footnoterestart {none} % N° footnote {none,chap,page,(s/ss/sss/ssss)ec}
\def\imagedefaultplacement {H} % Posición por defecto de las imágenes
\def\marginalignbottom {-0.30} % Margen inferior entorno align [cm]
\def\marginaligncaptbottom {0.05} % Margen inferior entorno align caption[cm]
\def\marginaligncapttop {-0.60} % Margen superior entorno align caption [cm]
\def\marginalignedbottom {-0.30} % Margen inferior entorno aligned [cm]
\def\marginalignedcaptbottom {0.0} % Margen inferior entorno aligned caption[cm]
\def\marginalignedcapttop {-0.60} % Margen superior entorno aligned caption[cm]
\def\marginalignedtop {-0.40} % Margen superior entorno aligned [cm]
\def\marginaligntop {-0.40} % Margen superior entorno align [cm]
\def\margineqncaptionbottom {0.0} % Margen inferior caption ecuación [cm]
\def\margineqncaptiontop {-0.65} % Margen superior caption ecuación [cm]
\def\margineqnindexbottom {-0.90} % Margen inferior ecuaciones índice [cm]
\def\margineqnindextop {-0.25} % Margen superior ecuaciones índice [cm]
\def\marginequationbottom {-0.15} % Margen inferior ecuaciones [cm]
\def\marginequationtop {0.0} % Margen superior ecuaciones [cm]
\def\marginfloatimages {-13.0} % Margen sup. fig. insertimageleft/right [pt]
\def\marginfootnote {10.0} % Margen derecho footnote [pt]
\def\margingatherbottom {-0.20} % Margen inferior entorno gather [cm]
\def\margingathercaptbottom {0.05} % Margen inferior entorno gather caption [cm]
\def\margingathercapttop {-0.77} % Margen superior entorno gather [cm]
\def\margingatheredbottom {-0.10} % Margen inf. entorno gathered [cm]
\def\margingatheredcaptbottom{0.0} % Margen inf. entorno gathered caption [cm]
\def\margingatheredcapttop {-0.77} % Margen superior entorno gathered [cm]
\def\margingatheredtop {-0.40} % Margen superior entorno gathered [cm]
\def\margingathertop {-0.40} % Margen superior entorno gather [cm]
\def\marginimagebottom {-0.15} % Margen inferior figura [cm]
\def\marginimagemultright {0.50} % Margen derecho imágenes múltiples [cm]
\def\marginimagemulttop {-0.30} % Margen superior imágenes múltiples [cm]
\def\marginimagetop {0.0} % Margen superior figuras [cm]
\def\numberedequation {true} % Ecuaciones con \insert... numeradas
\def\sourcecodefontf {\ttfamily} % Tipo de letra código fuente
\def\sourcecodefonts {\small} % Tamaño letra código fuente
\def\sourcecodenumbersep {6} % Separación entre número línea y código [pt]
\def\sourcecodetabsize {3} % Tamaño tabulación código fuente
\def\tabledefaultplacement {H} % Posición por defecto de las tablas
\def\tablepaddingh {0.85} % Espaciado horizontal de celda de las tablas
\def\tablepaddingv {1.05} % Espaciado vertical de celda de las tablas
\def\tikzdefaultplacement {H} % Posición por defecto de las figuras tikz
% CONFIGURACIÓN DE LOS TÍTULOS
\def\anumsecaddtocounter {false} % Insertar títulos anum. aumenta n° de sec
\def\fontsizessstitle{\normalsize} % Tamaño sub-sub-subtítulos
\def\fontsizesubsubtitle {\large} % Tamaño sub-subtítulos
\def\fontsizesubtitle {\Large} % Tamaño subtítulos
\def\fontsizetitle {\LARGE} % Tamaño títulos
\def\fontsizetitlei {\LARGE} % Tamaño títulos en el índice
\def\showdotaftersnum {true} % Punto al final de n° (s/ss/sss/ssss)ection
\def\stylessstitle {\bfseries} % Estilo sub-sub-subtítulos
\def\stylesubsubtitle {\bfseries} % Estilo sub-subtítulos
\def\stylesubtitle {\bfseries} % Estilo subtítulos
\def\styletitle {\bfseries} % Estilo títulos
\def\styletitlei {\bfseries} % Estilo títulos en el índice
% CONFIGURACIÓN DE LOS COLORES DEL DOCUMENTO
\def\captioncolor {black} % Color nombre objeto (código,figura,tabla)
\def\captiontextcolor {black} % Color de la leyenda
\def\colorpage {white} % Color de la página
\def\highlightcolor {yellow} % Color del subrayado con \hl
\def\indextitlecolor {black} % Color de los títulos del índice
\def\linenumbercolor {gray} % Color del n° de línea (\showlinenumbers)
\def\linkcolor {black} % Color de los links del documento
\def\maintextcolor {black} % Color principal del texto
\def\numcitecolor {black} % Color del n° de las referencias o citas
\def\portraittitlecolor {black} % Color de los títulos de la portada
\def\showborderonlinks {false} % Color de un link por un recuadro de color
\def\sourcecodebgcolor {lgray} % Color de fondo del código fuente
\def\ssstitlecolor {black} % Color de los sub-sub-subtítulos
\def\subsubtitlecolor {black} % Color de los sub-subtítulos
\def\subtitlecolor {black} % Color de los subtítulos
\def\tablelinecolor {black} % Color de las líneas de las tablas
\def\tablerowfirstcolor {none} % Primer color de celda de las tablas
\def\tablerowsecondcolor {gray!20} % Segundo color de celda de las tablas
\def\titlecolor {black} % Color de los títulos
\def\urlcolor {magenta} % Color de los enlaces web (\href,\url)
% MÁRGENES DE PÁGINA
\def\firstpagemargintop {3.8} % Margen superior página portada [cm]
\def\pagemarginbottom {2.7} % Margen inferior página [cm]
\def\pagemarginleft {2.54} % Margen izquierdo página [cm]
\def\pagemarginright {2.54} % Margen derecho página [cm]
\def\pagemargintop {3.0} % Margen superior página [cm]
% OPCIONES DEL PDF COMPILADO
\def\cfgbookmarksopenlevel {1} % Nivel marcadores en pdf (1:secciones)
\def\cfgpdfbookmarkopen {true} % Expande marcadores del nivel configurado
\def\cfgpdfcenterwindow {true} % Centra ventana del lector al abrir el pdf
\def\cfgpdfcopyright {} % Establece el copyright del documento
\def\cfgpdfdisplaydoctitle {true} % Muestra título del informe en visor
\def\cfgpdffitwindow {false} % Ajusta la ventana del lector tamaño pdf
\def\cfgpdfkeywords {} % Palabras clave del pdf
\def\cfgpdflayout {OneColumn} % Modo de página {OneColumn,SinglePage}
\def\cfgpdfmenubar {true} % Muestra el menú del lector
\def\cfgpdfpageview {FitH} % {Fit,FitH,FitV,FitR,FitB,FitBH,FitBV}
\def\cfgpdfsecnumbookmarks {true} % Número de la sec. en marcadores del pdf
\def\cfgpdftoolbar {true} % Muestra barra de herramientas lector pdf
\def\cfgshowbookmarkmenu {false} % Muestra menú marcadores al abrir el pdf
\def\pdfcompilecompression {9} % Factor de compresión del pdf (0-9)
\def\pdfcompileobjcompression {2} % Nivel compresión objetos del pdf (0-3)
\def\pdfcompileversion {7} % Versión mínima del pdf compilado
\def\usepdfmetadata {true} % Añade metadatos al pdf compilado
% NOMBRE DE OBJETOS
\def\nameabstract {Resumen} % Nombre del resumen-abstract
\def\nameappendixsection {Anexos} % Nombre de los anexos
\def\namemathcol {Corolario} % Nombre de los colorarios
\def\namemathdefn {Definición} % Nombre de las definiciones
\def\namemathej {Ejemplo} % Nombre de los ejemplos
\def\namemathlem {Lema} % Nombre de los lemas
\def\namemathobs {Observación} % Nombre de las observaciones
\def\namemathprp {Proposición} % Nombre de las proposiciones
\def\namemaththeorem {Teorema} % Nombre de los teoremas
\def\nameportraitpage {Portada} % Etiqueta página de la portada
\def\namereferences {Referencias} % Nombre de la sección de referencias
\def\nomchapter {Capítulo} % Nombre de los capítulos
\def\nomltappendixsection {Anexo} % Etiqueta sección en anexo/apéndices
\def\nomltcont {Índice de Contenidos} % Nombre del índice de contenidos
\def\nomlteqn {Índice de Ecuaciones} % Nombre de la lista de ecuaciones
\def\nomltfigure {Índice de Figuras} % Nombre de la lista de figuras
\def\nomltsrc {Índice de Códigos} % Nombre de la lista de código
\def\nomlttable {Índice de Tablas} % Nombre de la lista de tablas
\def\nomltwfigure {Figura} % Etiqueta leyenda de las figuras
\def\nomltwsrc {Código} % Etiqueta leyenda del código fuente
\def\nomltwtable {Tabla} % Etiqueta leyenda de las tablas
\def\nomnpageof { de } % Etiqueta página # de #
% DECLARACIÓN DE LIBRERÍAS
\let\RE\Re\let\IM\Im\let\counterwithout\relax\let\counterwithin\relax\let\underbar\relax\let\underline\relax\def\unaccentedoperators{}\def\decimalpoint{}\def\bibname{}\makeatletter\def\underline#1{\relax\ifmmode\@@underline{#1}\else $\@@underline{\hbox{#1}}\m@th$\relax\fi}\def\underbar#1{\underline{\sbox\tw@{#1}\dp\tw@\z@\box\tw@}}\makeatother\usepackage{ifthen}\ifthenelse{\equal{\usespanishbabel}{true}}{\usepackage[spanish,es-nosectiondot,es-lcroman,es-noquoting]{babel}}{}\usepackage{sectsty}\ifthenelse{\equal{\compilertype}{pdf2latex}}{\usepackage[utf8]{inputenc}}{}\newcommand{\throwbadconfig}[4][]{\ifthenelse{\equal{#1}{noheader}}{\errmessage{LaTeX Warning: #4}}{\ifthenelse{\equal{#1}{noheader-nostop}}{\errmessage{LaTeX Warning: #4}}{\errmessage{LaTeX Warning: #2 \noexpand #3=#3. Valores esperados: #4}}}\ifthenelse{\equal{#1}{nostop}}{}{\ifthenelse{\equal{#1}{noheader-nostop}}{}{\stop}}}\ifthenelse{\equal{\equationleftalign}{true}}{\usepackage[fleqn]{amsmath}}{\usepackage{amsmath}}\usepackage{amssymb}\usepackage{amsthm}\usepackage{array}\usepackage{bigstrut}\usepackage{bm}\usepackage{booktabs}\usepackage{caption}\usepackage{changepage}\usepackage{chngcntr}\usepackage{color}\usepackage{datetime}\usepackage{floatpag}\usepackage{floatrow}\usepackage{framed}\usepackage{gensymb}\usepackage{graphicx}\usepackage{lipsum}\usepackage{listings}\usepackage{longtable}\usepackage{mathtools}\usepackage{multicol}\usepackage{needspace}\usepackage{pdflscape}\usepackage{pdfpages}\usepackage{physics}\usepackage{rotating}\usepackage{selinput}\usepackage{setspace}\usepackage{soul}\usepackage{subfig}\usepackage{textcomp}\usepackage{url}\usepackage{wasysym}\usepackage{wrapfig}\usepackage{xspace}\usepackage[makeroom]{cancel}\usepackage[inline]{enumitem}\usepackage[subfigure,titles]{tocloft}\usepackage[figure,table,lstlisting]{totalcount}\usepackage[normalem]{ulem}\usepackage[dvipsnames,table,usenames]{xcolor}\ifthenelse{\equal{\compilertype}{pdf2latex}}{\usepackage{listingsutf8}}{}\ifthenelse{\equal{\footnotepagetoprule}{true}}{\usepackage[bottom,hang]{footmisc}}{\usepackage[bottom,norule,hang]{footmisc}}\ifthenelse{\equal{\showdotaftersnum}{true}}{\usepackage{secdot}\sectiondot{subsection}\sectiondot{subsubsection}}{}\usepackage[pdfencoding=auto,psdextra]{hyperref}\ifthenelse{\equal{\stylecitereferences}{natbib}}{\ifthenelse{\equal{\natbibrefstyle}{apa}}{\ifthenelse{\equal{\natbibsquare}{true}}{\usepackage[square]{natbib}}{\usepackage[round]{natbib}}}{\ifthenelse{\equal{\natbibrefstyle}{ieeetr}}{\ifthenelse{\equal{\natbibsquare}{true}}{\usepackage[square,numbers]{natbib}}{\usepackage[round,numbers]{natbib}}}{\ifthenelse{\equal{\natbibrefstyle}{unsrt}}{\ifthenelse{\equal{\natbibsquare}{true}}{\usepackage[square,numbers]{natbib}}{\usepackage[round,numbers]{natbib}}}{\ifthenelse{\equal{\natbibrefstyle}{abbrvnat}}{\ifthenelse{\equal{\natbibsquare}{true}}{\usepackage[square,numbers]{natbib}}{\usepackage[round,numbers]{natbib}}}{\ifthenelse{\equal{\natbibnumbers}{true}}{\ifthenelse{\equal{\natbibsquare}{true}}{\usepackage[square,numbers]{natbib}}{\usepackage[round,numbers]{natbib}}}{\ifthenelse{\equal{\natbibsquare}{true}}{\usepackage[square]{natbib}}{\usepackage[round]{natbib}}}}}}}\usepackage[nottoc,notlof,notlot]{tocbibind}}{\ifthenelse{\equal{\stylecitereferences}{apacite}}{\usepackage{apacite}\usepackage[nottoc,notlof,notlot]{tocbibind}}{\ifthenelse{\equal{\stylecitereferences}{bibtex}}{}{}}}\ifthenelse{\equal{\showappendixsecindex}{true}}{\usepackage[toc]{appendix}}{\usepackage{appendix}}\ifthenelse{\equal{\importtikz}{true}}{\usepackage{tikz}}{}\ifthenelse{\equal{\compilertype}{lualatex}}{\usepackage[top=\pagemargintop cm,bottom=\pagemarginbottom cm,margin=\pagemarginleft cm]{geometry}}{\usepackage{geometry}}\ifthenelse{\equal{\hfstyle}{style11}}{\usepackage{lastpage}}{}\ifthenelse{\equal{\hfstyle}{style12}}{\usepackage{lastpage}}{}\ifthenelse{\equal{\hfstyle}{style13}}{\usepackage{lastpage}}{}\ifthenelse{\equal{\hfstyle}{style14}}{\usepackage{lastpage}}{}\usepackage{bookmark}\usepackage{fancyhdr}\usepackage{float}\usepackage{hyperxmp}\usepackage{multirow}\usepackage{notoccite}\usepackage{titlesec}\ifthenelse{\equal{\fontdocument}{lmodern}}{\usepackage{lmodern}}{\ifthenelse{\equal{\fontdocument}{arial}}{\usepackage{helvet}\renewcommand{\familydefault}{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{arial2}}{\usepackage{arial}}{\ifthenelse{\equal{\fontdocument}{times}}{\usepackage{mathptmx}}{\ifthenelse{\equal{\fontdocument}{helvet}}{\renewcommand{\familydefault}{\sfdefault}\usepackage[scaled=0.95]{helvet}\usepackage[helvet]{sfmath}}{\ifthenelse{\equal{\fontdocument}{alegreyasans}}{\usepackage[sfdefault]{AlegreyaSans}\renewcommand*\oldstylenums[1]{{\AlegreyaSansOsF #1}}}{\ifthenelse{\equal{\fontdocument}{opensans}}{\usepackage[default,scale=0.95]{opensans}}{\ifthenelse{\equal{\fontdocument}{mathpazo}}{\usepackage{mathpazo}}{\ifthenelse{\equal{\fontdocument}{accantis}}{\usepackage{accanthis}}{\ifthenelse{\equal{\fontdocument}{alegreya}}{\usepackage{Alegreya}\renewcommand*\oldstylenums[1]{{\AlegreyaOsF #1}}}{\ifthenelse{\equal{\fontdocument}{algolrevived}}{\usepackage{algolrevived}}{\ifthenelse{\equal{\fontdocument}{antiqua}}{\usepackage{antiqua}}{\ifthenelse{\equal{\fontdocument}{antpolt}}{\usepackage{antpolt}}{\ifthenelse{\equal{\fontdocument}{antpoltlight}}{\usepackage[light]{antpolt}}{\ifthenelse{\equal{\fontdocument}{anttor}}{\usepackage[math]{anttor}}{\ifthenelse{\equal{\fontdocument}{anttorcondensed}}{\usepackage[condensed,math]{anttor}}{\ifthenelse{\equal{\fontdocument}{anttorlight}}{\usepackage[light,math]{anttor}}{\ifthenelse{\equal{\fontdocument}{anttorlightcondensed}}{\usepackage[light,condensed,math]{anttor}}{\ifthenelse{\equal{\fontdocument}{arev}}{\usepackage{arev}}{\ifthenelse{\equal{\fontdocument}{arimo}}{\usepackage[sfdefault]{arimo}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{aurical}}{\usepackage{aurical}}{\ifthenelse{\equal{\fontdocument}{avant}}{\usepackage{avant}}{\ifthenelse{\equal{\fontdocument}{baskervald}}{\usepackage{baskervald}}{\ifthenelse{\equal{\fontdocument}{berasans}}{\usepackage[scaled]{berasans}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{beraserif}}{\usepackage{bera}}{\ifthenelse{\equal{\fontdocument}{biolinum}}{\usepackage{libertine}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{cabin}}{\usepackage[sfdefault]{cabin}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{cabincondensed}}{\usepackage[sfdefault,condensed]{cabin}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{cantarell}}{\usepackage[default]{cantarell}}{\ifthenelse{\equal{\fontdocument}{caladea}}{\usepackage{caladea}}{\ifthenelse{\equal{\fontdocument}{carlito}}{\usepackage[sfdefault]{carlito}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{chivolight}}{\usepackage[familydefault,light]{Chivo}}{\ifthenelse{\equal{\fontdocument}{chivoregular}}{\usepackage[familydefault,regular]{Chivo}}{\ifthenelse{\equal{\fontdocument}{clearsans}}{\usepackage[sfdefault]{ClearSans}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{comfortaa}}{\usepackage[default]{comfortaa}}{\ifthenelse{\equal{\fontdocument}{comicneue}}{\usepackage[default]{comicneue}}{\ifthenelse{\equal{\fontdocument}{comicneueangular}}{\usepackage[default,angular]{comicneue}}{\ifthenelse{\equal{\fontdocument}{crimson}}{\usepackage{crimson}}{\ifthenelse{\equal{\fontdocument}{cyklop}}{\usepackage{cyklop}}{\ifthenelse{\equal{\fontdocument}{dejavusans}}{\usepackage{DejaVuSans}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{dejavusanscondensed}}{\usepackage{DejaVuSansCondensed}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{droidsans}}{\usepackage[defaultsans]{droidsans}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{fetamont}}{\usepackage{fetamont}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{firasans}}{\usepackage[sfdefault]{FiraSans}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{iwona}}{\usepackage[math]{iwona}}{\ifthenelse{\equal{\fontdocument}{iwonacondensed}}{\usepackage[math]{iwona}}{\ifthenelse{\equal{\fontdocument}{iwonalight}}{\usepackage[light,math]{iwona}}{\ifthenelse{\equal{\fontdocument}{iwonalightcondensed}}{\usepackage[light,condensed,math]{iwona}}{\ifthenelse{\equal{\fontdocument}{kurier}}{\usepackage[math]{kurier}}{\ifthenelse{\equal{\fontdocument}{kuriercondensed}}{\usepackage[condensed,math]{kurier}}{\ifthenelse{\equal{\fontdocument}{kurierlight}}{\usepackage[light,math]{kurier}}{\ifthenelse{\equal{\fontdocument}{kurierlightcondensed}}{\usepackage[light,condensed,math]{kurier}}{\ifthenelse{\equal{\fontdocument}{lato}}{\usepackage[default]{lato}}{\ifthenelse{\equal{\fontdocument}{libris}}{\usepackage{libris}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{lxfonts}}{\usepackage{lxfonts}}{\ifthenelse{\equal{\fontdocument}{merriweather}}{\usepackage[sfdefault]{merriweather}}{\ifthenelse{\equal{\fontdocument}{merriweatherlight}}{\usepackage[sfdefault,light]{merriweather}}{\ifthenelse{\equal{\fontdocument}{mintspirit}}{\usepackage[default]{mintspirit}}{\ifthenelse{\equal{\fontdocument}{montserratalternatesextralight}}{\usepackage[defaultfam,extralight,tabular,lining,alternates]{montserrat}\renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}}}{\ifthenelse{\equal{\fontdocument}{montserratalternatesregular}}{\usepackage[defaultfam,tabular,lining,alternates]{montserrat}\renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}}}{\ifthenelse{\equal{\fontdocument}{montserratalternatesthin}}{\usepackage[defaultfam,thin,tabular,lining,alternates]{montserrat}\renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}}}{\ifthenelse{\equal{\fontdocument}{montserratextralight}}{\usepackage[defaultfam,extralight,tabular,lining]{montserrat}\renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}}}{\ifthenelse{\equal{\fontdocument}{montserratlight}}{\usepackage[defaultfam,light,tabular,lining]{montserrat}\renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}}}{\ifthenelse{\equal{\fontdocument}{montserratregular}}{\usepackage[defaultfam,tabular,lining]{montserrat}\renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}}}{\ifthenelse{\equal{\fontdocument}{montserratthin}}{\usepackage[defaultfam,thin,tabular,lining]{montserrat}\renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}}}{\ifthenelse{\equal{\fontdocument}{nimbussans}}{\usepackage{nimbussans}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{noto}}{\usepackage[sfdefault]{noto}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{opensansserif}}{\usepackage[default,oldstyle,scale=0.95]{opensans}}{\ifthenelse{\equal{\fontdocument}{overlock}}{\usepackage[sfdefault]{overlock}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{paratype}}{\usepackage{paratype}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{paratypesanscaption}}{\usepackage{PTSansCaption}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{paratypesansnarrow}}{\usepackage{PTSansNarrow}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{quattrocento}}{\usepackage[sfdefault]{quattrocento}}{\ifthenelse{\equal{\fontdocument}{raleway}}{\usepackage[default]{raleway}}{\ifthenelse{\equal{\fontdocument}{roboto}}{\usepackage[sfdefault]{roboto}}{\ifthenelse{\equal{\fontdocument}{robotocondensed}}{\usepackage[sfdefault,condensed]{roboto}}{\ifthenelse{\equal{\fontdocument}{robotolight}}{\usepackage[sfdefault,light]{roboto}}{\ifthenelse{\equal{\fontdocument}{robotolightcondensed}}{\usepackage[sfdefault,light,condensed]{roboto}}{\ifthenelse{\equal{\fontdocument}{robotothin}}{\usepackage[sfdefault,thin]{roboto}}{\ifthenelse{\equal{\fontdocument}{rosario}}{\usepackage[familydefault]{Rosario}}{\ifthenelse{\equal{\fontdocument}{sourcesanspro}}{\usepackage[default]{sourcesanspro}}{\ifthenelse{\equal{\fontdocument}{uarial}}{\usepackage{uarial}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{ugq}}{\renewcommand*\sfdefault{ugq}\renewcommand*\familydefault{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{universalis}}{\usepackage[sfdefault]{universalis}}{\ifthenelse{\equal{\fontdocument}{universaliscondensed}}{\usepackage[condensed,sfdefault]{universalis}}{\ifthenelse{\equal{\fontdocument}{venturis}}{\usepackage[lf]{venturis}\renewcommand*\familydefault{\sfdefault}}{\throwbadconfig[nostop]{Fuente desconocida}{\fontdocument}{(Fuentes recomendadas) lmodern,arial,arial2,helvet,times,alegreyasans,mathpazo}\throwbadconfig[noheader-nostop]{Fuente desconocida}{\fontdocument}{(Fuentes adicionales) accantis,alegreya,algolrevived,antiqua,antpolt,antpoltlight,anttor,anttorcondensed,anttorlight,anttorlightcondensed,arev,arimo,aurical,avant,baskervald,berasans,beraserif,biolinum,cabin,cabincondensed,cantarell,caladea,carlito,chivolight,chivoregular,clearsans,comfortaa,comicneue,comicneueangular,crimson,cyklop,dejavusans,dejavusanscondensed,droidsans,firasans,iwona,iwonacondensed,iwonalight,iwonalightcondensed,kurier}\throwbadconfig[noheader-nostop]{Fuente desconocida}{\fontdocument}{kuriercondensed,kurierlight,kurierlightcondensed,lato,libris,lxfonts,merriweather,merriweatherlight,mintspirit,montserratalternatesextralight,montserratalternatesregular,montserratalternatesthin,montserratextralight,montserratlight,montserratregular,montserratthin,nimbussans,noto,opensansserif,overlock,paratype,paratypesanscaption,paratypesansnarrow,quattrocento,raleway,roboto,robotolight,robotolightcondensed,robotothin,rosario,sourcesanspro,uarial,ugq}\throwbadconfig[noheader]{Fuente desconocida}{\fontdocument}{universalis,universaliscondensed,venturis}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}\ifthenelse{\equal{\fonttypewriter}{tmodern}}{\renewcommand*\ttdefault{lmvtt}}{\ifthenelse{\equal{\fonttypewriter}{anonymouspro}}{\usepackage[ttdefault=true]{AnonymousPro}}{\ifthenelse{\equal{\fonttypewriter}{ascii}}{\usepackage{ascii}\let\SI\relax}{\ifthenelse{\equal{\fonttypewriter}{beramono}}{\usepackage[scaled]{beramono}}{\ifthenelse{\equal{\fonttypewriter}{cmpica}}{\usepackage{addfont}\addfont{OT1}{cmpica}{\pica}\addfont{OT1}{cmpicab}{\picab}\addfont{OT1}{cmpicati}{\picati}\renewcommand*\ttdefault{pica}}{\ifthenelse{\equal{\fonttypewriter}{courier}}{\usepackage{courier}}{\ifthenelse{\equal{\fonttypewriter}{dejavusansmono}}{\usepackage[scaled]{DejaVuSansMono}}{\ifthenelse{\equal{\fonttypewriter}{firamono}}{\usepackage[scale=0.85]{FiraMono}}{\ifthenelse{\equal{\fonttypewriter}{gomono}}{\usepackage[scale=0.85]{GoMono}}{\ifthenelse{\equal{\fonttypewriter}{inconsolata}}{\usepackage{inconsolata}}{\ifthenelse{\equal{\fonttypewriter}{nimbusmono}}{\usepackage{nimbusmono}}{\ifthenelse{\equal{\fonttypewriter}{newtxtt}}{\usepackage[zerostyle=d]{newtxtt}}{\ifthenelse{\equal{\fonttypewriter}{nimbusmono}}{\usepackage{nimbusmono}}{\ifthenelse{\equal{\fonttypewriter}{nimbusmononarrow}}{\usepackage{nimbusmononarrow}}{\ifthenelse{\equal{\fonttypewriter}{lcmtt}}{\renewcommand*\ttdefault{lcmtt}}{\ifthenelse{\equal{\fonttypewriter}{sourcecodepro}}{\usepackage[ttdefault=true,scale=0.85]{sourcecodepro}}{\ifthenelse{\equal{\fonttypewriter}{texgyrecursor}}{\usepackage{tgcursor}}{\throwbadconfig{Fuente desconocida}{\fonttypewriter}{anonymouspro,ascii,beramono,cmpica,courier,dejavusansmono,firamono,gomono,inconsolata,kpmonospaced,lcmtt,newtxtt,nimbusmono,nimbusmononarrow,texgyrecursor,tmodern}}}}}}}}}}}}}}}}}}\usepackage[T1]{fontenc}\ifthenelse{\equal{\showlinenumbers}{true}}{\usepackage[switch,columnwise,running]{lineno}}{}\usepackage{csquotes}\ifthenelse{\equal{\compilertype}{pdf2latex}}{\inputencoding{utf8}}{}
% DECLARACIÓN DE FUNCIONES Y ENTORNOS
\newenvironment{references}{\ifthenelse{\equal{\stylecitereferences}{bibtex}}{}{\throwerror{\references}{Solo se puede usar entorno references con estilo citas \noexpand\stylecitereferences=bibtex}}\begingroup\ifthenelse{\equal{\sectionrefenv}{true}}{\section{\namereferences}}{\sectionanum{\namereferences}}\renewcommand{\section}[2]{}\begin{thebibliography}{}}{\end{thebibliography}\endgroup}\newenvironment{anexo}{\begingroup\clearpage\phantomsection\changeheadertitle{\nomltappendixsection}\def\GLOBALsectionalph{true}\bookmarksetup{numbered={true},openlevel={\thetemplateBookmarksLevelPrev}}\appendixtitleon\appendixtitletocon\bookmarksetupnext{level=part}\begin{appendices}\ifthenelse{\equal{\showappendixsecindex}{true}}{}{\pdfbookmark{\nameappendixsection}{contents}}\ifthenelse{\equal{\appendixindepobjnum}{true}}{\counterwithin{equation}{section}\counterwithin{figure}{section}\counterwithin{lstlisting}{section}\counterwithin{table}{section}}{}}{\end{appendices}\def\GLOBALsectionalph{false}\bookmarksetupnext{level={\thetemplateBookmarksLevelPrev}}\bookmarksetup{numbered={\cfgpdfsecnumbookmarks},openlevel={\cfgbookmarksopenlevel}}\endgroup}\newcommand{\coreinitsourcecodep}[4]{\emptyvarerr{\coreinitsourcecodep}{#2}{Estilo de codigo no definido}\checkvalidsourcecodestyle{#2}\ifthenelse{\equal{\showlinenumbers}{true}}{\rightlinenumbers}{}\lstset{backgroundcolor=\color{\sourcecodebgcolor}}\ifthenelse{\equal{\codecaptiontop}{true}}{\ifx\hfuzz#4\hfuzz\ifx\hfuzz#3\hfuzz\lstset{style=#2}\else\lstset{style=#2,#3}\fi\else\ifx\hfuzz#3\hfuzz\lstset{caption={#4 #1},captionpos=t,style=#2}\else\lstset{caption={#4 #1},captionpos=t,style=#2,#3}\fi\fi}{\ifx\hfuzz#4\hfuzz\ifx\hfuzz#3\hfuzz\lstset{style=#2}\else\lstset{style=#2,#3}\fi\else\ifx\hfuzz#3\hfuzz\lstset{caption={#4 #1},captionpos=b,style=#2}\else\lstset{caption={#4 #1},captionpos=b,style=#2,#3}\fi\fi}}\lstnewenvironment{sourcecodep}[4][]{\coreinitsourcecodep{#1}{#2}{#3}{#4}}{\ifthenelse{\equal{\showlinenumbers}{true}}{\leftlinenumbers}{}}\newcommand{\importsourcecodep}[5][]{\coreinitsourcecodep{#1}{#2}{#3}{#5}\inputlisting{#4}\ifthenelse{\equal{\showlinenumbers}{true}}{\leftlinenumbers}{}}\newcommand{\coreinitsourcecode}[3]{\emptyvarerr{\coreinitsourcecode}{#2}{Estilo de codigo no definido}\checkvalidsourcecodestyle{#2}\ifthenelse{\equal{\showlinenumbers}{true}}{\rightlinenumbers}{}\lstset{backgroundcolor=\color{\sourcecodebgcolor}}\ifthenelse{\equal{\codecaptiontop}{true}}{\ifx\hfuzz#3\hfuzz\lstset{style=#2}\else\lstset{style=#2,caption={#3 #1},captionpos=t}\fi}{\ifx\hfuzz#3\hfuzz\lstset{style=#2}\else\lstset{style=#2,caption={#3 #1},captionpos=b}\fi}}\lstnewenvironment{sourcecode}[3][]{\coreinitsourcecode{#1}{#2}{#3}}{\ifthenelse{\equal{\showlinenumbers}{true}}{\leftlinenumbers}{}}\newcommand{\importsourcecode}[4][]{\coreinitsourcecode{#1}{#2}{#4}\lstinputlisting{#3}\ifthenelse{\equal{\showlinenumbers}{true}}{\leftlinenumbers}{}}\newenvironment{itemizebf}[1][]{\begin{itemize}[font=\bfseries,#1]}{\end{itemize}}\newenvironment{enumeratebf}[1][]{\begin{enumerate}[font=\bfseries,#1]}{\end{enumerate}}\newenvironment{resumen}{\sectionfont{\color{\titlecolor} \fontsizetitle \styletitle \selectfont}\sectionanumnoiheadless{\nameabstract}}{}\newenvironment{images}[2][]{\def\envimageslabelvar {#1}\def\envimagescaptionvar {#2}\def\GLOBALenvimageinitialized {true}\def\GLOBALenvimageadded {false}\vspace{\marginimagetop cm}\captionsetup{margin=\captionmarginmultimg cm}\begin{figure}[H] \centering\vspace{\marginimagemulttop cm}}{\setcaptionmargincm{\captionlrmargin}\ifthenelse{\equal{\envimagescaptionvar}{}}{\vspace{\captionlessmarginimage cm}}{\caption{\envimagescaptionvar\envimageslabelvar}}\end{figure}\setcaptionmargincm{\captionlrmargin}\vspace{\marginimagebottom cm}\def\GLOBALenvimageinitialized {false}}
\newcommand{\newp}{\hbadness=10000 \vspace{\defaultnewlinesize pt} \par}\newcommand{\newpar}[1]{\hbadness=10000 #1 \newp}\newcommand{\newparnl}[1]{#1 \par}\newcommand{\itemresize}[2]{\emptyvarerr{\itemresize}{#1}{Tamano del nuevo objeto no definido}\emptyvarerr{\itemresize}{#2}{Objeto a redimensionar no definido}\resizebox{#1\textwidth}{!}{#2}}\newcommand{\insertemptypage}{\newpage\setcounter{templatePageCounter}{\thepage}\pagenumbering{gobble}\null\thispagestyle{empty}\newpage\pagenumbering{arabic}\setcounter{page}{\thetemplatePageCounter}}\newcommand{\insertblankpage}{\newpage\null\newpage}\newcommand{\includehfpdf}[2][]{\includepdf[pagecommand={\pagestyle{fancy}},#1]{#2}}\newcommand{\includefullhfpdf}[2][]{\includepdf[pages=-,pagecommand={\pagestyle{fancy}},#1]{#2}}\newcommand{\quotes}[1]{\enquote*{#1}}\newcommand{\scite}[1]{\textsuperscript{\cite{#1}}}\newcommand{\hreftext}[1]{\ifthenelse{\equal{\fonturl}{same}}{#1}{\ifthenelse{\equal{\fonturl}{tt}}{\texttt{#1}}{\ifthenelse{\equal{\fonturl}{rm}}{\textrm{#1}}{\ifthenelse{\equal{\fonturl}{sf}}{\textsf{#1}}{}}}}}\newcommand{\insertemail}[1]{\href{mailto:#1}{\hreftext{#1}}}\newcommand{\insertphone}[1]{\href{tel:#1}{\hreftext{#1}}}\newcommand{\restartequation}{\setcounter{equation}{0}}\newcommand{\disablecaptionmargin}{\setcaptionmargincm{0}}\newcommand{\resetcaptionmargin}{\setcaptionmargincm{\captionlrmargin}}\newcommand{\settablerowcolors}[1]{\emptyvarerr{\settablerowcolors}{#1}{Posicion de fila no definida}\ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{\ifthenelse{\equal{\tablerowfirstcolor}{none}}{\ifthenelse{\equal{\tablerowsecondcolor}{none}}{\rowcolors{#1}{}{}}{\rowcolors{#1}{\tablerowsecondcolor}{}}}{\ifthenelse{\equal{\tablerowsecondcolor}{none}}{\rowcolors{#1}{}{\tablerowfirstcolor}}{\rowcolors{#1}{\tablerowsecondcolor}{\tablerowfirstcolor}}}}{\ifthenelse{\equal{\tablerowfirstcolor}{none}}{\ifthenelse{\equal{\tablerowsecondcolor}{none}}{\rowcolors{#1}{}{}}{\rowcolors{#1}{}{\tablerowsecondcolor}}}{\ifthenelse{\equal{\tablerowsecondcolor}{none}}{\rowcolors{#1}{\tablerowfirstcolor}{}}{\rowcolors{#1}{\tablerowfirstcolor}{\tablerowsecondcolor}}}}\def\GLOBALtablerowcolorindex{#1}}\newcommand{\settablerowcolorslast}{\ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{\ifthenelse{\equal{\tablerowfirstcolor}{none}}{\ifthenelse{\equal{\tablerowsecondcolor}{none}}{\rowcolors{\GLOBALtablerowcolorindex}{}{}}{\rowcolors{\GLOBALtablerowcolorindex}{\tablerowsecondcolor}{}}}{\ifthenelse{\equal{\tablerowsecondcolor}{none}}{\rowcolors{\GLOBALtablerowcolorindex}{}{\tablerowfirstcolor}}{\rowcolors{\GLOBALtablerowcolorindex}{\tablerowsecondcolor}{\tablerowfirstcolor}}}}{\ifthenelse{\equal{\tablerowfirstcolor}{none}}{\ifthenelse{\equal{\tablerowsecondcolor}{none}}{\rowcolors{\GLOBALtablerowcolorindex}{}{}}{\rowcolors{\GLOBALtablerowcolorindex}{}{\tablerowsecondcolor}}}{\ifthenelse{\equal{\tablerowsecondcolor}{none}}{\rowcolors{\GLOBALtablerowcolorindex}{\tablerowfirstcolor}{}}{\rowcolors{\GLOBALtablerowcolorindex}{\tablerowfirstcolor}{\tablerowsecondcolor}}}}}\newcommand{\enabletablerowcolor}[1][]{\ifx\hfuzz#1\hfuzz\settablerowcolors{2}\else\settablerowcolors{#1}\fi}\newcommand{\disabletablerowcolor}{\rowcolors{2}{}{}}\newcommand{\switchtablerowcolors}{\ifthenelse{\equal{\GLOBALtablerowcolorswitch}{false}}{\def\GLOBALtablerowcolorswitch{true}}{\def\GLOBALtablerowcolorswitch{false}}\settablerowcolorslast}
\pretocmd{\chapter}{\ifthenelse{\equal{\showsectioncaptioncode}{chap}}{\addtocounter{templateListings}{\value{lstlisting}}\setcounter{lstlisting}{0}}{}\ifthenelse{\equal{\showsectioncaptioneqn}{chap}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\equationrestart}{chap}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\showsectioncaptionfig}{chap}}{\addtocounter{templateFigures}{\value{figure}}\setcounter{figure}{0}}{}\ifthenelse{\equal{\showsectioncaptiontab}{chap}}{\addtocounter{templateTables}{\value{table}}\setcounter{table}{0}}{}}{}{}\pretocmd{\section}{\ifthenelse{\equal{\showsectioncaptioncode}{sec}}{\addtocounter{templateListings}{\value{lstlisting}}\setcounter{lstlisting}{0}}{}\ifthenelse{\equal{\showsectioncaptioneqn}{sec}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\equationrestart}{sec}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\showsectioncaptionfig}{sec}}{\addtocounter{templateFigures}{\value{figure}}\setcounter{figure}{0}}{}\ifthenelse{\equal{\showsectioncaptiontab}{sec}}{\addtocounter{templateTables}{\value{table}}\setcounter{table}{0}}{}\ifthenelse{\equal{\GLOBALsectionalph}{true}}{\renewcommand{\thesubsection}{\Alph{section}.\arabic{subsection}}}{\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}}\def\GLOBALsectionanumenabled{false}\def\GLOBALsubsectionanumenabled{false}}{}{}\pretocmd{\subsection}{\ifthenelse{\equal{\showsectioncaptioncode}{ssec}}{\addtocounter{templateListings}{\value{lstlisting}}\setcounter{lstlisting}{0}}{}\ifthenelse{\equal{\showsectioncaptioneqn}{ssec}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\equationrestart}{ssec}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\showsectioncaptionfig}{ssec}}{\addtocounter{templateFigures}{\value{figure}}\setcounter{figure}{0}}{}\ifthenelse{\equal{\showsectioncaptiontab}{ssec}}{\addtocounter{templateTables}{\value{table}}\setcounter{table}{0}}{}\ifthenelse{\equal{\GLOBALsectionanumenabled}{true}}{\renewcommand{\thesubsubsection}{\arabic{subsection}.\arabic{subsubsection}}}{\ifthenelse{\equal{\GLOBALsectionalph}{true}}{\renewcommand{\thesubsubsection}{\Alph{section}.\arabic{subsection}.\arabic{subsubsection}}}{\renewcommand{\thesubsubsection}{\arabic{section}.\arabic{subsection}.\arabic{subsubsection}}}}\def\GLOBALsubsectionanumenabled{false}}{}{}\pretocmd{\subsubsection}{\ifthenelse{\equal{\showsectioncaptioncode}{sssec}}{\addtocounter{templateListings}{\value{lstlisting}}\setcounter{lstlisting}{0}}{}\ifthenelse{\equal{\showsectioncaptioneqn}{sssec}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\equationrestart}{sssec}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\showsectioncaptionfig}{sssec}}{\addtocounter{templateFigures}{\value{figure}}\setcounter{figure}{0}}{}\ifthenelse{\equal{\showsectioncaptiontab}{sssec}}{\addtocounter{templateTables}{\value{table}}\setcounter{table}{0}}{}\ifthenelse{\equal{\GLOBALsubsectionanumenabled}{true}}{\renewcommand{\thesubsubsubsection}{\arabic{subsubsection}.\arabic{subsubsubsection}}}{\ifthenelse{\equal{\GLOBALsectionanumenabled}{true}}{\ifthenelse{\equal{\showdotaftersnum}{true}}{\renewcommand{\thesubsubsubsection}{\arabic{subsection}.\arabic{subsubsection}.\arabic{subsubsubsection}.}}{\renewcommand{\thesubsubsubsection}{\arabic{subsection}.\arabic{subsubsection}.\arabic{subsubsubsection}}}}{\ifthenelse{\equal{\showdotaftersnum}{true}}{\ifthenelse{\equal{\GLOBALsectionalph}{true}}{\renewcommand{\thesubsubsubsection}{\Alph{section}.\arabic{subsection}.\arabic{subsubsection}.\arabic{subsubsubsection}.}}{\renewcommand{\thesubsubsubsection}{\arabic{section}.\arabic{subsection}.\arabic{subsubsection}.\arabic{subsubsubsection}.}}}{\ifthenelse{\equal{\GLOBALsectionalph}{true}}{\renewcommand{\thesubsubsubsection}{\Alph{section}.\arabic{subsection}.\arabic{subsubsection}.\arabic{subsubsubsection}}}{\renewcommand{\thesubsubsubsection}{\arabic{section}.\arabic{subsection}.\arabic{subsubsection}.\arabic{subsubsubsection}}}}}}}{}{}\pretocmd{\subsubsubsection}{\ifthenelse{\equal{\showsectioncaptioncode}{ssssec}}{\addtocounter{templateListings}{\value{lstlisting}}\setcounter{lstlisting}{0}}{}\ifthenelse{\equal{\showsectioncaptioneqn}{ssssec}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\equationrestart}{ssssec}}{\addtocounter{templateEquations}{\value{equation}}\setcounter{equation}{0}}{}\ifthenelse{\equal{\showsectioncaptionfig}{ssssec}}{\addtocounter{templateFigures}{\value{figure}}\setcounter{figure}{0}}{}\ifthenelse{\equal{\showsectioncaptiontab}{ssssec}}{\addtocounter{templateTables}{\value{table}}\setcounter{table}{0}}{}}{}{}\newcommand{\sectionanum}[1]{\emptyvarerr{\sectionanum}{#1}{Titulo no definido}\phantomsection\needspace{3\baselineskip}\section*{#1}\addcontentsline{toc}{section}{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{section}}{}\changeheadertitle{#1}\setcounter{subsection}{0}\renewcommand{\thesubsection}{\arabic{subsection}}\def\GLOBALsectionanumenabled{true}}\newcommand{\sectionanumnoi}[1]{\emptyvarerr{\sectionanumnoi}{#1}{Titulo no definido}\phantomsection\needspace{3\baselineskip}\section*{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{section}}{}\changeheadertitle{#1}\setcounter{subsection}{0}\renewcommand{\thesubsection}{\arabic{subsection}}\def\GLOBALsectionanumenabled{true}}\newcommand{\sectionanumheadless}[1]{\emptyvarerr{\sectionanumnoheadless}{#1}{Titulo no definido}\section*{#1}\addcontentsline{toc}{section}{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{section}}{}\setcounter{subsection}{0}\renewcommand{\thesubsection}{\arabic{subsection}}\def\GLOBALsectionanumenabled{true}}\newcommand{\sectionanumnoiheadless}[1]{\emptyvarerr{\sectionanumnoiheadless}{#1}{Titulo no definido}\section*{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{section}}{}\setcounter{subsection}{0}\renewcommand{\thesubsection}{\arabic{subsection}}\def\GLOBALsectionanumenabled{true}}\newcommand{\subsectionanum}[1]{\emptyvarerr{\subsectionanum}{#1}{Subtitulo no definido}\subsection*{#1}\addcontentsline{toc}{subsection}{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{subsection}}{}\setcounter{subsubsection}{0}\renewcommand{\thesubsubsection}{\arabic{subsubsection}}\def\GLOBALsubsectionanumenabled{true}}\newcommand{\subsectionanumnoi}[1]{\emptyvarerr{\subsectionanumnoi}{#1}{Subtitulo no definido}\subsection*{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{subsection}}{}\setcounter{subsubsection}{0}\renewcommand{\thesubsubsection}{\arabic{subsubsection}}\def\GLOBALsubsectionanumenabled{true}}\newcommand{\subsubsectionanum}[1]{\emptyvarerr{\subsubsectionanum}{#1}{Sub-subtitulo no definido}\subsubsection*{#1}\addcontentsline{toc}{subsubsection}{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{subsubsection}}{}\setcounter{subsubsubsection}{0}\ifthenelse{\equal{\showdotaftersnum}{true}}{\renewcommand{\thesubsubsubsection}{\arabic{subsubsubsection}.}}{\renewcommand{\thesubsubsubsection}{\arabic{subsubsubsection}}}}\newcommand{\subsubsectionanumnoi}[1]{\emptyvarerr{\subsubsectionanumnoi}{#1}{Sub-subtitulo no definido}\subsubsection*{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{subsubsection}}{}\setcounter{subsubsubsection}{0}\ifthenelse{\equal{\showdotaftersnum}{true}}{\renewcommand{\thesubsubsubsection}{\arabic{subsubsubsection}.}}{\renewcommand{\thesubsubsubsection}{\arabic{subsubsubsection}}}}\newcommand{\subsubsubsectionanum}[1]{\emptyvarerr{\subsubsubsectionanum}{#1}{Sub-sub-subtitulo no definido}\subsubsubsection*{#1}\addcontentsline{toc}{subsubsubsection}{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{subsubsubsection}}{}}\newcommand{\subsubsubsectionanumnoi}[1]{\emptyvarerr{\subsubsubsectionanumnoi}{#1}{Sub-sub-subtitulo no definido}\subsubsection*{#1}\ifthenelse{\equal{\anumsecaddtocounter}{true}}{\stepcounter{subsubsubsection}}{}}\newcommand{\changeheadertitle}[1]{\emptyvarerr{\changeheadertitle}{#1}{Titulo no definido}\markboth{#1}{}}\newcommand{\clearheadertitle}{\markboth{}{}}\newcommand{\insertindextitle}[2][]{\emptyvarerr{\insertindextitle}{#2}{Titulo no definido}\ifx\hfuzz#1\hfuzz\addtocontents{toc}{\protect\addvspace{\indextitlemargin pt}}\else\addtocontents{toc}{\protect\addvspace{#1 pt}}\fi\addtocontents{toc}{\noindent\hyperref[swpn]{\textbf{#2}}}}\newcommand{\insertindextitlepage}[2][]{\emptyvarerr{\insertindextitlepage}{#2}{Titulo no definido}\ifx\hfuzz#1\hfuzz\addtocontents{toc}{\protect\addvspace{\indextitlemargin pt}}\else\addtocontents{toc}{\protect\addvspace{#1 pt}}\fi\addcontentsline{toc}{section}{#2}}\newcommand{\createhiddensection}[2][]{\changeheadertitle{#2}\insertindextitlepage[#1]{#2}}\newcommand{\newchapter}[1]{\emptyvarerr{\newchapter}{#1}{Titulo no definido}\newpage\stepcounter{section}\phantomsection\needspace{3\baselineskip}\vspace* {3cm}\noindent {\huge{\textbf{\nomchapter\ \thesection}}} \\\vspace* {0.5cm} \\\noindent {\Huge{\textbf{#1}}} \\\vspace {0.5cm} \\\addcontentsline{toc}{section}{\protect\numberline{\thesection}#1}\markboth{#1}{}}
\newcommand{\addimage}[3]{\addimageboxed{#1}{#2}{0}{#3}}\newcommand{\addimageboxed}[4]{\checkonlyonenvimage\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#3 pt}\ifthenelse{\equal{\GLOBALenvimageadded}{true}}{\hspace{\marginimagemultright cm}\hspace{-0.125cm}}{}\subfloat[#4]{\fbox{\includegraphics[#2]{#1}}}\endgroup\ifthenelse{\equal{\GLOBALenvimageadded}{true}}{}{\def\GLOBALenvimageadded {true}}}\newcommand{\imagesnewline}{\checkonlyonenvimage\def\GLOBALenvimageadded {false}\\\hspace{\GLOBALenvimagenewlinemarg cm}}\newcommand{\imageshspace}[1]{\checkonlyonenvimage\def\GLOBALenvimageadded {false}\hspace{#1}}\newcommand{\imagesvspace}[1]{\checkonlyonenvimage\def\GLOBALenvimageadded {false}~ \\ \vspace*{#1}}\newcommand{\insertimage}[4][]{\insertimageboxed[#1]{#2}{#3}{0}{#4}}\newcommand{\insertimageboxed}[5][]{\emptyvarerr{\insertimageboxed}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimageboxed}{#3}{Parametros de la imagen no definidos}\emptyvarerr{\insertimageboxed}{#4}{Ancho de la linea no definido}\checkoutsideenvimage\vspace{\marginimagetop cm}\begin{figure}[H]\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#4 pt}\centering\fbox{\includegraphics[#3]{#2}}\endgroup\ifx\hfuzz#5\hfuzz\vspace{\captionlessmarginimage cm}\else\hspace{0cm}\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#5 #1}}{\caption[\GLOBALcaptiondefn]{#5 #1}}\fi\end{figure}\vspace{\marginimagebottom cm}\resetindexcaption}\newcommand{\inserttableimage}[2]{\inserttableimageboxed{#1}{#2}{0}}\newcommand{\inserttableimageboxed}[3]{\emptyvarerr{\inserttableimageboxed}{#1}{Direccion de la imagen no definida}\emptyvarerr{\inserttableimageboxed}{#2}{Parametros de la imagen no definidos}\emptyvarerr{\inserttableimageboxed}{#3}{Ancho de la linea no definido}\checkoutsideenvimage\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#3 pt}\raisebox{-1\totalheight}{\fbox{\includegraphics[#2]{#1}}}\endgroup\resetindexcaption}\newcommand{\insertimageleft}[4][]{\insertimageleftboxed[#1]{#2}{#3}{0}{#4}}\newcommand{\insertimageleftboxed}[5][]{\emptyvarerr{\insertimageleftboxed}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimageleftboxed}{#3}{Ancho de la imagen no definido}\emptyvarerr{\insertimageleftboxed}{#4}{Ancho de la linea no definido}\checkoutsideenvimage~\vspace{-\baselineskip}\par\begin{wrapfigure}{l}{#3\textwidth}\setcaptionmargincm{0}\ifthenelse{\equal{\figurecaptiontop}{true}}{}{\vspace{\marginfloatimages pt}}\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#4 pt}\centering\fbox{\includegraphics[width=\linewidth]{#2}}\endgroup\ifx\hfuzz#5\hfuzz\vspace{\captionlessmarginimage cm}\else\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#5 #1}}{\caption[\GLOBALcaptiondefn]{#5 #1}}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}\resetindexcaption}\newcommand{\insertimageleftline}[5][]{\insertimageleftlineboxed[#1]{#2}{#3}{0}{#4}{#5}}\newcommand{\insertimageleftlineboxed}[6][]{\emptyvarerr{\insertimageleftlineboxed}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimageleftlineboxed}{#3}{Ancho de la imagen no definido}\emptyvarerr{\insertimageleftlineboxed}{#4}{Ancho de la linea no definido}\emptyvarerr{\insertimageleftlineboxed}{#5}{Altura en lineas de la imagen flotante izquierda no definida}\checkoutsideenvimage~\vspace{-\baselineskip}\par\begin{wrapfigure}[#5]{l}{#3\textwidth}\setcaptionmargincm{0}\ifthenelse{\equal{\figurecaptiontop}{true}}{}{\vspace{\marginfloatimages pt}}\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#4 pt}\centering\fbox{\includegraphics[width=\linewidth]{#2}}\endgroup\ifx\hfuzz#6\hfuzz\vspace{\captionlessmarginimage cm}\else\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#6 #1}}{\caption[\GLOBALcaptiondefn]{#6 #1}}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}\resetindexcaption}\newcommand{\insertimageright}[4][]{\insertimagerightboxed[#1]{#2}{#3}{0}{#4}}\newcommand{\insertimagerightboxed}[5][]{\emptyvarerr{\insertimagerightboxed}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimagerightboxed}{#3}{Ancho de la imagen no defindo}\emptyvarerr{\insertimagerightboxed}{#4}{Ancho de la linea no definido}\checkoutsideenvimage~\vspace{-\baselineskip}\par\begin{wrapfigure}{r}{#3\textwidth}\setcaptionmargincm{0}\ifthenelse{\equal{\figurecaptiontop}{true}}{}{\vspace{\marginfloatimages pt}}\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#4 pt}\centering\fbox{\includegraphics[width=\linewidth]{#2}}\endgroup\ifx\hfuzz#5\hfuzz\vspace{\captionlessmarginimage cm}\else\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#5 #1}}{\caption[\GLOBALcaptiondefn]{#5 #1}}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}\resetindexcaption}\newcommand{\insertimagerightline}[5][]{\insertimagerightlineboxed[#1]{#2}{#3}{0}{#4}{#5}}\newcommand{\insertimagerightlineboxed}[6][]{\emptyvarerr{\insertimagerightlineboxed}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimagerightlineboxed}{#3}{Ancho de la imagen no defindo}\emptyvarerr{\insertimagerightlineboxed}{#4}{Ancho de la linea no definido}\emptyvarerr{\insertimagerightlineboxed}{#5}{Altura en lineas de la imagen flotante derecha no definida}\checkoutsideenvimage~\vspace{-\baselineskip}\par\begin{wrapfigure}[#5]{r}{#3\textwidth}\setcaptionmargincm{0}\ifthenelse{\equal{\figurecaptiontop}{true}}{}{\vspace{\marginfloatimages pt}}\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#4 pt}\centering\fbox{\includegraphics[width=\linewidth]{#2}}\endgroup\ifx\hfuzz#6\hfuzz\vspace{\captionlessmarginimage cm}\else\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#6 #1}}{\caption[\GLOBALcaptiondefn]{#6 #1}}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}\resetindexcaption}\newcommand{\insertimageleftp}[5][]{\xspace~\\\vspace{-2\baselineskip}\par\insertimageleftboxedp[#1]{#2}{#3}{#4}{0}{#5}}\newcommand{\insertimageleftboxedp}[6][]{\emptyvarerr{\insertimageleftboxedp}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimageleftboxedp}{#3}{Ancho del objeto no definido}\emptyvarerr{\insertimageleftboxedp}{#4}{Propiedades de la imagen no defindos}\emptyvarerr{\insertimageleftboxedp}{#5}{Ancho de la linea no definido}\checkoutsideenvimage~\vspace{-\baselineskip}\par\begin{wrapfigure}{l}{#3}\setcaptionmargincm{0}\ifthenelse{\equal{\figurecaptiontop}{true}}{}{\vspace{\marginfloatimages pt}}\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#5 pt}\centering\fbox{\includegraphics[#4]{#2}}\endgroup\ifx\hfuzz#6\hfuzz\vspace{\captionlessmarginimage cm}\else\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#6 #1}}{\caption[\GLOBALcaptiondefn]{#6 #1}}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}\resetindexcaption}\newcommand{\insertimageleftlinep}[6][]{\insertimageleftlineboxedp[#1]{#2}{#3}{#4}{0}{#5}{#6}}\newcommand{\insertimageleftlineboxedp}[7][]{\emptyvarerr{\insertimageleftlineboxedp}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimageleftlineboxedp}{#3}{Ancho del objeto no definido}\emptyvarerr{\insertimageleftlineboxedp}{#4}{Propiedades de la imagen no definidos}\emptyvarerr{\insertimageleftlineboxedp}{#5}{Ancho de la linea no definido}\emptyvarerr{\insertimageleftlineboxedp}{#6}{Altura en lineas de la imagen flotante izquierda no definida}\checkoutsideenvimage~\vspace{-\baselineskip}\par\begin{wrapfigure}[#6]{l}{#3}\setcaptionmargincm{0}\ifthenelse{\equal{\figurecaptiontop}{true}}{}{\vspace{\marginfloatimages pt}}\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#5 pt}\centering\fbox{\includegraphics[#4]{#2}}\endgroup\ifx\hfuzz#7\hfuzz\vspace{\captionlessmarginimage cm}\else\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#7 #1}}{\caption[\GLOBALcaptiondefn]{#7 #1}}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}\resetindexcaption}\newcommand{\insertimagerightp}[5][]{\xspace~\\\vspace{-2\baselineskip}\par\insertimagerightboxedp[#1]{#2}{#3}{#4}{0}{#5}}\newcommand{\insertimagerightboxedp}[6][]{\emptyvarerr{\insertimagerightboxedp}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimagerightboxedp}{#3}{Ancho del objeto no definido}\emptyvarerr{\insertimagerightboxedp}{#4}{Propiedades de la imagen no definidos}\emptyvarerr{\insertimagerightboxedp}{#5}{Ancho de la linea no definido}\checkoutsideenvimage~\vspace{-\baselineskip}\par\begin{wrapfigure}{r}{#3}\setcaptionmargincm{0}\ifthenelse{\equal{\figurecaptiontop}{true}}{}{\vspace{\marginfloatimages pt}}\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#5 pt}\centering\fbox{\includegraphics[#4]{#2}}\endgroup\ifx\hfuzz#6\hfuzz\vspace{\captionlessmarginimage cm}\else\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#6 #1}}{\caption[\GLOBALcaptiondefn]{#6 #1}}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}\resetindexcaption}\newcommand{\insertimagerightlinep}[6][]{\insertimagerightlineboxedp[#1]{#2}{#3}{#4}{0}{#5}{#6}}\newcommand{\insertimagerightlineboxedp}[7][]{\emptyvarerr{\insertimagerightlineboxedp}{#2}{Direccion de la imagen no definida}\emptyvarerr{\insertimagerightlineboxedp}{#3}{Ancho del objeto no definido}\emptyvarerr{\insertimagerightlineboxedp}{#4}{Propiedades de la imagen no definidos}\emptyvarerr{\insertimagerightlineboxedp}{#5}{Ancho de la linea no definido}\emptyvarerr{\insertimagerightlineboxedp}{#6}{Altura en lineas de la imagen flotante derecha no definida}\checkoutsideenvimage~\vspace{-\baselineskip}\par\begin{wrapfigure}[#6]{r}{#3}\setcaptionmargincm{0}\ifthenelse{\equal{\figurecaptiontop}{true}}{}{\vspace{\marginfloatimages pt}}\begingroup\setlength{\fboxsep}{0 pt}\setlength{\fboxrule}{#5 pt}\centering\fbox{\includegraphics[#4]{#2}}\endgroup\ifx\hfuzz#7\hfuzz\vspace{\captionlessmarginimage cm}\else\ifthenelse{\equal{\GLOBALcaptiondefn}{EMPTY-VAR}}{\caption{#7 #1}}{\caption[\GLOBALcaptiondefn]{#7 #1}}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}\resetindexcaption}\makeatletter\define@key{Gin}{resolution}{\pdfimageresolution=#1\relax}\makeatother
\newcommand{\equationresize}[2]{\emptyvarerr{\equationresize}{#1}{Dimension no definida}\emptyvarerr{\equationresize}{#2}{Ecuacion a redimensionar no definida}\resizebox{#1\textwidth}{!}{$#2$}}\newcommand{\insertindexequation}[3][]{\emptyvarerr{\insertindexequation}{#2}{Ecuacion no definida}\emptyvarerr{\insertindexequation}{#3}{Leyenda no definida}\vspace{\margineqnindextop cm}\begin{align}\text{#1} \ensuremath{#2}\end{align}\vspace{\margineqnindexbottom cm}\myindexequations{#3}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{\textit{#3}}\end{changemargin}\addtocounter{templateIndexEquations}{1}}\newcommand{\insertequation}[2][]{\emptyvarerr{\insertequation}{#2}{Ecuacion no definida}\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginequationtop cm}\begin{equation}\text{#1} #2\end{equation}\vspace{\marginequationbottom cm}}{\ifx\hfuzz#1\hfuzz\else\throwwarning{Label invalido en ecuacion sin numero}\fi\insertequationanum{#2}}}\newcommand{\insertequationanum}[1]{\emptyvarerr{\insertequationanum}{#1}{Ecuacion no definida}\vspace{\marginequationtop cm}\begin{equation*}\ensuremath{#1}\end{equation*}\vspace{\marginequationbottom cm}}\newcommand{\insertequationleft}[2][]{\emptyvarerr{\insertequationleft}{#2}{Ecuacion no definida}\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginequationtop cm}\vspace{-\baselineskip}\begin{equation}\hfilneg \text{#1} #2 \hspace{10000pt minus 1fil}\end{equation}\vspace{\marginequationbottom cm}}{\ifx\hfuzz#1\hfuzz\else\throwwarning{Label invalido en ecuacion sin numero}\fi\insertequationleftanum{#2}}}\newcommand{\insertequationleftanum}[1]{\emptyvarerr{\insertequationleftanum}{#1}{Ecuacion no definida}\vspace{\marginequationtop cm}\vspace{-\baselineskip}\begin{equation*}\hfilneg \ensuremath{#1} \hspace{10000pt minus 1fil}\end{equation*}\vspace{\marginequationbottom cm}}\newcommand{\insertequationright}[2][]{\emptyvarerr{\insertequationright}{#2}{Ecuacion no definida}\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginequationtop cm}\vspace{-\baselineskip}\begin{equation}\hspace{10000pt minus 1fil} \text{#1} #2 \hfilneg\end{equation}\vspace{\marginequationbottom cm}}{\ifx\hfuzz#1\hfuzz\else\throwwarning{Label invalido en ecuacion sin numero}\fi\insertequationrightanum{#2}}}\newcommand{\insertequationrightanum}[1]{\emptyvarerr{\insertequationrightanum}{#1}{Ecuacion no definida}\vspace{\marginequationtop cm}\vspace{-\baselineskip}\begin{equation*}\hspace{10000pt minus 1fil} \ensuremath{#1} \hfilneg\end{equation*}\vspace{\marginequationbottom cm}}\newcommand{\insertequationcaptioned}[3][]{\emptyvarerr{\insertequationcaptioned}{#2}{Ecuacion no definida}\ifx\hfuzz#3\hfuzz\insertequation[#1]{#2}\else\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginequationtop cm}\begin{equation}\text{#1} #2\end{equation}\vspace{\margineqncaptiontop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#3}\vspace{\margineqncaptionbottom cm}\end{changemargin}\vspace{\margineqncaptionbottom cm}}{\ifx\hfuzz#1\hfuzz\else\throwwarning{Label invalido en ecuacion sin numero}\fi\insertequationcaptionedanum{#2}{#3}}\fi}\newcommand{\insertequationcaptionedanum}[2]{\emptyvarerr{\insertequationcaptionedanum}{#1}{Ecuacion no definida}\ifx\hfuzz#2\hfuzz\insertequationanum{#1}\else\vspace{\marginequationtop cm}\begin{equation*}\ensuremath{#1}\end{equation*}\vspace{\margineqncaptiontop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#2}\vspace{\margineqncaptionbottom cm}\end{changemargin}\vspace{\margineqncaptionbottom cm}\fi}\newcommand{\insertgather}[1]{\emptyvarerr{\insertgather}{#1}{Ecuacion no definida}\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\margingathertop cm}\begin{gather}\ensuremath{#1}\end{gather}\vspace{\margingatherbottom cm}}{\insertgatheranum{#1}}}\newcommand{\insertgatheranum}[1]{\emptyvarerr{\insertgatheranum}{#1}{Ecuacion no definida}\vspace{\margingathertop cm}\begin{gather*}\ensuremath{#1}\end{gather*}\vspace{\margingatherbottom cm}}\newcommand{\insertgathercaptioned}[2]{\emptyvarerr{\insertgathercaptioned}{#1}{Ecuacion no definida}\ifx\hfuzz#2\hfuzz\insertgather{#1}\else\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\margingathertop cm}\begin{gather}\ensuremath{#1}\end{gather}\vspace{\margingathercapttop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#2}\vspace{\margingathercaptbottom cm}\end{changemargin}\vspace{\margingathercaptbottom cm}}{\insertgathercaptionedanum{#1}{#2}}\fi}\newcommand{\insertgathercaptionedanum}[2]{\emptyvarerr{\insertgathercaptionedanum}{#1}{Ecuacion no definida}\ifx\hfuzz#2\hfuzz\insertgatheranum{#1}\else\vspace{\margingathertop cm}\begin{gather*}\ensuremath{#1}\end{gather*}\vspace{\margingathercapttop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#2}\vspace{\margingathercaptbottom cm}\end{changemargin}\vspace{\margingathercaptbottom cm}\fi}\newcommand{\insertgathered}[2][]{\emptyvarerr{\insertgathered}{#2}{Ecuacion no definida}\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginequationtop cm}\begin{equation}\begin{gathered}\text{#1} \ensuremath{#2}\end{gathered}\end{equation}\vspace{\margingatheredbottom cm}}{\ifx\hfuzz#1\hfuzz\else\throwwarning{Label invalido en ecuacion (gathered) sin numero}\fi\vspace{\margingatheredtop cm}\begin{gather*}\ensuremath{#2}\end{gather*}\vspace{\margingatheredbottom cm}}}\newcommand{\insertgatheredanum}[1]{\emptyvarerr{\insertgatheredanum}{#1}{Ecuacion no definida}\vspace{\margingatheredtop cm}\begin{gather*}\ensuremath{#1}\end{gather*}\vspace{\margingatheredbottom cm}}\newcommand{\insertgatheredcaptioned}[3][]{\emptyvarerr{\insertgatheredcaptioned}{#2}{Ecuacion no definida}\ifx\hfuzz#3\hfuzz\insertgathered[#1]{#2}\else\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginequationtop cm}\begin{equation}\begin{gathered}\text{#1} \ensuremath{#2}\end{gathered}\end{equation}\vspace{\margingatheredcapttop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#3}\vspace{\margingatheredcaptbottom cm}\end{changemargin}\vspace{\margingatheredcaptbottom cm}}{\ifx\hfuzz#1\hfuzz\else\throwwarning{Label invalido en ecuacion (gathered) sin numero}\fi\insertgatheredcaptionedanum{#2}{#3}}\fi}\newcommand{\insertgatheredcaptionedanum}[2]{\emptyvarerr{\insertgatheredcaptionedanum}{#1}{Ecuacion no definida}\ifx\hfuzz#2\hfuzz\insertgatheredanum{#1}\else\vspace{\margingatheredtop cm}\begin{gather*}\ensuremath{#1}\end{gather*}\vspace{\margingatheredcapttop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#2}\vspace{\margingatheredcaptbottom cm}\end{changemargin}\vspace{\margingathercaptbottom cm}\fi}\newcommand{\insertalign}[1]{\emptyvarerr{\insertalign}{#1}{Ecuacion no definida}\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginaligntop cm}\begin{align}\ensuremath{#1}\end{align}\vspace{\marginalignbottom cm}}{\insertalignanum{#1}}}\newcommand{\insertalignanum}[1]{\emptyvarerr{\insertalignanum}{#1}{Ecuacion no definida}\vspace{\marginaligntop cm}\begin{align*}\ensuremath{#1}\end{align*}\vspace{\marginalignbottom cm}}\newcommand{\insertaligncaptioned}[2]{\emptyvarerr{\insertaligncaptioned}{#1}{Ecuacion no definida}\ifx\hfuzz#2\hfuzz\insertalign{#1}\else\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginaligntop cm}\begin{align}\ensuremath{#1}\end{align}\vspace{\marginaligncapttop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#2}\vspace{\marginaligncaptbottom cm}\end{changemargin}\vspace{\marginaligncaptbottom cm}}{\insertaligncaptionedanum{#1}{#2}}\fi}\newcommand{\insertaligncaptionedanum}[2]{\emptyvarerr{\insertaligncaptionedanum}{#1}{Ecuacion no definida}\ifx\hfuzz#2\hfuzz\insertalignanum{#1}\else\vspace{\marginaligntop cm}\begin{align*}\ensuremath{#1}\end{align*}\vspace{\marginaligncapttop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#2}\vspace{\marginaligncaptbottom cm}\end{changemargin}\vspace{\marginaligncaptbottom cm}\fi}\newcommand{\insertaligned}[2][]{\emptyvarerr{\insertaligned}{#2}{Ecuacion no definida}\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginequationtop cm}\begin{equation}\begin{aligned}\text{#1} \ensuremath{#2}\end{aligned}\end{equation}\vspace{\marginalignedbottom cm}}{\ifx\hfuzz#1\hfuzz\else\throwwarning{Label invalido en ecuacion (aligned) sin numero}\fi\insertalignedanum{#2}}}\newcommand{\insertalignedanum}[1]{\emptyvarerr{\insertalignedanum}{#1}{Ecuacion no definida}\vspace{\marginalignedtop cm}\begin{align*}\ensuremath{#1}\end{align*}\vspace{\marginalignedbottom cm}}\newcommand{\insertalignedcaptioned}[3][]{\emptyvarerr{\insertalignedcaptioned}{#2}{Ecuacion no definida}\ifx\hfuzz#3\hfuzz\insertaligned[#1]{#2}\else\ifthenelse{\equal{\numberedequation}{true}}{\vspace{\marginequationtop cm}\begin{equation}\begin{aligned}\text{#1} \ensuremath{#2}\end{aligned}\end{equation}\vspace{\marginalignedcapttop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#3}\vspace{\marginalignedcaptbottom cm}\end{changemargin}\vspace{\marginalignedcaptbottom cm}}{\ifx\hfuzz#1\hfuzz\else\throwwarning{Label invalido en ecuacion (aligned) sin numero}\fi\insertalignedcaptionedanum{#2}{#3}}\fi}\newcommand{\insertalignedcaptionedanum}[2]{\emptyvarerr{\insertalignedcaptionedanum}{#1}{Ecuacion no definida}\ifx\hfuzz#2\hfuzz\insertalignedanum{#1}\else\vspace{\marginequationtop cm}\begin{equation}\begin{aligned}\ensuremath{#1}\end{aligned}\end{equation}\vspace{\marginalignedcapttop cm}\begin{changemargin}{\captionlrmargin cm}{\captionlrmargin cm}\centering \textcolor{\captiontextcolor}{#2}\vspace{\marginalignedcaptbottom cm}\end{changemargin}\vspace{\marginalignedcaptbottom cm}\fi}
\newcommand{\lpow}[2]{\ensuremath{{#1}_{#2}}}\newcommand{\pow}[2]{\ensuremath{{#1}^{#2}}}\newcommand{\aasin}[1][]{\ifx\hfuzz#1\hfuzz\ensuremath{\sin^{-1}#1}\else\ensuremath{{\sin}^{-1}}\fi}\newcommand{\aacos}[1][]{\ifx\hfuzz#1\hfuzz\ensuremath{\cos^{-1}#1}\else\ensuremath{\cos^{-1}}\fi}\newcommand{\aatan}[1][]{\ifx\hfuzz#1\hfuzz\ensuremath{\tan^{-1}#1}\else\ensuremath{\tan^{-1}}\fi}\newcommand{\aacsc}[1][]{\ifx\hfuzz#1\hfuzz\ensuremath{\csc^{-1}#1}\else\ensuremath{\csc^{-1}}\fi}\newcommand{\aasec}[1][]{\ifx\hfuzz#1\hfuzz\ensuremath{\sec^{-1}#1}\else\ensuremath{\sec^{-1}}\fi}\newcommand{\aacot}[1][]{\ifx\hfuzz#1\hfuzz\ensuremath{\cot^{-1}#1}\else\ensuremath{\cot^{-1}}\fi}\newcommand{\fracpartial}[2]{\ensuremath{\pdv{#1}{#2}}}\newcommand{\fracdpartial}[2]{\ensuremath{\pdv[2]{#1}{#2}}}\newcommand{\fracnpartial}[3]{\ensuremath{\pdv[#3]{#1}{#2}}}\newcommand{\fracderivat}[2]{\ensuremath{\dv{#1}{#2}}}\newcommand{\fracdderivat}[2]{\ensuremath{\dv[2]{#1}{#2}}}\newcommand{\fracnderivat}[3]{\ensuremath{\dv[#3]{#1}{#2}}}\newcommand{\topequal}[2]{\ensuremath{\overbrace{#1}^{\mathclap{#2}}}}\newcommand{\underequal}[2]{\ensuremath{\underbrace{#1}_{\mathclap{#2}}}}\newcommand{\topsequal}[2]{\ensuremath{\overbracket{#1}^{\mathclap{#2}}}}\newcommand{\undersequal}[2]{\ensuremath{\underbracket{#1}_{\mathclap{#2}}}}\newcommand{\bigp}[1]{\ensuremath{\big(#1\big)}}\newcommand{\biggp}[1]{\ensuremath{\bigg(#1\bigg)}}\newcommand{\bigc}[1]{\ensuremath{\big[#1\big]}}\newcommand{\biggc}[1]{\ensuremath{\bigg[#1\bigg]}}\newcommand{\bigb}[1]{\ensuremath{\big\{#1\big\}}}\newcommand{\biggb}[1]{\ensuremath{\bigg\{#1\bigg\}}}\newcommand{\divexp}{\ensuremath{\rm{div}\ }}\newcommand{\Autexp}{\ensuremath{\rm{Aut}}}\newcommand{\Diffexp}{\ensuremath{\rm{Diff}}}\newcommand{\Imexp}{\ensuremath{\rm{Im}}}\newcommand{\Imzexp}{\ensuremath{\rm{Im}(z)}}\newcommand{\Reexp}{\ensuremath{\rm{Re}}}\newcommand{\Rezexp}{\ensuremath{\rm{Re}(z)}}\newcommand{\A}{\mathcal{A}}\let\oldC=\C\renewcommand{\C}{\mathbb{C}}\newcommand{\D}{\mathbb{D}}\newcommand{\E}{\mathbb{E}}\newcommand{\F}{\mathcal{F}}\let\oldG=\G\renewcommand{\G}{\mathcal{G}}\let\oldH=\H\renewcommand{\H}{\mathcal{H}}\newcommand{\K}{\mathcal{K}}\let\oldL=\L\renewcommand{\L}{\mathcal{L}}\newcommand{\M}{\mathcal{M}}\newcommand{\N}{\mathbb{N}}\let\oldP=\P\renewcommand{\P}{\mathbb{P}}\newcommand{\Q}{\mathbb{Q}}\newcommand{\R}{\mathbb{R}}\let\oldS=\S\renewcommand{\S}{\mathcal{S}}\newcommand{\T}{\mathcal{T}}\newcommand{\Z}{\mathbb{Z}}\newcommand{\overbar}[1]{\mkern 1.5mu\overline{\mkern-1.5mu#1\mkern-1.5mu}\mkern 1.5mu}\makeatletter\renewenvironment{proof}[1][\proofname] {\par\pushQED{\qed}\normalfont\topsep6\p@\@plus6\p@\relax\trivlist\item[\hskip\labelsep\scshape\footnotesize#1\@addpunct{.}]\ignorespaces}{\popQED\endtrivlist\@endpefalse}\makeatother
\def\GLOBALcaptiondefn {EMPTY-VAR}\def\GLOBALcoretikzimported {false}\def\GLOBALenvimageadded {false}\def\GLOBALenvimageinitialized {false}\def\GLOBALenvimagenewlinemarg {0.0}\def\GLOBALsectionalph {false}\def\GLOBALsectionanumenabled {false}\def\GLOBALsubsectionanumenabled {false}\def\GLOBALtablerowcolorindex {2}\def\GLOBALtablerowcolorswitch {false}\newcounter{templateEquations}\newcounter{templateIndexEquations}\newcounter{templateFigures}\newcounter{templatePageCounter}\newcounter{templateTables}\newcounter{templateListings}\newcounter{templateBookmarksLevelPrev}\setcounter{templateBookmarksLevelPrev}{\cfgbookmarksopenlevel}\addtocounter{templateBookmarksLevelPrev}{-1}\newcounter{chapter}\let\latex\LaTeX\newcommand{\throwerror}[2]{\errmessage{LaTeX Error: \noexpand#1 #2 (linea \the\inputlineno)}\stop}\newcommand{\throwwarning}[1]{\errmessage{LaTeX Warning: #1 (linea \the\inputlineno)}}\newcommand{\throwbadconfigondoc}[3]{\errmessage{#1 \noexpand #2=#2. Valores esperados: #3}\stop}\newcommand{\checkvardefined}[1]{\ifthenelse{\isundefined{#1}}{\errmessage{LaTeX Warning: Variable \noexpand#1 no definida}\stop}{}}\newcommand{\checkextravarexist}[2]{\ifthenelse{\isundefined{#1}}{\errmessage{LaTeX Warning: Variable \noexpand#1 no definida}\ifx\hfuzz#2\hfuzz\errmessage{LaTeX Warning: Defina la variable en el bloque de INFORMACION DEL DOCUMENTO al comienzo del archivo principal del template}\else\errmessage{LaTeX Warning: #2}\fi}{}}\newcommand{\emptyvarerr}[3]{\ifx\hfuzz#2\hfuzz\errmessage{LaTeX Warning: \noexpand#1 #3 (linea \the\inputlineno)}\fi}\newcommand{\setcaptionmargincm}[1]{\captionsetup{margin=#1cm}}\newcommand{\setpagemargincm}[4]{\ifthenelse{\equal{\compilertype}{lualatex}}{}{\newgeometry{left=#1cm, top=#2cm, right=#3cm, bottom=#4cm}}}\newcommand{\setindexcaption}[1]{\def\GLOBALcaptiondefn{#1}}\newcommand{\resetindexcaption}{\def\GLOBALcaptiondefn{EMPTY-VAR}}\newcommand{\changemargin}[2]{\emptyvarerr{\changemargin}{#1}{Margen izquierdo no definido}\emptyvarerr{\changemargin}{#2}{Margen derecho no definido}\list{}{\rightmargin#2\leftmargin#1}\item[]}\let\endchangemargin=\endlist\newcommand{\coreimporttikz}{\ifthenelse{\equal{\GLOBALcoretikzimported}{false}}{\ifthenelse{\equal{\importtikz}{false}}{\usepackage{tikz}}{}\def\GLOBALcoretikzimported{true}}{}}\def\bgtemplatetestcode {d0g3}\newcommand{\checkonlyonenvimage}{\ifthenelse{\equal{\GLOBALenvimageinitialized}{true}}{}{\throwwarning{Funciones \noexpand\addimage o \noexpand\addimageboxed no pueden usarse fuera del entorno \noexpand\images}\stop}}\newcommand{\checkoutsideenvimage}{\ifthenelse{\equal{\GLOBALenvimageinitialized}{true}}{\throwwarning{Esta funcion solo puede usarse fuera del entorno \noexpand\images}\stop}{}}
% DECLARACIÓN DE ESTILOS
\RequirePackage{enumitem}\makeatletter\def\greek#1{\expandafter\@greek\csname c@#1\endcsname}\def\Greek#1{\expandafter\@Greek\csname c@#1\endcsname}\def\@greek#1{\ifcase#1\or $\alpha$\or $\beta$\or $\gamma$\or $\delta$\or $\epsilon$\or $\zeta$\or $\eta$\or $\theta$\or $\iota$\or $\kappa$\or $\lambda$\or $\mu$\or $\nu$\or $\xi$\or $o$\or $\pi$\or $\rho$\or $\sigma$\or $\tau$\or $\upsilon$\or $\phi$\or $\chi$\or $\psi$\or $\omega$\fi}\def\@Greek#1{\ifcase#1\or $\mathrm{A}$\or $\mathrm{B}$\or $\Gamma$\or $\Delta$\or $\mathrm{E}$\or $\mathrm{Z}$\or $\mathrm{H}$\or $\Theta$\or $\mathrm{I}$\or $\mathrm{K}$\or $\Lambda$\or $\mathrm{M}$\or $\mathrm{N}$\or $\Xi$\or $\mathrm{O}$\or $\Pi$\or $\mathrm{P}$\or $\Sigma$\or $\mathrm{T}$\or $\mathrm{Y}$\or $\Phi$\or $\mathrm{X}$\or $\Psi$\or $\Omega$\fi}\makeatother\AddEnumerateCounter{\greek}{\@greek}{24}\AddEnumerateCounter{\Greek}{\@Greek}{12}
\lstdefinelanguage[x64]{Assembler}[x86masm]{Assembler}{morekeywords={CDQE,CQO,CMPSQ,CMPXCHG16B,JRCXZ,LODSQ,MOVSXD,POPFQ,PUSHFQ,SCASQ,STOSQ,IRETQ,RDTSCP,SWAPGS,rax,rdx,rcx,rbx,rsi,rdi,rsp,rbp,r8,r8d,r8w,r8b,r9,r9d,r9w,r9b,r10,r10d,r10w,r10b,r11,r11d,r11w,r11b,r12,r12d,r12w,r12b,r13,r13d,r13w,r13b,r14,r14d,r14w,r14b,r15,r15d,r15w,r15b}}\lstdefinestyle{assemblerx64}{language=[x64]Assembler}\lstdefinestyle{assemblerx86}{language=[x86masm]Assembler}\lstdefinestyle{bash}{language=bash,breakatwhitespace=false,morecomment=[l]{rem},morecomment=[s]{::}{::},morekeywords={call,cp,dig,gcc,git,grep,ls,mv,python,rm,sudo,vim},sensitive=false}\lstdefinestyle{c}{language=C,breakatwhitespace=false,keepspaces=true}\lstdefinestyle{cpp}{language=C++,breakatwhitespace=false,morecomment=[l][\color{magenta}]{\#}}\lstdefinestyle{csharp}{language=csh,morecomment=[l]{//},morecomment=[s]{/*}{*/},morekeywords={abstract,as,base,bool,break,byte,case,catch,char,checked,class,const,continue,decimal,default,delegate,do,double,else,enum,event,explicit,extern,false,finally,fixed,float,for,foreach,goto,if,implicit,in,int,interface,internal,is,lock,long,namespace,new,null,object,operator,out,override,params,private,protected,public,readonly,ref,return,sbyte,sealed,short,sizeof,stackalloc,static,string,struct,switch,this,throw,true,try,typeof,uint,ulong,unchecked,unsafe,ushort,using,virtual,void,volatile,while}}\lstdefinelanguage{CSS}{morecomment=[s]{/*}{*/},morekeywords={-moz-binding,-moz-border-bottom-colors,-moz-border-left-colors,-moz-border-radius,-moz-border-radius-bottomleft,-moz-border-radius-bottomright,-moz-border-radius-topleft,-moz-border-radius-topright,-moz-border-right-colors,-moz-border-top-colors,-moz-opacity,-moz-outline,-moz-outline-color,-moz-outline-style,-moz-outline-width,-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,-replace,-set-link-source,-use-link-source,accelerator,azimuth,background,background-attachment,background-color,background-image,background-position,background-position-x,background-position-y,background-repeat,behavior,border,border-bottom,border-bottom-color,border-bottom-style,border-bottom-width,border-collapse,border-color,border-left,border-left-color,border-left-style,border-left-width,border-right,border-right-color,border-right-style,border-right-width,border-spacing,border-style,border-top,border-top-color,border-top-style,border-top-width,border-width,bottom,caption-side,clear,clip,color,content,counter-increment,counter-reset,cue,cue-after,cue-before,cursor,direction,display,elevation,empty-cells,filter,float,font,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,height,ime-mode,include-source,layer-background-color,layer-background-image,layout-flow,layout-grid,layout-grid-char,layout-grid-char-spacing,layout-grid-line,layout-grid-mode,layout-grid-type,left,letter-spacing,line-break,line-height,list-style,list-style-image,list-style-position,list-style-type,margin,margin-bottom,margin-left,margin-right,margin-top,marker-offset,marks,max-height,max-width,min-height,min-width,orphans,outline,outline-color,outline-style,outline-width,overflow,overflow-X,overflow-Y,padding,padding-bottom,padding-left,padding-right,padding-top,page,page-break-after,page-break-before,page-break-inside,pause,pause-after,pause-before,pitch,pitch-range,play-during,position,quotes,richness,right,ruby-align,ruby-overhang,ruby-position,scrollbar-3d-light-color,scrollbar-arrow-color,scrollbar-base-color,scrollbar-dark-shadow-color,scrollbar-face-color,scrollbar-highlight-color,scrollbar-shadow-color,scrollbar-track-color,size,speak,speak-header,speak-numeral,speak-punctuation,speech-rate,stress,table-layout,text-align,text-align-last,text-autospace,text-decoration,text-indent,text-justify,text-kashida-space,text-overflow,text-shadow,text-transform,text-underline-position,top,unicode-bidi,vertical-align,visibility,voice-family,volume,white-space,widows,width,word-break,word-spacing,word-wrap,writing-mode,z-index,zoom},morestring=[s]{:}{;},sensitive=true}\lstdefinestyle{css}{language=CSS,breakatwhitespace=true}\lstdefinestyle{cuda}{language=C++,breakatwhitespace=false,emph={cudaFree,cudaMalloc,__device__,__global__,__host__,__shared__,__syncthreads},emphstyle=\color{dkcyan}\ttfamily,morecomment=[l][\color{magenta}]{\#},moredelim=[s][\ttfamily]{<<<}{>>>}}\lstdefinelanguage{docker}{comment=[l]{\#},keywords={ADD,CMD,COPY,ENTRYPOINT,ENV,EXPOSE,FROM,LABEL,MAINTAINER,ONBUILD,RUN,STOPSIGNAL,USER,VOLUME,WORKDIR},morestring=[b]',morestring=[b]"}\lstdefinestyle{docker}{language=docker,breakatwhitespace=true}\lstdefinestyle{fortran}{language=[95]Fortran,breakatwhitespace=false}\lstdefinelanguage{GLSL}{alsoletter={\#},morekeywords=[1]{attribute,bool,break,bvec2,bvec3,bvec4,case,centroid,const,continue,default,discard,do,else,false,flat,float,for,highp,if,in,inout,int,invariant,isampler1D,isampler1DArray,isampler2D,isampler2DArray,isampler2DMS,isampler2DMSArray,isampler2DRect,isampler3D,isamplerBuffer,isamplerCube,ivec2,ivec3,ivec4,layout,lowp,mat2,mat2x2,mat2x3,mat2x4,mat3,mat3x2,mat3x3,mat3x4,mat4,mat4x2,mat4x3,mat4x4,mediump,noperspective,out,precision,return,sampler1D,sampler1DArray,sampler1DArrayShadow,sampler1DShadow,sampler2D,sampler2DArray,sampler2DArrayShadow,sampler2DMS,sampler2DMSArray,sampler2DRect,sampler2DRectShadow,sampler2DShadow,sampler3D,samplerBuffer,samplerCube,samplerCubeShadow,smooth,struct,switch,true,uint,uniform,usampler1D,usampler1DArray,usampler2D,usampler2DArray,usampler2DMS,usampler2DMSArray,usampler2DRect,usampler3D,usamplerBuffer,usamplerCube,uvec2,uvec3,uvec4,varying,vec2,vec3,vec4,void,while},morekeywords=[2]{abs,acos,acosh,all,any,asin,asinh,atan,atan,atanh,ceil,clamp,cos,cosh,cross,degrees,determinant,dFdx,dFdy,distance,dot,EmitVertex,EndPrimitive,equal,exp,exp2,faceforward,floatBitsToInt,floatBitsToUint,floor,fract,fwidth,greaterThan,greaterThanEqual,intBitsToFloat,inverse,inversesqrt,isinf,isnan,length,lessThan,lessThanEqual,log,log2,matrixCompMult,max,min,mix,mod,modf,noise1,noise2,noise3,noise4,normalize,not,notEqual,outerProduct,pow,radians,reflect,refract,round,roundEven,shadow1D,shadow1DLod,shadow1DProj,shadow1DProjLod,shadow2D,shadow2DLod,shadow2DProj,shadow2DProjLod,sign,sin,sinh,smoothstep,sqrt,step,tan,tanh,texelFetch,texelFetchOffset,texture,texture1D,texture1DProj,texture1DProjLod,texture2D,texture2DLod,texture2DProj,texture2DProjLod,texture3D,texture3DLod,texture3DProj,texture3DProjLod,textureCube,textureCubeLod,textureGrad,textureGradOffset,textureLod,textureLodOffset,textureOffset,textureProj,textureProjGrad,textureProjGradOffset,textureProjLod,textureProjLodOffset,textureProjOffset,textureSize,transpose,trunc,uintBitsToFloat},morekeywords=[3]{\#version,core,gl_ClipDistance,gl_ClipDistance,gl_ClipVertex,gl_DepthRange,gl_FragColor,gl_FragCoord,gl_FragData,gl_FragDepth,gl_FrontFacing,gl_InstanceID,gl_Layer,gl_MaxClipDistances,gl_MaxCombinedTextureImageUnits,gl_MaxDrawBuffers,gl_MaxDrawBuffers,gl_MaxFragmentInputComponents,gl_MaxFragmentUniformComponents,gl_MaxGeometryInputComponents,gl_MaxGeometryOutputComponents,gl_MaxGeometryOutputVertices,gl_MaxGeometryOutputVertices,gl_MaxGeometryTextureImageUnits,gl_MaxGeometryTotalOutputComponents,gl_MaxGeometryUniformComponents,gl_MaxGeometryVaryingComponents,gl_MaxTextureImageUnits,gl_MaxVaryingComponents,gl_MaxVaryingFloats,gl_MaxVertexAttribs,gl_MaxVertexOutputComponents,gl_MaxVertexTextureImageUnits,gl_MaxVertexUniformComponents,gl_PerVertex,gl_PointCoord,gl_PointSize,gl_Position,gl_PrimitiveID,gl_VertexID},morecomment=[l]{//},morecomment=[s]{/*}{*/}}\lstdefinestyle{glsl}{language=GLSL,keywordstyle=[3]\color{dkcyan}\ttfamily,prebreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},sensitive=true,upquote=true}\lstdefinestyle{haskell}{language=haskell,morecomment=[l]\%}\lstdefinelanguage{HTML5}{language=html,alsoletter={<>=-},morecomment=[s]{<!--}{-->},ndkeywords={-moz-transform:,<!,<body>,<canvas,</body>,</canvas>,</head>,</html>,</script>,</style>,</title>,<head>,<meta,<script>,<style>,<title>,=,><,border:,charset=,/>,height=,html>,id=,width=},otherkeywords={<html>,transform:,transition-duration:,transition-property:,transition-timing-function:},sensitive=true,tag=[s]}\lstdefinestyle{html5}{language=HTML5,alsodigit={.:;},alsolanguage=JavaScript,firstnumber=1,ndkeywordstyle=\color{dkgreen}\bfseries,numberfirstline=true}\lstdefinestyle{java}{language=Java,breakatwhitespace=true,keepspaces=true}\lstdefinelanguage{JavaScript}{comment=[l]{//},keepspaces=true,keywords={async,await,break,case,catch,catch,do,else,false,function,if,in,new,null,return,switch,true,typeof,var,while},morecomment=[s]{/*}{*/},morestring=[b]',morestring=[b]",ndkeywords={boolean,class,export,implements,import,this,throw},ndkeywordstyle=\color{darkgray}\bfseries,sensitive=false}\lstdefinestyle{js}{language=JavaScript}\lstdefinestyle{json}{literate=*{0}{{{\color{numb}0}}}{1}{1}{{{\color{numb}1}}}{1}{2}{{{\color{numb}2}}}{1}{3}{{{\color{numb}3}}}{1}{4}{{{\color{numb}4}}}{1}{5}{{{\color{numb}5}}}{1}{6}{{{\color{numb}6}}}{1}{7}{{{\color{numb}7}}}{1}{8}{{{\color{numb}8}}}{1}{9}{{{\color{numb}9}}}{1}{:}{{{\color{punct}{:}}}}{1}{,}{{{\color{punct}{,}}}}{1}{\{}{{{\color{delim}{\{}}}}{1}{\}}{{{\color{delim}{\}}}}}{1}{[}{{{\color{delim}{[}}}}{1}{]}{{{\color{delim}{]}}}}{1},tabsize=2}\lstdefinestyle{kotlin}{comment=[l]{//},emph={delegate,filter,first,firstOrNull,forEach,lazy,map,mapNotNull,println,return@},emphstyle={\color{OrangeRed}},keywords={abstract,actual,as,as?,break,by,class,companion,continue,data,do,dynamic,else,enum,expect,false,final,for,fun,get,if,import,in,interface,internal,is,null,object,override,package,private,public,return,set,super,suspend,this,throw,true,try,typealias,val,var,vararg,when,where,while},morecomment=[s]{/*}{*/},morestring=[b]",morestring=[s]{"""*}{*"""},ndkeywords={@Deprecated,@JvmField,@JvmName,@JvmOverloads,@JvmStatic,@JvmSynthetic,Array,Byte,Double,Float,Int,Integer,Iterable,Long,Runnable,Short,String},ndkeywordstyle=\color{BurntOrange}\bfseries,sensitive=true}\lstdefinestyle{latex}{language=TeX,morekeywords={aacos,aasin,aatan,acos,addimage,addimageboxed,align,asin,atan,begin,bibitem,bibliography,bigstrut,boldmath,bookmarksetup,boxed,cancelto,caption,changeheadertitle,checkmark,checkvardefined,cite,dd,degree,eqref,equal,frac,fracnpartial,fullcite,hline,href,ifthenelse,imagesnewline,imageshspace,imagesvspace,includehfpdf,includefullhfpdf,insertalign,insertalignanum,insertaligncaptioned,insertaligncaptioned,insertaligncaptionedanum,insertaligned,insertalignedanum,insertalignedcaptioned,insertalignedcaptionedanum,insertemail,insertemptypage,inserteqimage,insertequation,insertequationanum,insertequationcaptioned,insertequationcaptionedanum,insertgather,insertgatheranum,insertgathercaptioned,insertgathercaptionedanum,insertgathered,insertgatheredanum,insertgatheredcaptioned,insertgatheredcaptionedanum,insertimage,insertimageleft,insertimageright,insertindextitle,insertindextitlepage,insertphone,isundefined,itemresize,label,LaTeX,lipsum,lpow,makeatletter,makeatother,newcommand,newcounter,newp,newpage,pow,quotes,ref,renewcommand,section,sectionanum,setcounter,setlength,shortcite,sourcecode,sourcecodep,subsection,subsectionanum,subsubsection,subsubsectionanum,subsubsubsection,subsubsubsection,subsubsubsectionanum,textbf,textit,textregistered,textsuperscript,texttt,throwbadconfig,unboldmath,url,xspace}}\lstdefinestyle{lisp}{language=Lisp,morekeywords={if}}\lstdefinestyle{lua}{language={[5.2]Lua}}\lstdefinelanguage{Maple}{morecomment=[l]\#,morekeywords={and,assuming,break,by,catch,description,do,done,elif,else,end,error,export,fi,finally,for,from,global,if,implies,in,intersect,local,minus,mod,module,next,not,od, option,options,or,proc,quit,read,restart,return,save,stop,subset,then,to,try,union,use,uses,with,while,xor},morestring=[b]",morestring=[d],sensitive=true}\lstdefinestyle{maple}{language=Maple}\lstdefinestyle{matlab}{language=Matlab,deletekeywords={fft},flexiblecolumns=true,keepspaces=true,morecomment=[l]\%,morecomment=[n]{\%\{\^^M}{\%\}\^^M},morekeywords={addOptional,box,break,catch,cell,classdef,continue,deal,double,end,factorial,for,gradient,hessian,if,isa,ltitr,matlab2tikz,methods,minor,movegui,normcdf,normpdf,on,ones,parse,persistent,poissrnd,properties,repmat,solve,strcat,subs,syms,try,var,warning,xlim,ylim}}\lstdefinestyle{octave}{language=Octave,flexiblecolumns=true,keepspaces=true,morecomment=[l]\%,morecomment=[n]{\%\{\^^M}{\%\}\^^M}}\lstdefinestyle{opencl}{language=C++,breakatwhitespace=false,emph={bool3,bool4,bool8,bool16,char2,char3,char4,char8,char16,complex,constant,event_t,bool2,float2,float3,float4,float8,float16,global,half2,half3,half4,half8,half16,image2d_t,image3d_t,imaginary,int2,int3,int4,int8,int16,kernel,local,long2,long3,long4,long8,long16,private,quad,quad2,quad3,quad4,quad8,quad16,sampler_t,short2,short3,short4,short8,short16,uchar2,uchar3,uchar4,uchar8,uchar16,uint2,uint3,uint4,uint8,uint16,ulong2,ulong3,ulong4,ulong8,ulong16,ushort2,ushort3,ushort4,ushort8,ushort16,__constant,__global,__kernel,__local,__private},emphstyle=\color{dkcyan}\ttfamily,morecomment=[l][\color{magenta}]{\#}}\lstdefinestyle{opensees}{language=tcl,breakatwhitespace=false,emph=[1]{-dir,-dof,-ele,-eleRange,-file,-height,-increment,-initial,-iNode,-integration,-iterate,-jNode,-kNode,-mass,-mat,-matConcrete,-matShear,-matSteel,-max,-maxDim,-maxEta,-maxIter,-min,-minEta,-ndf,-ndm,-node,-nodeRange,-numSublevels,-numSubSteps,-region,-rho,-sections,-thick,-time,-tol,-type,-width},emphstyle=[1]\color{black}\bfseries\em,keepspaces=true,morecomment=[l]{\#},morekeywords={algorithm,analysis,analyze,constraints,deformation,disp,DisplayModel2D,DisplayModel3D,element,equalDOF,fix,fixX,fixY,fixZmodel,geomTransf,initialize,integrator,loadConst,mass,node,numberer,pattern,printA,PySimple1Gen,reaction,recorder,region,section,system,test,uniaxialMaterial,wipe},ndkeywords={9_4_QuadUP,20_8_BrickUP,AC3D8,Aggregator,ArcLength,ASI3D8,AV3D4,AxialSp,AxialSpHD,BandGeneral,BARSLIP,BasicBuilder,bbarBrick,bbarBrickUP,bbarQuad,bbarQuadUP,BeamColumnJoint,BeamContact2D,BeamContact3D,BeamEndContact3D,BFGS,Bilin,BilinearOilDamper,Bond_SP01,BoucWen,Brick20N,brickUP,Broyden,BWBN,Cast,CatenaryCable,CentralDifference,CFSSSWP,CFSWSWP,Concrete01,Concrete01WithSITC,Concrete02,Concrete03,Concrete04,Concrete06,Concrete07,ConcreteCM,ConcreteD,ConfinedConcrete01,constraintsTypeGravity,corotTruss,corotTrussSection,CoupledZeroLength,DeformedShape,dispBeamColumn,dispBeamColumnInt,DisplacementControl,Dodd_Restrepo,ECC01,Elastic,elasticBeamColumn,ElasticBilin,ElasticMultiLinear,ElasticPP,ElasticPPGap,ElasticTimoshenkoBeam,ElasticTubularJoint,elastomericBearingBoucWen,elastomericBearingPlasticity,ElastomericX,EnergyIncr,enhancedQuad,ENT,Explicitdifference,Fatigue,flatSliderBearing,forceBeamColumn,forceBeamColumn,FourNodeTetrahedron,FPBearingPTV,FRPConfinedConcrete,GeneralizedAlpha,Hardening,HDR,HHT,HyperbolicGapMaterial,Hysteretic,ImpactMaterial,InitStrainMaterial,InitStressMaterial,Joint2D,KikuchiAikenHDR,KikuchiAikenLRB,KikuchiBearing,KrylovNewton,LeadRubberX,LimitState,Linear,LoadControl,LoadControl,MinMax,MinUnbalDispNorm,ModElasticBeam2d,ModifiedNewton,ModIMKPeakOriented,ModIMKPinching,MultiLinear,multipleShearSpring,MVLEM,Newmark,NewtonLineSearch,Node,NodeNumbers,nonlinearBeamColumn,NormDispIncr,numberer,Parallel,PathIndependentMaterial,pattern,Pinching4,PinchingLimitStateMaterial,Plain,PyLiq1,PySimple1,quad,quadUP,QzSimple1,RambergOsgoodSteel,rayleigh,RCM,ReinforcingSteel,RJWatsonEqsBearing,SAWS,SecantNewton,SelfCentering,Series,SFI_MVLEM,ShallowFoundationGen,ShellDKGQ,ShellDKGT,ShellMITC4,ShellNL,ShellNLDKGQ,ShellNLDKGT,SimpleContact2D,SimpleContact3D,singleFPBearing,SparseGeneral,SSPbrick,SSPbrickUP,SSPquad,SSPquadUP,Static,stdBrick,Steel01,Steel01,Steel02,Steel4,SteelMPF,SurfaceLoad,TFP,Transient,TRBDF2,tri31,TripleFrictionPendulum,truss,trussSection,twoNodeLink,TzLiq1,TzSimple1,ViewScale,Viscous,ViscousDamper,VS3D4,YamamotoBiaxialHDR,zeroLength,zeroLengthContact,zeroLengthContactNTS2D,zeroLengthImpact3D,zeroLengthImpact3D,zeroLengthInterface2D,zeroLengthND,zeroLengthSection},ndkeywordstyle=\color{dkcyan}\ttfamily}\lstdefinestyle{pascal}{language=Pascal,morecomment=[l]{//},sensitive=false}\lstdefinestyle{perl}{language=Perl,alsoletter={\%},breakatwhitespace=false,keepspaces=true}\lstdefinestyle{php}{language=php,emph=[1]{php},emph=[2]{if,and,or,else},emph=[3]{abstract,as,const,else,elseif,endfor,endforeach,endif,extends,final,for,foreach,global,if,implements,private,protected,public,static,var},emphstyle=[1]\color{black},emphstyle=[2]\color{dkyellow},keywords={abstract,and,array,as,break,callable,case,catch,class,clone,const,continue,declare,default,die,do,echo,else,elseif,empty,enddeclare,endfor,endforeach,endif,endswitch,endwhile,eval,exit,extends,final,finally,for,foreach,function,global,goto,if,implements,include,include_once,instanceof,insteadof,interface,isset,list,namespace,new,or,print,private,protected,public,require,require_once,return,static,switch,throw,trait,try,unset,use,var,while,xor,yield,__halt_compiler},showlines=true,upquote=true}\lstdefinestyle{plaintext}{language={},columns=fullflexible,keepspaces=true,postbreak={},literate={á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1 {à}{{\`a}}1{è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1 {À}{{\`A}}1 {È}{{\'E}}1{Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1 {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1{ö}{{\"o}}1 {ü}{{\"u}}1 {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1{Ü}{{\"U}}1 {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1 {œ}{{\oe}}1{Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1 {ű}{{\H{u}}}1{Ű}{{\H{U}}}1 {ő}{{\H{o}}}1 {Ő}{{\H{O}}}1 {ç}{{\c c}}1 {Ç}{{\c C}}1{ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1 {€}{{\EUR}}1 {£}{{\pounds}}1{ñ}{{\~n}}1 {Ñ}{{\~N}}1 {¿}{{?``}}1 {¡}{{!``}}1 {«}{{\guillemotleft}}1{»}{{\guillemotright}}1 {\ \ }{{\ }}1,tabsize=4}\lstdefinestyle{pseudocode}{language=Matlab,backgroundcolor=\color{white},breakatwhitespace=false,commentstyle=\color{gray}\upshape,frame=tb,keepspaces=true,keywords={and,be,begin,break,datatype,do,elif,else,end,for,foreach,fun,function,if,in,input,let,null,or,output,pop,procedure,push,repeat,return,swap,until,while,xor},keywordstyle=\color{black}\bfseries\em,mathescape=true,morecomment=[l]{//},morecomment=[l]{\#},morecomment=[s]{/*}{*/},morecomment=[s]{/**}{*/},sensitive=false,stringstyle=\color{dkgray}\bfseries\em}\lstdefinestyle{python}{language=Python,breakatwhitespace=false,emph={__init__,__name__},emphstyle=\color{dkcyan}\ttfamily,keepspaces=true,morekeywords={as,assert,close,listdir,split,strip,with}}\lstdefinestyle{r}{language=R,alsoletter={.<-},alsoother={._$},deletekeywords={df,data,frame,length,as,character},morecomment=[l]\#,morestring=[d]',morestring=[d]",otherkeywords={!,!=,~,$,*,\&,\%/\%,\%*\%,\%\%,<-,<<-,_,/}}\lstdefinestyle{ruby} {language=Ruby,breakatwhitespace=true,morestring=[s][]{\#\{}{\}},morestring=*[d]{"},sensitive=true}\lstdefinestyle{scala}{language=scala,breakatwhitespace=true,morecomment=[l]{//},morecomment=[n]{/*}{*/},morekeywords={abstract,case,catch,class,def,do,else,extends,false,final,finally,for,if,implicit,import,match,mixin,new,null,object,override,package,private,protected,requires,return,sealed,super,this,throw,trait,true,try,type,val,var,while,with,yield},morestring=[b]',morestring=[b]",morestring=[b]""",otherkeywords={=>,<-,<\%,<:,>:,\#,@}}\lstdefinestyle{scheme}{language=Lisp,morecomment=[l]{;},morekeywords={and,begin,case,case-lambda,cond,cond-expand,define,delay,delay-force,do,else,force,guard,if,lambda,let,let*,let*-values,let-syntax,let-values,letrec,letrec*,letrec-syntax,make-parameter,make-promise,map,or,parameterize,promise?,quasiquote,quote,set!,syntax-rules,unless,when},morestring=[b]"}\lstdefinestyle{sql}{language=SQL,breakatwhitespace=true}\lstdefinestyle{tcl}{language=tcl,breakatwhitespace=false,keepspaces=true,morecomment=[l]{\#}}\lstdefinestyle{vbscript}{language=[Visual]Basic,extendedchars=true}\lstdefinestyle{verilog}{language=Verilog}\lstdefinelanguage{VHDL}{morekeywords=[1]{library,use,all,entity,is,port,in,out,end,architecture,of,begin,and,or,Not,downto,ALL},morekeywords=[2]{STD_LOGIC_VECTOR,STD_LOGIC,IEEE,STD_LOGIC_1164,NUMERIC_STD,STD_LOGIC_ARITH,STD_LOGIC_UNSIGNED,std_logic_vector,std_logic},morecomment=[l]--}\lstdefinestyle{vhdl}{language=VHDL}\lstdefinelanguage{XML}{morecomment=[s]{<?}{?>},morekeywords={encoding,type,version,xmlns},morestring=[b]",morestring=[s]{>}{<}}\lstdefinestyle{xml}{language=XML,tabsize=2}\lstset{aboveskip=0.75em,basicstyle={\sourcecodefonts\sourcecodefontf\color{\maintextcolor}},belowskip=1em,breaklines=true,columns=flexible,commentstyle=\color{dkgreen}\upshape,extendedchars=true,fontadjust=true,identifierstyle=\color{black},keepspaces=true,keywordstyle=\color{blue},literate={á}{{\'a}}1 {é}{{\'e}}1 {í}{{\'i}}1 {ó}{{\'o}}1 {ú}{{\'u}}1{Á}{{\'A}}1 {É}{{\'E}}1 {Í}{{\'I}}1 {Ó}{{\'O}}1 {Ú}{{\'U}}1 {à}{{\`a}}1{è}{{\`e}}1 {ì}{{\`i}}1 {ò}{{\`o}}1 {ù}{{\`u}}1 {À}{{\`A}}1 {È}{{\'E}}1{Ì}{{\`I}}1 {Ò}{{\`O}}1 {Ù}{{\`U}}1 {ä}{{\"a}}1 {ë}{{\"e}}1 {ï}{{\"i}}1{ö}{{\"o}}1 {ü}{{\"u}}1 {Ä}{{\"A}}1 {Ë}{{\"E}}1 {Ï}{{\"I}}1 {Ö}{{\"O}}1{Ü}{{\"U}}1 {â}{{\^a}}1 {ê}{{\^e}}1 {î}{{\^i}}1 {ô}{{\^o}}1 {û}{{\^u}}1{Â}{{\^A}}1 {Ê}{{\^E}}1 {Î}{{\^I}}1 {Ô}{{\^O}}1 {Û}{{\^U}}1 {œ}{{\oe}}1{Œ}{{\OE}}1 {æ}{{\ae}}1 {Æ}{{\AE}}1 {ß}{{\ss}}1 {ű}{{\H{u}}}1{Ű}{{\H{U}}}1 {ő}{{\H{o}}}1 {Ő}{{\H{O}}}1 {ç}{{\c c}}1 {Ç}{{\c C}}1{ø}{{\o}}1 {å}{{\r a}}1 {Å}{{\r A}}1 {€}{{\EUR}}1 {£}{{\pounds}}1{ñ}{{\~n}}1 {Ñ}{{\~N}}1 {¿}{{?``}}1 {¡}{{!``}}1 {«}{{\guillemotleft}}1{»}{{\guillemotright}}1,numbers=left,numbersep={\sourcecodenumbersep pt},numberstyle=\tiny\color{dkgray},postbreak=\mbox{$\hookrightarrow$\space},showspaces=false,showstringspaces=false,showtabs=false,stepnumber=1,stringstyle=\color{mauve},tabsize={\sourcecodetabsize}}\newcommand{\checkvalidsourcecodestyle}[1]{\ifthenelse{\equal{#1}{assemblerx64}}{}{\ifthenelse{\equal{#1}{assemblerx86}}{}{\ifthenelse{\equal{#1}{bash}}{}{\ifthenelse{\equal{#1}{c}}{}{\ifthenelse{\equal{#1}{cpp}}{}{\ifthenelse{\equal{#1}{csharp}}{}{\ifthenelse{\equal{#1}{css}}{}{\ifthenelse{\equal{#1}{cuda}}{}{\ifthenelse{\equal{#1}{docker}}{}{\ifthenelse{\equal{#1}{fortran}}{}{\ifthenelse{\equal{#1}{glsl}}{}{\ifthenelse{\equal{#1}{haskell}}{}{\ifthenelse{\equal{#1}{html5}}{}{\ifthenelse{\equal{#1}{java}}{}{\ifthenelse{\equal{#1}{js}}{}{\ifthenelse{\equal{#1}{json}}{}{\ifthenelse{\equal{#1}{kotlin}}{}{\ifthenelse{\equal{#1}{latex}}{}{\ifthenelse{\equal{#1}{lisp}}{}{\ifthenelse{\equal{#1}{lua}}{}{\ifthenelse{\equal{#1}{maple}}{}{\ifthenelse{\equal{#1}{matlab}}{}{\ifthenelse{\equal{#1}{octave}}{}{\ifthenelse{\equal{#1}{opencl}}{}{\ifthenelse{\equal{#1}{opensees}}{}{\ifthenelse{\equal{#1}{pascal}}{}{\ifthenelse{\equal{#1}{perl}}{}{\ifthenelse{\equal{#1}{php}}{}{\ifthenelse{\equal{#1}{plaintext}}{}{\ifthenelse{\equal{#1}{pseudocode}}{}{\ifthenelse{\equal{#1}{python}}{}{\ifthenelse{\equal{#1}{r}}{}{\ifthenelse{\equal{#1}{ruby}}{}{\ifthenelse{\equal{#1}{scala}}{}{\ifthenelse{\equal{#1}{scheme}}{}{\ifthenelse{\equal{#1}{sql}}{}{\ifthenelse{\equal{#1}{tcl}}{}{\ifthenelse{\equal{#1}{vbscript}}{}{\ifthenelse{\equal{#1}{verilog}}{}{\ifthenelse{\equal{#1}{vhdl}}{}{\ifthenelse{\equal{#1}{xml}}{}{\def\sourcecodestyle {#1}\throwbadconfig{Estilo de codigo desconocido}{\checkvalidsourcecodestyle}{assemblerx64,assemblerx86,bash,c,cpp,csharp,css,cuda,docker,fortran,glsl,haskell,html5,java,js,json,kotlin,latex,lisp,lua,maple,matlab,octave,opencl,opensees,pascal,perl,php,plaintext,pseudocode,python,r,ruby,scala,scheme,sql,tcl,vbscript,verilog,vhdl,xml}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
\colorlet{numb}{magenta!60!black}\colorlet{punct}{red!60!black}\definecolor{delim}{RGB}{20,105,176}\definecolor{dkcyan}{RGB}{0,123,167}\definecolor{dkgray}{rgb}{0.35,0.35,0.35}\definecolor{dkgreen}{rgb}{0,0.6,0}\definecolor{dkyellow}{cmyk}{0,0,0.8,0.3}\definecolor{gray}{rgb}{0.5,0.5,0.5}\definecolor{lbrown}{RGB}{255,252,249}\definecolor{lgray}{RGB}{240,240,240}\definecolor{lyellow}{rgb}{1.0,1.0,0.88}\definecolor{mauve}{rgb}{0.58,0,0.82}\definecolor{mygray}{rgb}{0.5,0.5,0.5}\definecolor{ocher}{rgb}{1,0.5,0}\definecolor{ocre}{RGB}{243,102,25}
% CONFIGURACIÓN INICIAL DEL DOCUMENTO
\checkvardefined{\autordeldocumento}\checkvardefined{\codigodelcurso}\checkvardefined{\departamentouniversidad}\checkvardefined{\localizacionuniversidad}\checkvardefined{\nombredelcurso}\checkvardefined{\nombrefacultad}\checkvardefined{\nombreuniversidad}\checkvardefined{\temaatratar}\checkvardefined{\titulodelinforme}\makeatletter\g@addto@macro\autordeldocumento\xspace\g@addto@macro\codigodelcurso\xspace\g@addto@macro\departamentouniversidad\xspace\g@addto@macro\localizacionuniversidad\xspace\g@addto@macro\nombredelcurso\xspace\g@addto@macro\nombrefacultad\xspace\g@addto@macro\nombreuniversidad\xspace\g@addto@macro\temaatratar\xspace\g@addto@macro\titulodelinforme\xspace\makeatother\ifthenelse{\isundefined{\tablaintegrantes}}{\errmessage{LaTeX Warning: Se borro la variable \noexpand\tablaintegrantes, creando una vacia}\def\tablaintegrantes {}}{}\ifthenelse{\equal{\cfgpdfsecnumbookmarks}{true}}{\bookmarksetup{numbered}}{}\ifthenelse{\equal{\cfgshowbookmarkmenu}{true}}{\def\cfgpdfpagemode {UseOutlines}}{\def\cfgpdfpagemode {UseNone}}\ifthenelse{\equal{\usepdfmetadata}{true}}{\def\pdfmetainfoautor {\autordeldocumento}\def\pdfmetainfocodigodelcurso {\codigodelcurso}\def\pdfmetainfonombredelcurso {\nombredelcurso}\def\pdfmetainfoautor {\autordeldocumento}\def\pdfmetainfotema {\temaatratar}\def\pdfmetainfotitulo {\titulodelinforme}\def\pdfmetainfounidepto {\departamentouniversidad}\def\pdfmetainfouninombre {\departamentouniversidad}\def\pdfmetainfouniubicacion {\departamentouniversidad}}{\def\pdfmetainfoautor {}\def\pdfmetainfocodigodelcurso {}\def\pdfmetainfonombredelcurso {}\def\pdfmetainfoautor {}\def\pdfmetainfotema {}\def\pdfmetainfotitulo {}\def\pdfmetainfounidepto {}\def\pdfmetainfouninombre {}\def\pdfmetainfouniubicacion {}}\hypersetup{bookmarksopen={\cfgpdfbookmarkopen},bookmarksopenlevel={\cfgbookmarksopenlevel},bookmarkstype={toc},pdfauthor={\pdfmetainfoautor},pdfcenterwindow={\cfgpdfcenterwindow},pdfcopyright={\cfgpdfcopyright},pdfcreator={LaTeX},pdfdisplaydoctitle={\cfgpdfdisplaydoctitle},pdfencoding={unicode},pdffitwindow={\cfgpdffitwindow},pdfinfo={Curso.Codigo={\pdfmetainfocodigodelcurso},Curso.Nombre={\pdfmetainfonombredelcurso},Documento.Autor={\pdfmetainfoautor},Documento.Tema={\pdfmetainfotema},Documento.Titulo={\pdfmetainfotitulo},Template.Autor.Alias={ppizarror},Template.Autor.Email={[email protected]},Template.Autor.Nombre={Pablo Pizarro R.},Template.Autor.Web={https://ppizarror.com/},Template.Codificacion={UTF-8},Template.Fecha={22/04/2020},Template.Latex.Compilador={pdflatex},Template.Licencia.Tipo={MIT},Template.Licencia.Web={https://opensource.org/licenses/MIT/},Template.Nombre={Template-Informe},Template.Tipo={Compacto},Template.Version.Dev={6.8.3-4-C},Template.Version.Hash={A4EEA08064C6DBE744A622E6595CF1D6},Template.Version.Release={6.8.3},Template.Web.Dev={https://github.com/Template-Latex/Template-Informe/},Template.Web.Manual={https://latex.ppizarror.com/informe},Universidad.Departamento={\pdfmetainfounidepto},Universidad.Nombre={\pdfmetainfouninombre},Universidad.Ubicacion={\pdfmetainfouniubicacion}},pdfkeywords={\cfgpdfkeywords},pdflang={\documentlang},pdfmenubar={\cfgpdfmenubar},pdfpagelayout={\cfgpdflayout},pdfpagemode={\cfgpdfpagemode},pdfproducer={Template-Informe v6.8.3 | (Pablo Pizarro R.) ppizarror.com},pdfremotestartview={Fit},pdfstartpage={1},pdfstartview={\cfgpdfpageview},pdfsubject={\pdfmetainfotema},pdftitle={\pdfmetainfotitulo},pdftoolbar={\cfgpdftoolbar}}\graphicspath{{./\defaultimagefolder}{./\defaultimagefolder/departamentos/}}\renewcommand{\baselinestretch}{\defaultinterline}\setlength{\headheight}{64 pt}\setlength{\footnotemargin}{\marginfootnote pt}\setlength{\columnsep}{\columnsepwidth em}\ifthenelse{\equal{\showlinenumbers}{true}}{\setlength{\linenumbersep}{0.50cm}\renewcommand\linenumberfont{\normalfont\tiny\color{\linenumbercolor}}}{}\floatplacement{figure}{\imagedefaultplacement}\floatplacement{table}{\tabledefaultplacement}\floatplacement{tikz}{\tikzdefaultplacement}\color{\maintextcolor}\arrayrulecolor{\tablelinecolor}\sethlcolor{\highlightcolor}\ifthenelse{\equal{\showborderonlinks}{true}}{\hypersetup{citebordercolor=\numcitecolor,linkbordercolor=\linkcolor,urlbordercolor=\urlcolor}}{\hypersetup{hidelinks,colorlinks=true,citecolor=\numcitecolor,linkcolor=\linkcolor,urlcolor=\urlcolor}}\ifthenelse{\equal{\colorpage}{white}}{}{\pagecolor{\colorpage}}\setcaptionmargincm{\captionlrmargin}\ifthenelse{\equal{\captiontextbold}{true}}{\renewcommand{\captiontextbold}{bf}}{\renewcommand{\captiontextbold}{}}\ifthenelse{\equal{\captiontextsubnumbold}{true}}{\renewcommand{\captiontextsubnumbold}{bf}}{\renewcommand{\captiontextsubnumbold}{}}\captionsetup{labelfont={color=\captioncolor, \captiontextbold},labelformat={\captionlabelformat},labelsep={\captionlabelsep},textfont={color=\captiontextcolor},singlelinecheck=on}\captionsetup*[subfigure]{labelfont={color=\captioncolor, \captiontextsubnumbold},labelformat={\subcaptionlabelformat},labelsep={\subcaptionlabelsep},textfont={color=\captiontextcolor},singlelinecheck=on}\captionsetup*[subtable]{labelfont={color=\captioncolor, \captiontextsubnumbold},labelformat={\subcaptionlabelformat},labelsep={\subcaptionlabelsep},textfont={color=\captiontextcolor},singlelinecheck=on}\floatsetup[figure]{captionskip=\captiontbmarginfigure pt}\floatsetup[table]{captionskip=\captiontbmargintable pt}\ifthenelse{\equal{\figurecaptiontop}{true}}{\floatsetup[figure]{position=above}}{}\ifthenelse{\equal{\tablecaptiontop}{true}}{\floatsetup[table]{position=top}}{\floatsetup[table]{position=bottom}}\ifthenelse{\equal{\captionalignment}{justified}}{\captionsetup{format=plain,justification=justified}}{\ifthenelse{\equal{\captionalignment}{centered}}{\captionsetup{justification=centering}}{\ifthenelse{\equal{\captionalignment}{left}}{\captionsetup{justification=raggedright,singlelinecheck=false}}{\ifthenelse{\equal{\captionalignment}{right}}{\captionsetup{justification=raggedleft,singlelinecheck=false}}{\throwbadconfig{Posicion de leyendas desconocida}{\captionalignment}{justified,centered,left,right}}}}}\ifthenelse{\equal{\stylecitereferences}{natbib}}{\bibliographystyle{\natbibrefstyle}\setlength{\bibsep}{\natbibrefsep pt}\newcommand{\shortcite}[1]{\texttt{\textbackslash shortcite\{#1\}}}\newcommand{\fullcite}[1]{\texttt{\textbackslash fullcite\{#1\}}}}{\ifthenelse{\equal{\stylecitereferences}{apacite}}{\bibliographystyle{\apacitestyle}\setlength{\bibitemsep}{\apaciterefsep pt}\newcommand{\citet}[1]{\texttt{\textbackslash citet\{#1\}}}\newcommand{\citep}[1]{\texttt{\textbackslash citep\{#1\}}}}{\ifthenelse{\equal{\stylecitereferences}{bibtex}}{\bibliographystyle{\bibtexstyle}\newlength{\bibitemsep}\setlength{\bibitemsep}{.2\baselineskip plus .05\baselineskip minus .05\baselineskip}\newlength{\bibparskip}\setlength{\bibparskip}{0pt}\let\oldthebibliography\thebibliography\renewcommand\thebibliography[1]{\oldthebibliography{#1}\setlength{\parskip}{\bibitemsep}\setlength{\itemsep}{\bibparskip}}\setlength{\bibitemsep}{\bibtexrefsep pt}}{\throwbadconfig{Estilo citas desconocido}{\stylecitereferences}{bibtex,apacite,natbib}}}}\newcounter{apaciteNumberCounter}\addtocounter{apaciteNumberCounter}{-1}\makeatletter\ifthenelse{\equal{\stylecitereferences}{apacite}}{\ifthenelse{\equal{\apaciterefnumber}{true}}{\renewcommand{\@biblabel}[1]{\apaciterefnumberinit\stepcounter{apaciteNumberCounter}\theapaciteNumberCounter\apaciterefnumberfinal}}{}}{}\makeatother\makeatletter\ifthenelse{\equal{\twocolumnreferences}{true}}{\renewenvironment{thebibliography}[1]{\begin{multicols}{2}[\section*{\refname}]\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}\list{\@biblabel{\@arabic\c@enumiv}}{\settowidth\labelwidth{\@biblabel{#1}}\leftmargin\labelwidth\advance\leftmargin\labelsep\@openbib@code\usecounter{enumiv}\let\p@enumiv\@empty\renewcommand\theenumiv{\@arabic\c@enumiv}}\sloppy\clubpenalty 4000\@clubpenalty \clubpenalty\widowpenalty 4000\sfcode`\.\@m}{\def\@noitemerr{\@latex@warning{Ambiente `thebibliography' no definido}}\endlist\end{multicols}}}{}\makeatother\patchcmd{\appendices}{\quad}{\sectionappendixlastchar\quad}{}{}\begingroup\makeatletter\let\newcounter\@gobble\let\setcounter\@gobbletwo\globaldefs\@ne\let\c@loldepth\@ne\newlistof{listings}{lol}{\lstlistlistingname}\newlistentry{lstlisting}{lol}{0}\makeatother\endgroup\newcommand{\listindexequationsname}{\nomlteqn}\newlistof{myindexequations}{equ}{\listindexequationsname}\newcommand{\myindexequations}[1]{\addcontentsline{equ}{myindexequations}{\protect\numberline{\theequation}#1}}\setcounter{templateIndexEquations}{0}\DeclareTotalCounter{templateIndexEquations}\makeatletter\def\ifGm@preamble#1{\@firstofone}\appto\restoregeometry{\pdfpagewidth=\paperwidth\pdfpageheight=\paperheight}\apptocmd\newgeometry{\pdfpagewidth=\paperwidth\pdfpageheight=\paperheight}{}{}\makeatother\hfuzz=200pt\vfuzz=200pt\hbadness=\maxdimen\vbadness=\maxdimen\makeatletter\def\Hv@scale{.95}\makeatother\makeatletter\preto\tabular{\global\rownum=\z@}\preto\tabularx{\global\rownum=\z@}\makeatother\strictpagecheck\titlespacing{\section}{0pt}{20pt}{10pt}\titlespacing{\subsection}{0pt}{15pt}{10pt}\ttfamily \hyphenchar\the\font=`\-\makeatletter\g@addto@macro{\UrlBreaks}{\UrlOrds}\makeatother\urlstyle{\fonturl}\ifthenelse{\equal{\portraitstyle}{style16}}{\coreimporttikz}{}\ifthenelse{\equal{\portraitstyle}{\bgtemplatetestcode}}{\coreimporttikz}{}\ifthenelse{\equal{\compilertype}{pdf2latex}}{\pdfcompresslevel=\pdfcompilecompression\pdfdecimaldigits=2\pdfinclusionerrorlevel=0\pdfminorversion=\pdfcompileversion\pdfobjcompresslevel=\pdfcompileobjcompression}{\ifthenelse{\equal{\compilertype}{xelatex}}{}{\ifthenelse{\equal{\compilertype}{lualatex}}{}{\throwbadconfig{Compilador desconocido}{\compilertype}{pdf2latex,xelatex,lualatex}}}}\setcounter{secnumdepth}{4}\newcounter{subsubsubsection}[subsubsection]\ifthenelse{\equal{\showdotaftersnum}{true}}{\renewcommand{\thesubsubsubsection}{\thesubsubsection.\arabic{subsubsubsection}.}\renewcommand{\theparagraph}{\thesubsubsubsection.\arabic{paragraph}.}}{\renewcommand{\thesubsubsubsection}{\thesubsubsection.\arabic{subsubsubsection}}\renewcommand{\theparagraph}{\thesubsubsubsection.\arabic{paragraph}}}\makeatletter\def\toclevel@subsubsubsection{4}\def\toclevel@paragraph{5}\def\toclevel@subparagraph{6}\renewcommand\paragraph{\@startsection{paragraph}{5}{\z@}{3.25ex \@plus 1ex \@minus .2ex}{-1em}{\normalfont\normalsize\bfseries}}\renewcommand\subparagraph{\@startsection{subparagraph}{6}{\parindent}{3.25ex \@plus 1ex \@minus .2ex}{-1em}{\normalfont\normalsize\bfseries}}\ifthenelse{\equal{\showdotaftersnum}{true}}{\def\l@subsubsubsection{\@dottedtocline{4}{7.83em}{4.15em}}\def\l@paragraph{\@dottedtocline{5}{11.98em}{4.92em}}\def\l@subparagraph{\@dottedtocline{6}{14.65em}{5.69em}}}{\def\l@subsubsubsection{\@dottedtocline{4}{6.97em}{4em}}\def\l@paragraph{\@dottedtocline{5}{10.97em}{5em}}\def\l@subparagraph{\@dottedtocline{6}{14em}{6em}}}\makeatother\setcounter{tocdepth}{\indexdepth}\ifthenelse{\equal{\footnoterestart}{none}}{}{\ifthenelse{\equal{\footnoterestart}{sec}}{\counterwithin*{footnote}{section}}{\ifthenelse{\equal{\footnoterestart}{ssec}}{\counterwithin*{footnote}{subsection}}{\ifthenelse{\equal{\footnoterestart}{sssec}}{\counterwithin*{footnote}{subsubsection}}{\ifthenelse{\equal{\footnoterestart}{ssssec}}{\counterwithin*{footnote}{subsubsubsection}}{\ifthenelse{\equal{\footnoterestart}{page}}{\counterwithin*{footnote}{page}}{\ifthenelse{\equal{\footnoterestart}{chap}}{\counterwithin*{footnote}{chapter}}{\throwbadconfig{Formato reinicio numero footnote desconocido}{\footnoterestart}{none,chap,page,sec,ssec,sssec,ssssec}}}}}}}}\ifthenelse{\equal{\equationrestart}{none}}{}{\ifthenelse{\equal{\equationrestart}{chap}}{}{\ifthenelse{\equal{\equationrestart}{sec}}{}{\ifthenelse{\equal{\equationrestart}{ssec}}{}{\ifthenelse{\equal{\equationrestart}{sssec}}{}{\ifthenelse{\equal{\equationrestart}{ssssec}}{}{\throwbadconfig{Formato reinicio numero ecuacion desconocido}{\equationrestart}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\newtheoremstyle{miestilo}{\baselineskip}{3pt}{\itshape}{}{\bfseries}{}{.5em}{}\newtheoremstyle{miobs}{\baselineskip}{3pt}{}{}{\bfseries}{}{.5em}{}\theoremstyle{miestilo}\ifthenelse{\equal{\showsectioncaptionmat}{none}}{\newtheorem{defn}{\namemathdefn}\newtheorem{teo}{\namemaththeorem}\newtheorem{cor}{\namemathcol}\newtheorem{lema}{\namemathlem}\newtheorem{prop}{\namemathprp}}{\ifthenelse{\equal{\showsectioncaptionmat}{chap}}{\newtheorem{defn}{\namemathdefn}[chapter]\newtheorem{teo}{\namemaththeorem}[chapter]\newtheorem{cor}{\namemathcol}[chapter]\newtheorem{lema}{\namemathlem}[chapter]\newtheorem{prop}{\namemathprp}[chapter]}{\ifthenelse{\equal{\showsectioncaptionmat}{sec}}{\newtheorem{defn}{\namemathdefn}[section]\newtheorem{teo}{\namemaththeorem}[section]\newtheorem{cor}{\namemathcol}[section]\newtheorem{lema}{\namemathlem}[section]\newtheorem{prop}{\namemathprp}[section]}{\ifthenelse{\equal{\showsectioncaptionmat}{ssec}}{\newtheorem{defn}{\namemathdefn}[subsection]\newtheorem{teo}{\namemaththeorem}[subsection]\newtheorem{cor}{\namemathcol}[subsection]\newtheorem{lema}{\namemathlem}[subsection]\newtheorem{prop}{\namemathprp}[subsection]}{\ifthenelse{\equal{\showsectioncaptionmat}{sssec}}{\newtheorem{defn}{\namemathdefn}[subsubsection]\newtheorem{teo}{\namemaththeorem}[subsubsection]\newtheorem{cor}{\namemathcol}[subsubsection]\newtheorem{lema}{\namemathlem}[subsubsection]\newtheorem{prop}{\namemathprp}[subsubsection]}{\ifthenelse{\equal{\showsectioncaptionmat}{ssssec}}{\newtheorem{defn}{\namemathdefn}[subsubsubsection]\newtheorem{teo}{\namemaththeorem}[subsubsubsection]\newtheorem{cor}{\namemathcol}[subsubsubsection]\newtheorem{lema}{\namemathlem}[subsubsubsection]\newtheorem{prop}{\namemathprp}[subsubsubsection]}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptionmat}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\theoremstyle{miobs}\newtheorem*{ej}{\namemathej}\newtheorem*{obs}{\namemathobs}\unaccentedoperators\AtEndDocument{\addtocounter{equation}{\value{templateEquations}}\addtocounter{figure}{\value{templateFigures}}\addtocounter{lstlisting}{\value{templateListings}}\addtocounter{table}{\value{templateTables}}}\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
% INICIO DE LAS PÁGINAS
\begin{document}
% PORTADA
% Configuración portada style15 [A]
\def\portraitheaderimageA {departamentos/uchile} % Imagen en el header
\def\portraitheaderimagescaleA {0.4} % Escala de la imagen
% Configuración portada style16 [B]
\def\portraitbackgroundimageB {ejemplos/portrait} % Archivo de fondo
\def\portraitbackgroundcolorB {ocre} % Color principal
% Configuración portada style17 [C]
\def\portraitimageC {img/ejemplos/test-image} % Imagen de la portada
\def\portraitimageboxedC {false} % Imagen recuadrada
\def\portraitimageboxedwidthC {0.5} % Grosor línea recuadro
\def\portraitimagewidthC {8cm} % Ancho de la imagen en cm
% Configuración portada style18 [D]
\def\portraitimageD {img/ejemplos/test-image-wrap} % Imagen de la portada
\def\portraitimageboxedD {false} % Imagen recuadrada
\def\portraitimageboxedwidthD {0.5} % Grosor línea recuadro
\def\portraitimagewidthD {4cm} % Ancho de la imagen en cm
% Configuración portada style20 [E]
\def\portraitverticalspaceE {6cm} % Espacio vertical
\newpage\renewcommand{\thepage}{\nameportraitpage}
\newcommand{\COREwriteheaderitem}[2][]{\ifthenelse{\equal{#2}{\xspace}}{#1}{#2 ~ \\}}\newcommand{\COREwriteheaderitemsc}[2][]{\ifthenelse{\equal{#2}{\xspace}}{#1}{\small \scshape{\MakeUppercase{#2}} ~ \\}}\ifthenelse{\equal{\portraitstyle}{style1}}{\setpagemargincm{\pagemarginleft}{\firstpagemargintop}{\pagemarginright}{\pagemarginbottom}\pagestyle{fancy}\fancyhf{}\fancyhead[L]{\COREwriteheaderitem{\nombreuniversidad}\COREwriteheaderitem{\nombrefacultad}\COREwriteheaderitem{\departamentouniversidad}\vspace{-\baselineskip}}\fancyhead[R]{\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento}\vspace{-0.20cm}}~ \\\vfill\begin{center}\textcolor{\portraittitlecolor}{{\noindent \Huge{\titulodelinforme} \vspace{0.5cm}} ~ \\{\noindent \large{\temaatratar}}}\end{center}\vfill\noindent\begin{minipage}{1.0\textwidth}\begin{flushright}\tablaintegrantes\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style2}}{\setpagemargincm{\pagemarginleft}{\firstpagemargintop}{\pagemarginright}{\pagemarginbottom}\pagestyle{fancy}\fancyhf{}\fancyhead[L]{\COREwriteheaderitem{\nombreuniversidad}\COREwriteheaderitem{\nombrefacultad}\COREwriteheaderitem{\departamentouniversidad}\vspace{-\baselineskip}}\fancyhead[R]{\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento}\vspace{-0.20cm}}~ \\\vfill\begin{center}{\noindent \LARGE{\nombredelcurso} \vspace{0.3cm}} ~ \\\vspace*{1.5cm}\textcolor{\portraittitlecolor}{{\centering \noindent \Huge{\titulodelinforme} \vspace{0.3cm}} ~ \\{\noindent \large{\temaatratar}}}\end{center}\vfill\noindent\begin{minipage}{1.0\textwidth}\begin{flushright}\tablaintegrantes\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style3}}{\setpagemargincm{\pagemarginleft}{\firstpagemargintop}{\pagemarginright}{\pagemarginbottom}\pagestyle{fancy}\fancyhf{}\fancyhead[L]{\COREwriteheaderitem{\nombreuniversidad}\COREwriteheaderitem{\nombrefacultad}\COREwriteheaderitem{\departamentouniversidad}\vspace{-\baselineskip}}\fancyhead[R]{\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento}\vspace{-0.20cm}}~ \\\vfill\begin{center}\vspace*{-1.0cm}{\noindent \huge{\nombredelcurso} \vspace{0.3cm}} ~ \\{\noindent \large{Código del curso: \codigodelcurso}} ~ \\\vspace*{1.8cm}\textcolor{\portraittitlecolor}{{\noindent \Huge{\titulodelinforme} \vspace{0.3cm}} ~ \\{\noindent \large{\temaatratar}}}\end{center}\vfill\noindent\begin{minipage}{1.0\textwidth}\begin{flushright}\tablaintegrantes\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style4}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\vspace*{-1.5cm}\noindent \includegraphics[width=1.75cm]{uchile2}\hspace*{-0.15cm}\begin{tabular}{l}\COREwriteheaderitemsc[~\\]{\nombreuniversidad}\COREwriteheaderitemsc[~\\]{\nombrefacultad}\COREwriteheaderitemsc[~\\]{\departamentouniversidad}\vspace*{1.25cm}\mbox{}\end{tabular}\vfill\begin{center}{\fontsize{22pt}{10pt} \selectfont\noindent \textcolor{\portraittitlecolor}{\titulodelinforme} \vspace*{0.35cm}} ~ \\{\noindent \fontsize{10pt}{5pt} \selectfont \textcolor{\portraittitlecolor}{\codigodelcurso\ - \nombredelcurso}} ~ \\\vspace*{3cm}\end{center}\vfill\noindent\begin{minipage}{1.0\textwidth}\begin{flushright}\tablaintegrantes\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style5}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\includegraphics[width=1.5cm]{uchile3}\hspace{-0.2cm}\begin{tabular}{l}\COREwriteheaderitemsc[~\\]{\nombreuniversidad}\COREwriteheaderitemsc[~\\]{\nombrefacultad}\COREwriteheaderitemsc[~\\]{\departamentouniversidad}\vspace*{1cm}\mbox{}\end{tabular}\vfill\begin{center}\fontsize{8mm}{9mm}\selectfont\textcolor{\portraittitlecolor}{\noindent \titulodelinforme ~ \\}\vspace*{0.5cm}\Large{\noindent \textcolor{\portraittitlecolor}{\temaatratar}} ~ \\\vspace*{1cm}\footnotesize{\codigodelcurso\ - \nombredelcurso} ~ \\\vspace*{1.4cm}\end{center}\vfill\begin{center}\noindent \normalsize{\tablaintegrantes}\end{center}}{\ifthenelse{\equal{\portraitstyle}{style6}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\begin{wrapfigure}{l}{0.3\textwidth}\vspace{-0.69cm}\noindent \hspace{-1.10cm} \includegraphics[scale=1.35]{fcfm2}\end{wrapfigure}\def\COREstylefirstmargin {-2.2cm}\ifthenelse{\equal{\departamentouniversidad}{\xspace}}{}{\hspace*{0.05cm}\noindent \textsc{\color{red} \hspace{\COREstylefirstmargin} \departamentouniversidad} ~ \\\def\COREstylefirstmargin {-1.6cm}}\ifthenelse{\equal{\nombrefacultad}{\xspace}}{}{\hspace*{0.05cm}\noindent \textsc{\color{dkgray} \hspace{\COREstylefirstmargin} \nombrefacultad} ~ \\\def\COREstylefirstmargin {-1.6cm}}\ifthenelse{\equal{\nombreuniversidad}{\xspace}}{}{\hspace*{0.05cm}\noindent \textsc{\color{dkgray} \hspace{\COREstylefirstmargin} \nombreuniversidad} ~ \\\def\COREstylefirstmargin {-1.6cm}}\ifthenelse{\equal{\nombredelcurso}{\xspace}}{}{\hspace*{0.05cm}\noindent \textsc{\color{dkgray} \hspace{\COREstylefirstmargin} \codigodelcurso \nombredelcurso} ~ \\\def\COREstylefirstmargin {-1.6cm}}\vfill\begin{center}\vspace*{0.5cm}{\color{dkgray} \Large \textbf{\MakeUppercase{\temaatratar}}} ~ \\\noindent \rule{\linewidth}{0.3mm} ~ \\\Huge \textup \bfseries \textsc{\textcolor{\portraittitlecolor}{\titulodelinforme}} ~ \\\noindent \rule{\linewidth}{0.3mm} ~ \\\end{center}\begin{minipage}{.5\textwidth}~\end{minipage}\vfill\begin{minipage}{1.0\textwidth}\begin{flushright}\noindent \tablaintegrantes\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style7}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\begin{center}\vspace*{-1.5cm}\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento}\hspace*{-0.15cm}\begin{tabular}{l}\vspace*{0.26cm}\mbox{} ~ \\\COREwriteheaderitemsc{\nombreuniversidad}\COREwriteheaderitemsc{\nombrefacultad}\COREwriteheaderitemsc{\departamentouniversidad}\vspace*{1.25cm}\mbox{}\end{tabular}\end{center}\vfill\begin{center}\noindent \rule{\textwidth}{0.4mm} \\ \vspace{0.3cm}{\huge \textcolor{\portraittitlecolor}{\titulodelinforme} \vspace{0.2cm} ~ \\}\noindent \rule{\textwidth}{0.4mm} ~ \\ \vspace{0.40cm}{\large \textcolor{\portraittitlecolor}{\temaatratar} ~ \\}\end{center}\vfill\noindent\begin{minipage}{1.0\textwidth}\begin{flushright}\scshape{\tablaintegrantes}\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style8}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\begin{center}\vspace*{-1.0cm}\begin{tabular}{c}\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento} \vspace{0.5cm} ~ \\\COREwriteheaderitemsc{\nombreuniversidad}\COREwriteheaderitemsc{\nombrefacultad}\COREwriteheaderitemsc{\departamentouniversidad}\end{tabular}\end{center}\vfill\begin{center}\noindent \rule{\textwidth}{0.4mm} \\ \vspace{0.3cm}{\huge \textcolor{\portraittitlecolor}{\titulodelinforme} \vspace{0.2cm} ~ \\}\noindent \rule{\textwidth}{0.4mm} ~ \\ \vspace{0.40cm}{\large \textcolor{\portraittitlecolor}{\temaatratar} ~ \\}\end{center}\vfill\noindent\begin{minipage}{1.0\textwidth}\begin{flushright}\scshape{\tablaintegrantes}\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style9}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\noindent \includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento}\vfill\begin{center}\noindent \rule{\textwidth}{0.4mm} \\ \vspace{0.3cm}{\huge \textcolor{\portraittitlecolor}{\titulodelinforme} \vspace{0.2cm} \\}\noindent \rule{\textwidth}{0.4mm} \\ \vspace{0.35cm}{\large \textcolor{\portraittitlecolor}{\temaatratar} \\}\end{center}\vfill\begin{center}\begin{tabular}{c}\COREwriteheaderitemsc{\nombreuniversidad}\COREwriteheaderitemsc{\nombrefacultad}\COREwriteheaderitemsc{\departamentouniversidad}\end{tabular}\end{center}\vfill\begin{center}\indent \scshape{\tablaintegrantes}\end{center}}{\ifthenelse{\equal{\portraitstyle}{style10}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}~ \\\vfill\begin{center}\ifthenelse{\equal{\nombreuniversidad}{\xspace}}{\noindent {\large \textsc{\departamentouniversidad}}}{\noindent {\large \textsc{\nombreuniversidad, \departamentouniversidad}}}\vspace{1.0cm}\end{center}\vfill\begin{center}\ifthenelse{\equal{\nombredelcurso}{\xspace}}{}{\noindent {\large \scshape{\nombredelcurso}} \vspace{0.5cm} ~ \\}\ifthenelse{\equal{\codigodelcurso}{\xspace}}{}{\noindent {\large \scshape{\codigodelcurso}} \vspace{0.5cm} ~ \\}\noindent \rule{\textwidth}{0.4mm} \\ \vspace{0.3cm}{\huge \bfseries \textcolor{\portraittitlecolor}{\titulodelinforme} \vspace{0.2cm} \\}\noindent \rule{\textwidth}{0.4mm} \\ \vspace{2.5cm}\end{center}\vfill\begin{center}\indent \tablaintegrantes\end{center}\vfill~ \\}{\ifthenelse{\equal{\portraitstyle}{style11}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\begin{center}\vspace*{-1.0cm}\ifthenelse{\equal{\nombreuniversidad}{\xspace}}{}{\scshape{\nombreuniversidad} ~ \\}\ifthenelse{\equal{\nombrefacultad}{\xspace}}{}{\scshape{\nombrefacultad} ~ \\}\ifthenelse{\equal{\departamentouniversidad}{\xspace}}{}{\scshape{\departamentouniversidad}}\end{center}\vfill\begin{center}{\setstretch{1.2} \fontsize{21pt}{22pt} \selectfont \textcolor{\portraittitlecolor}{\scshape{\titulodelinforme}} \vspace{0.5cm}} ~ \\{\fontsize{13pt}{10pt} \selectfont \textcolor{\portraittitlecolor}{\scshape{\temaatratar}}}\end{center}\vfill\begin{center}\indent \tablaintegrantes\end{center}}{\ifthenelse{\equal{\portraitstyle}{style12}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\begin{center}\vspace*{-1.0cm}\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento}\end{center}\vfill\begin{center}{\bf \Huge \scshape{\textcolor{\portraittitlecolor}{\titulodelinforme}} \vspace{0.3cm}} \\{\bf \Large \textcolor{\portraittitlecolor}{\temaatratar}}\end{center}\vfill\begin{flushright}\noindent \tablaintegrantes\end{flushright}\vspace{0.5cm}\noindent \rule{\textwidth}{0.4mm}\begin{center}\ifthenelse{\equal{\nombreuniversidad}{\xspace}}{\scshape{\nombrefacultad} \\}{\scshape{\nombreuniversidad, \nombrefacultad} \\}\scshape{\departamentouniversidad}\end{center}}{\ifthenelse{\equal{\portraitstyle}{style13}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\noindent\vspace*{-1.5cm}\begin{flushleft}\begin{minipage}{0.65\textwidth}\ifthenelse{\equal{\nombreuniversidad}{\xspace}}{{\fontsize{3.5mm}{0.5mm} \selectfont \noindent \textsf{\nombrefacultad}} ~ \\}{{\fontsize{3.5mm}{0.5mm} \selectfont \noindent \textsf{\nombreuniversidad, \nombrefacultad}} ~ \\}\noindent {\fontsize{3.0mm}{0.5mm} \selectfont \textsf{\departamentouniversidad} \vspace{-0.2cm}} ~ \\\noindent \textcolor{gray}{\rule{\textwidth}{0.3mm}}\end{minipage}\end{flushleft}\vspace*{-2.15cm}\begin{flushright}\begin{minipage}{0.3\textwidth}\noindent \includegraphics[width=1.0\textwidth]{\imagendepartamento}\end{minipage}\end{flushright}\vfill\begin{center}\begin{minipage}{0.9\textwidth}\begin{framed}\LARGE\vspace{1cm}\centering \textcolor{\portraittitlecolor}{\textbf{\titulodelinforme}}\vspace{1cm}\end{framed}\end{minipage}\end{center}\vfill\begin{flushright}\noindent \textsf{\tablaintegrantes}\end{flushright}}{\ifthenelse{\equal{\portraitstyle}{style14}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\noindent\begin{flushleft}\vspace*{-1.0cm}\noindent \includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento} \\\end{flushleft}\vfill{\bf \huge \noindent \textcolor{\portraittitlecolor}{\textsf{\MakeUppercase{\titulodelinforme}} \vspace*{0.05cm}}} \\{\bf \large \noindent \textcolor{\portraittitlecolor}{\textsf{\MakeUppercase{\temaatratar}}}} \\\vfill\begin{flushright}\noindent \textsf{\tablaintegrantes}\end{flushright}}{\ifthenelse{\equal{\portraitstyle}{style15}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\checkextravarexist{\portraitheaderimageA}{Defina la imagen extra de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\checkextravarexist{\portraitheaderimagescaleA}{Defina la escala de la imagen extra de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\vspace*{-1.5cm}\noindent \begin{minipage}{0.8\textwidth}\noindent \begin{minipage}{0.22\textwidth}\includegraphics[scale=1.0]{fcfm2} \\\end{minipage}\begin{minipage}{0.6\textwidth}\begin{flushleft}\textsc{\begin{tabular}{l}\ifthenelse{\equal{\nombreuniversidad}{\xspace}}{}{{\small \nombreuniversidad} ~ \\}\ifthenelse{\equal{\nombrefacultad}{\xspace}}{}{{\small \nombrefacultad} ~ \\}\ifthenelse{\equal{\departamentouniversidad}{\xspace}}{}{{\small \departamentouniversidad}}\end{tabular}}\end{flushleft}\end{minipage}\end{minipage}\noindent \begin{minipage}{0.2\textwidth}\begin{flushright}\ifthenelse{\isundefined{\portraitheaderimageA}}{}{\ifthenelse{\isundefined{\portraitheaderimagescaleA}}{}{\noindent \includegraphics[scale=\portraitheaderimagescaleA]{\portraitheaderimageA} \\}}\end{flushright}\end{minipage}\vfill\begin{center}{\fontsize{25pt}{15pt} \selectfont \textcolor{\portraittitlecolor}{\textbf{\titulodelinforme}} \vspace{0.7cm}} \\{\Large \textcolor{\portraittitlecolor}{\temaatratar}}\end{center}\vfill\begin{center}\noindent \tablaintegrantes\end{center}}{\ifthenelse{\equal{\portraitstyle}{style16}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\checkextravarexist{\portraitbackgroundimageB}{[portrait-style16] Defina el fondo de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\checkextravarexist{\portraitbackgroundcolorB}{[portrait-style16] Defina el color del bloque del titulo de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\begingroup\thispagestyle{empty}\begin{tikzpicture}[remember picture,overlay]\node[inner sep=0pt] (background) at (current page.center) {\includegraphics[width=\paperwidth]{\portraitbackgroundimageB}};\draw (current page.center) node [fill=\portraitbackgroundcolorB!30!white,fill opacity=0.6,text opacity=1,inner sep=1cm]{\Huge\centering\bfseries\sffamily\parbox[c][][t]{\paperwidth}{\centering \textcolor{\portraittitlecolor}{\titulodelinforme} \\ [10pt]{\Large \textcolor{\portraittitlecolor}{\temaatratar}} \\ [25pt]{\huge \autordeldocumento}}};\end{tikzpicture}\vfill\endgroup}{\ifthenelse{\equal{\portraitstyle}{style17}}{\setpagemargincm{\pagemarginleft}{\firstpagemargintop}{\pagemarginright}{\pagemarginbottom}\pagestyle{fancy}\checkextravarexist{\portraitimageC}{[portrait-style17] Defina la imagen de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\checkextravarexist{\portraitimageboxedC}{[portrait-style17] Defina si la imagen de la portada se encierra en un recuadro en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\checkextravarexist{\portraitimageboxedwidthC}{[portrait-style17] Defina el grosor del recuadro de la imagen de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\checkextravarexist{\portraitimagewidthC}{[portrait-style17] Defina los parametros de la imagen de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\fancyhf{}\fancyhead[L]{\COREwriteheaderitem{\nombreuniversidad}\COREwriteheaderitem{\nombrefacultad}\COREwriteheaderitem{\departamentouniversidad}\vspace{-\baselineskip}}\fancyhead[R]{\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento}\vspace{-0.20cm}}~ \\\vfill\begin{center}\textcolor{\portraittitlecolor}{{\noindent \Huge{\titulodelinforme} \vspace{0.5cm}} ~ \\{\noindent \large{\temaatratar}}}\end{center}~ \\\ifthenelse{\equal{\portraitimageboxedC}{true}}{\insertimageboxed{\portraitimageC}{width=\portraitimagewidthC}{\portraitimageboxedwidthC}{}}{\insertimage{\portraitimageC}{width=\portraitimagewidthC}{}}~ \\\vfill\noindent\begin{minipage}{1.0\textwidth}\begin{flushright}\tablaintegrantes\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style18}}{\setpagemargincm{\pagemarginleft}{\firstpagemargintop}{\pagemarginright}{\pagemarginbottom}\pagestyle{fancy}\checkextravarexist{\portraitimageD}{[portrait-style18] Defina la imagen de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\checkextravarexist{\portraitimageboxedD}{[portrait-style18] Defina si la imagen de la portada se encierra en un recuadro en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\checkextravarexist{\portraitimageboxedwidthD}{[portrait-style18] Defina el grosor del recuadro de la imagen de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\checkextravarexist{\portraitimagewidthD}{[portrait-style18] Defina los parametros de la imagen de la portada en el archivo lib/page/portrait-config.tex (VERSION NORMAL) o bien en el bloque PORTADA (VERSION COMPACTA)}\fancyhf{}\fancyhead[L]{\COREwriteheaderitem{\nombreuniversidad}\COREwriteheaderitem{\nombrefacultad}\COREwriteheaderitem{\departamentouniversidad}\vspace{-\baselineskip}}\fancyhead[R]{\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento}\vspace{-0.20cm}}~ \\\ifthenelse{\equal{\portraitimageboxedD}{true}}{\insertimageboxed{\portraitimageD}{width=\portraitimagewidthD}{\portraitimageboxedwidthD}{}}{\insertimage{\portraitimageD}{width=\portraitimagewidthD}{}}\vfill\begin{center}\textcolor{\portraittitlecolor}{{\noindent \Huge{\titulodelinforme} \vspace{0.5cm}} ~ \\{\noindent \large{\temaatratar}}}\end{center}\vfill\noindent\begin{minipage}{1.0\textwidth}\begin{flushright}\tablaintegrantes\end{flushright}\end{minipage}}{\ifthenelse{\equal{\portraitstyle}{style19}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}\vspace*{0cm}\begin{center}\noindent \rule{\textwidth}{0.4mm} \\ \vspace{0.3cm}{\huge \bfseries \textcolor{\portraittitlecolor}{\titulodelinforme} \vspace{0.2cm} \\}\noindent \rule{\textwidth}{0.4mm}\end{center}~ \\\begin{center}\noindent {\large \scshape{\codigodelcurso} \large \scshape{\nombredelcurso}} \vspace{0.5cm} ~ \\\ifthenelse{\equal{\nombreuniversidad}{\xspace}}{\noindent {\large \textsc{\departamentouniversidad}}}{\noindent {\large \textsc{\nombreuniversidad, \departamentouniversidad}}}\vspace{1.0cm}\end{center}\vfill\begin{center}\indent \tablaintegrantes\end{center}~ \\}{\ifthenelse{\equal{\portraitstyle}{style20}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\thispagestyle{empty}{\raggedleft\rule{1pt}{\textheight}\hspace{0.05\textwidth}\parbox[b]{0.75\textwidth}{{\Huge\bfseries \textcolor{\portraittitlecolor}{\titulodelinforme}}\\[2\baselineskip]{\large\textit{\textcolor{\portraittitlecolor}{\temaatratar}}}\\[4\baselineskip]\vspace*{2cm}{\textsc{\begin{flushleft}\noindent\tablaintegrantes\end{flushleft}}}\vspace*{\portraitverticalspaceE}{\noindent \nombreuniversidad ~\\\nombrefacultad ~\\\departamentouniversidad}\\[\baselineskip]}}}{\ifthenelse{\equal{\portraitstyle}{\bgtemplatetestcode}}{\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\pagestyle{empty}\pagecolor{lbrown}\begin{center}\vspace*{-1.0cm}\ifthenelse{\equal{\nombreuniversidad}{\xspace}}{}{\scshape{\nombreuniversidad} ~ \\}\ifthenelse{\equal{\nombrefacultad}{\xspace}}{}{\scshape{\nombrefacultad} ~ \\}\ifthenelse{\equal{\departamentouniversidad}{\xspace}}{}{\scshape{\departamentouniversidad}}\end{center}~ \\\begin{center}\bgtemplatetestimg\end{center}\begin{center}\vspace*{-6cm}{\setstretch{1.2} \fontsize{25pt}{22pt} \selectfont \textcolor{\portraittitlecolor}{\scshape{\titulodelinforme}} \vspace{0.5cm}} \\{\fontsize{15pt}{10pt} \selectfont \textcolor{\portraittitlecolor}{\scshape{\temaatratar}}}\end{center}\vfill\begin{flushright}\noindent \tablaintegrantes\end{flushright}\newpage\pagecolor{\colorpage}}{\throwbadconfigondoc{Estilo de portada incorrecto}{\portraitstyle}{style1 .. style20}}}}}}}}}}}}}}}}}}}}}}\ifthenelse{\equal{\addemptypagetwosides}{true}}{\newpage\null\thispagestyle{empty}\renewcommand{\thepage}{}\newpage}{}
% CONFIGURACIÓN DE PÁGINA Y ENCABEZADOS
\newpage\ifthenelse{\equal{\predocpageromannumber}{true}}{\ifthenelse{\equal{\predocpageromanupper}{true}}{\pagenumbering{Roman}}{\pagenumbering{roman}}}{\pagenumbering{arabic}}\setcounter{page}{1}\setcounter{footnote}{0}\setpagemargincm{\pagemarginleft}{\pagemargintop}{\pagemarginright}{\pagemarginbottom}\def\arraystretch {\tablepaddingv}\setlength{\tabcolsep}{\tablepaddingh em}\ifthenelse{\equal{\pointdecimal}{true}}{\decimalpoint}{}\renewcommand{\appendixname}{\nomltappendixsection}\renewcommand{\appendixpagename}{\nameappendixsection}\renewcommand{\appendixtocname}{\nameappendixsection}\renewcommand{\contentsname}{\nomltcont}\renewcommand{\figurename}{\nomltwfigure}\renewcommand{\listfigurename}{\nomltfigure}\renewcommand{\listtablename}{\nomlttable}\renewcommand{\lstlistingname}{\nomltwsrc}\renewcommand{\lstlistlistingname}{\nomltsrc}\renewcommand{\refname}{\namereferences}\renewcommand{\bibname}{\namereferences}\renewcommand{\tablename}{\nomltwtable}\sectionfont{\color{\titlecolor} \fontsizetitle \styletitle \selectfont}\subsectionfont{\color{\subtitlecolor} \fontsizesubtitle \stylesubtitle \selectfont}\subsubsectionfont{\color{\subsubtitlecolor} \fontsizesubsubtitle \stylesubsubtitle \selectfont}\titleformat{\subsubsubsection}{\color{\ssstitlecolor} \normalfont \fontsizessstitle \stylessstitle}{\thesubsubsubsection}{1em}{}\titlespacing*{\subsubsubsection}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}\fancyheadoffset{0pt}\def\hfheaderimagesizeA {1.2}\ifthenelse{\equal{\hfstyle}{style1}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{\small \thepage}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyfoot[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\titulodelinforme}\end{flushleft}\end{minipage}}\fancyfoot[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\codigodelcurso \nombredelcurso}\end{flushright}\end{minipage}}}{\fancyfoot[L]{\small \textit{\titulodelinforme}}\fancyfoot[R]{\small \textit{\codigodelcurso \nombredelcurso}}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style1-i}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[LE,RO]{\nouppercase{\rightmark}}}{}\fancyhead[RE,LO]{\small \thepage}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyfoot[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\titulodelinforme}\end{flushleft}\end{minipage}}\fancyfoot[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\codigodelcurso \nombredelcurso}\end{flushright}\end{minipage}}}{\fancyfoot[L]{\small \textit{\titulodelinforme}}\fancyfoot[R]{\small \textit{\codigodelcurso \nombredelcurso}}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style1-d}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[LO,RE]{\nouppercase{\rightmark}}}{}\fancyhead[RO,LE]{\small \thepage}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyfoot[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\titulodelinforme}\end{flushleft}\end{minipage}}\fancyfoot[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\codigodelcurso \nombredelcurso}\end{flushright}\end{minipage}}}{\fancyfoot[L]{\small \textit{\titulodelinforme}}\fancyfoot[R]{\small \textit{\codigodelcurso \nombredelcurso}}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style2}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{\small \thepage}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyfoot[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\titulodelinforme}\end{flushleft}\end{minipage}}\fancyfoot[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\codigodelcurso \nombredelcurso}\end{flushright}\end{minipage}}}{\fancyfoot[L]{\small \textit{\titulodelinforme}}\fancyfoot[R]{\small \textit{\codigodelcurso \nombredelcurso}}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style2-i}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[LE,RO]{\nouppercase{\rightmark}}}{}\fancyhead[RE,LO]{\small \thepage}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyfoot[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\titulodelinforme}\end{flushleft}\end{minipage}}\fancyfoot[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\codigodelcurso \nombredelcurso}\end{flushright}\end{minipage}}}{\fancyfoot[L]{\small \textit{\titulodelinforme}}\fancyfoot[R]{\small \textit{\codigodelcurso \nombredelcurso}}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style1-d}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[LO,RE]{\nouppercase{\rightmark}}}{}\fancyhead[RO,LE]{\small \thepage}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyfoot[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\titulodelinforme}\end{flushleft}\end{minipage}}\fancyfoot[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\codigodelcurso \nombredelcurso}\end{flushright}\end{minipage}}}{\fancyfoot[L]{\small \textit{\titulodelinforme}}\fancyfoot[R]{\small \textit{\codigodelcurso \nombredelcurso}}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style3}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\codigodelcurso \nombredelcurso}\end{flushleft}\end{minipage}}}{\fancyhead[L]{\small \textit{\codigodelcurso \nombredelcurso}}}\fancyhead[R]{\includegraphics[width=\hfheaderimagesizeA cm]{\imagendepartamento}\vspace{-0.15cm}}\fancyfoot[C]{\thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0pt}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style4}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{}\fancyfoot[C]{\small \thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style5}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushleft}\codigodelcurso \nombredelcurso\end{flushleft}\end{minipage}}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[R]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushright}\nouppercase{\rightmark}\end{flushright}\end{minipage}}}{}}{\fancyhead[L]{\codigodelcurso \nombredelcurso}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[R]{\nouppercase{\rightmark}}}{}}\fancyfoot[L]{\departamentouniversidad, \nombreuniversidad}\fancyfoot[R]{\small \thepage}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style5-d}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushleft}\codigodelcurso \nombredelcurso\end{flushleft}\end{minipage}}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[R]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushright}\nouppercase{\rightmark}\end{flushright}\end{minipage}}}{}}{\fancyhead[L]{\codigodelcurso \nombredelcurso}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[R]{\nouppercase{\rightmark}}}{}}\fancyfoot[LO,RE]{\departamentouniversidad, \nombreuniversidad}\fancyfoot[RO,LE]{\small \thepage}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style5-i}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushleft}\codigodelcurso \nombredelcurso\end{flushleft}\end{minipage}}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[R]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushright}\nouppercase{\rightmark}\end{flushright}\end{minipage}}}{}}{\fancyhead[L]{\codigodelcurso \nombredelcurso}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[R]{\nouppercase{\rightmark}}}{}}\fancyfoot[LE,RO]{\departamentouniversidad, \nombreuniversidad}\fancyfoot[RE,LO]{\small \thepage}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style6}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\fancyfoot[L]{\departamentouniversidad}\fancyfoot[C]{\thepage}\fancyfoot[R]{\nombreuniversidad}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\setlength{\headheight}{49pt}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style7}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\fancyfoot[C]{\thepage}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\setlength{\headheight}{49pt}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style8}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\fancyfoot[R]{\thepage}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\setlength{\headheight}{49pt}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style8-d}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\fancyfoot[RO,LE]{\thepage}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\setlength{\headheight}{49pt}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style8-i}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\fancyfoot[RE,LO]{\thepage}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\setlength{\headheight}{49pt}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style9}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{}\fancyfoot[L]{\small \textit{\titulodelinforme}}\fancyfoot[R]{\small \thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style9-d}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{}\fancyfoot[RE,LO]{\small \textit{\titulodelinforme}}\fancyfoot[RO,LE]{\small \thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style9-i}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{}\fancyfoot[RO,LE]{\small \textit{\titulodelinforme}}\fancyfoot[RE,LO]{\small \thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style10}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\hfwidthwrap}{true}}{\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\nouppercase{\rightmark}\end{flushleft}\end{minipage}}}{}\fancyhead[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\titulodelinforme}\end{flushright}\end{minipage}}}{\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{\small \textit{\titulodelinforme}}}\fancyfoot[L]{}\fancyfoot[R]{\small \thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style10-i}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\hfwidthwrap}{true}}{\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\nouppercase{\rightmark}\end{flushleft}\end{minipage}}}{}\fancyhead[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\titulodelinforme}\end{flushright}\end{minipage}}}{\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{\small \textit{\titulodelinforme}}}\fancyfoot[L]{}\fancyfoot[RE,LO]{\small \thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style10-d}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\hfwidthwrap}{true}}{\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\nouppercase{\rightmark}\end{flushleft}\end{minipage}}}{}\fancyhead[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\titulodelinforme}\end{flushright}\end{minipage}}}{\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{\small \textit{\titulodelinforme}}}\fancyfoot[L]{}\fancyfoot[LE,RO]{\small \thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style11}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{\small \thepage \nomnpageof \pageref{LastPage}}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyfoot[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\titulodelinforme}\end{flushleft}\end{minipage}}\fancyfoot[R]{\begin{minipage}[t]{\hfwidthcourse\linewidth}\begin{flushright}\small \textit{\codigodelcurso \nombredelcurso}\end{flushright}\end{minipage}}}{\fancyfoot[L]{\small \textit{\titulodelinforme}}\fancyfoot[R]{\small \textit{\codigodelcurso \nombredelcurso}}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style12}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\fancyfoot[L]{\departamentouniversidad}\fancyfoot[C]{\thepage \nomnpageof \pageref{LastPage}}\fancyfoot[R]{\nombreuniversidad}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\setlength{\headheight}{49pt}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style13}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\small \textit{\codigodelcurso \nombredelcurso}\end{flushleft}\end{minipage}}}{\fancyhead[L]{\small \textit{\codigodelcurso \nombredelcurso}}}\fancyhead[R]{\includegraphics[width=\hfheaderimagesizeA cm]{\imagendepartamento}\vspace{-0.15cm}}\fancyfoot[C]{\thepage \nomnpageof \pageref{LastPage}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0pt}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style14}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{}\fancyfoot[C]{\small \thepage \nomnpageof \pageref{LastPage}}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style15}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\ifthenelse{\equal{\disablehfrightmark}{false}}{\fancyhead[L]{\nouppercase{\rightmark}}}{}\fancyhead[R]{}\fancyfoot[L]{\small \codigodelcurso \nombredelcurso}\fancyfoot[R]{\small \thepage}\renewcommand{\headrulewidth}{0.5pt}\renewcommand{\footrulewidth}{0.5pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\ifthenelse{\equal{\hfstyle}{style16}}{\pagestyle{fancy}\newcommand{\COREstyledefinition}{\fancyhf{}\renewcommand{\headrulewidth}{0pt}\renewcommand{\footrulewidth}{0pt}}\renewcommand{\sectionmark}[1]{\markboth{#1}{}}\COREstyledefinition}{\throwbadconfigondoc{Estilo de header-footer incorrecto}{\hfstyle}{style1 .. style16}}}}}}}}}}}}}}}}}}}}}}}}}}}}}\fancypagestyle{plain}{\fancyheadoffset{0pt}\COREstyledefinition}\ifthenelse{\equal{\showlinenumbers}{true}}{\linenumbers}{}
% ======================= RESUMEN O ABSTRACT =======================
\begin{resumen}
\lipsum[1] % Párrafo ejemplo, se puede borrar
\end{resumen}
% TABLA DE CONTENIDOS - ÍNDICE
\ifthenelse{\equal{\showindex}{true}}{\newpage\begingroup\sectionfont{\color{\indextitlecolor} \fontsizetitlei \styletitlei \selectfont}\ifthenelse{\equal{\addemptypagetwosides}{true}}{\checkoddpage\ifoddpage\else\newpage\null\thispagestyle{empty}\newpage\addtocounter{page}{-1}\fi}{}\ifthenelse{\equal{\addindextobookmarks}{true}}{\belowpdfbookmark{\nomltcont}{contents}}{}\tocloftpagestyle{fancy}\ifthenelse{\equal{\showdotaftersnum}{true}}{\def\cftchapaftersnum {.}\def\cftsecaftersnum {.}\def\cftsubsecaftersnum {.}\def\cftsubsubsecaftersnum {.}\def\cftsubsubsubsecaftersnum {.}\def\cftsecnumwidth {1.9em}\def\cftsubsecnumwidth {2.57em}\renewcommand\cftsubsubsecnumwidth{3.35em}\setlength{\cftsubsecindent}{1.91em}\setlength{\cftsubsubsecindent}{4.48em}}{}\renewcommand{\cftdot}{\charnumpageindex}\def\cftfigaftersnum {\charafterobjectindex\enspace}\def\cftsubfigaftersnum {\charafterobjectindex\enspace}\def\cfttabaftersnum {\charafterobjectindex\enspace}\def\cftlstlistingaftersnum {\charafterobjectindex\enspace}\def\cftmyindexequationsaftersnum {\charafterobjectindex\enspace}\ifthenelse{\equal{\showlinenumbers}{true}}{\nolinenumbers}{}\ifthenelse{\equal{\objectindexindent}{true}}{\setlength{\cfttabindent}{1.9em}\setlength{\cftfigindent}{1.9em}\setlength{\cftsubfigindent}{1.9em}\setlength{\cftmyindexequationsindent}{1.9em}\def\cftlstlistingindent {1.9em}}{\setlength{\cfttabindent}{0em}\setlength{\cftfigindent}{0em}\setlength{\cftsubfigindent}{0em}\setlength{\cftmyindexequationsindent}{0em}\def\cftlstlistingindent {0em}}\ifthenelse{\equal{\showsectioncaptioncode}{none}}{\def\cftdefautnumwidthcode {3.0em}\def\cftdefaultnumwidthromancode {5.25em}}{\ifthenelse{\equal{\showsectioncaptioncode}{sec}}{\def\cftdefautnumwidthcode {3.7em}\def\cftdefaultnumwidthromancode {5.75em}}{\ifthenelse{\equal{\showsectioncaptioncode}{ssec}}{\def\cftdefautnumwidthcode {4.4em}\def\cftdefaultnumwidthromancode {6.25em}}{\ifthenelse{\equal{\showsectioncaptioncode}{sssec}}{\def\cftdefautnumwidthcode {5.1em}\def\cftdefaultnumwidthromancode {6.75em}}{\ifthenelse{\equal{\showsectioncaptioncode}{ssssec}}{\def\cftdefautnumwidthcode {5.8em}\def\cftdefaultnumwidthromancode {7.25em}}{\ifthenelse{\equal{\showsectioncaptioncode}{chap}}{\def\cftdefautnumwidthcode {3.0em}\def\cftdefaultnumwidthromancode {5.25em}}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptioncode}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\ifthenelse{\equal{\showsectioncaptioneqn}{none}}{\def\cftdefautnumwidtheqn {3.0em}\def\cftdefaultnumwidthromaneqn {5.25em}}{\ifthenelse{\equal{\showsectioncaptioneqn}{sec}}{\def\cftdefautnumwidtheqn {3.7em}\def\cftdefaultnumwidthromaneqn {5.75em}}{\ifthenelse{\equal{\showsectioncaptioneqn}{ssec}}{\def\cftdefautnumwidtheqn {4.4em}\def\cftdefaultnumwidthromaneqn {6.25em}}{\ifthenelse{\equal{\showsectioncaptioneqn}{sssec}}{\def\cftdefautnumwidtheqn {5.1em}\def\cftdefaultnumwidthromaneqn {6.75em}}{\ifthenelse{\equal{\showsectioncaptioneqn}{ssssec}}{\def\cftdefautnumwidtheqn {5.8em}\def\cftdefaultnumwidthromaneqn {7.25em}}{\ifthenelse{\equal{\showsectioncaptioneqn}{chap}}{\def\cftdefautnumwidtheqn {3.0em}\def\cftdefaultnumwidthromaneqn {5.25em}}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptioneqn}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\ifthenelse{\equal{\showsectioncaptionfig}{none}}{\def\cftdefautnumwidthfig {3.0em}\def\cftdefaultnumwidthromanfig {5.25em}}{\ifthenelse{\equal{\showsectioncaptionfig}{sec}}{\def\cftdefautnumwidthfig {3.7em}\def\cftdefaultnumwidthromanfig {5.75em}}{\ifthenelse{\equal{\showsectioncaptionfig}{ssec}}{\def\cftdefautnumwidthfig {4.4em}\def\cftdefaultnumwidthromanfig {6.25em}}{\ifthenelse{\equal{\showsectioncaptionfig}{sssec}}{\def\cftdefautnumwidthfig {5.1em}\def\cftdefaultnumwidthromanfig {6.75em}}{\ifthenelse{\equal{\showsectioncaptionfig}{ssssec}}{\def\cftdefautnumwidthfig {5.8em}\def\cftdefaultnumwidthromanfig {7.25em}}{\ifthenelse{\equal{\showsectioncaptionfig}{chap}}{\def\cftdefautnumwidthfig {3.0em}\def\cftdefaultnumwidthromanfig {5.25em}}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptionfig}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\ifthenelse{\equal{\showsectioncaptiontab}{none}}{\def\cftdefautnumwidthtab {3.0em}\def\cftdefaultnumwidthromantab {5.25em}}{\ifthenelse{\equal{\showsectioncaptiontab}{sec}}{\def\cftdefautnumwidthtab {3.7em}\def\cftdefaultnumwidthromantab {5.75em}}{\ifthenelse{\equal{\showsectioncaptiontab}{ssec}}{\def\cftdefautnumwidthtab {4.4em}\def\cftdefaultnumwidthromantab {6.25em}}{\ifthenelse{\equal{\showsectioncaptiontab}{sssec}}{\def\cftdefautnumwidthtab {5.1em}\def\cftdefaultnumwidthromantab {6.75em}}{\ifthenelse{\equal{\showsectioncaptiontab}{ssssec}}{\def\cftdefautnumwidthtab {5.8em}\def\cftdefaultnumwidthromantab {7.25em}}{\ifthenelse{\equal{\showsectioncaptiontab}{chap}}{\def\cftdefautnumwidthtab {3.0em}\def\cftdefaultnumwidthromantab {5.25em}}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptiontab}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\def\cftfignumwidth {\cftdefautnumwidth}\def\cfttabnumwidth {\cftdefautnumwidth}\def\cftlstlistingnumwidth {\cftdefautnumwidth}\ifthenelse{\equal{\captionnumcode}{arabic}}{\def\cftlstlistingnumwidth {\cftdefautnumwidthcode}}{\ifthenelse{\equal{\captionnumcode}{roman}}{\def\cftlstlistingnumwidth {\cftdefaultnumwidthromancode}}{\ifthenelse{\equal{\captionnumcode}{Roman}}{\def\cftlstlistingnumwidth {\cftdefaultnumwidthromancode}}{\def\cftlstlistingnumwidth {\cftdefautnumwidthcode}}}}\ifthenelse{\equal{\captionnumequation}{arabic}}{\def\cftmyindexequationsnumwidth {\cftdefautnumwidtheqn}}{\ifthenelse{\equal{\captionnumequation}{roman}}{\def\cftmyindexequationsnumwidth {\cftdefaultnumwidthromaneqn}}{\ifthenelse{\equal{\captionnumequation}{Roman}}{\def\cftmyindexequationsnumwidth {\cftdefaultnumwidthromaneqn}}{\def\cftmyindexequationsnumwidth {\cftdefautnumwidtheqn}}}}\ifthenelse{\equal{\captionnumfigure}{arabic}}{\def\cftfignumwidth {\cftdefautnumwidthfig}}{\ifthenelse{\equal{\captionnumfigure}{roman}}{\def\cftfignumwidth {\cftdefaultnumwidthromanfig}}{\ifthenelse{\equal{\captionnumfigure}{Roman}}{\def\cftfignumwidth {\cftdefaultnumwidthromanfig}}{\def\cftfignumwidth {\cftdefautnumwidthfig}}}}\ifthenelse{\equal{\captionnumtable}{arabic}}{\def\cfttabnumwidth {\cftdefautnumwidthtab}}{\ifthenelse{\equal{\captionnumtable}{roman}}{\def\cfttabnumwidth {\cftdefaultnumwidthromantab}}{\ifthenelse{\equal{\captionnumtable}{Roman}}{\def\cfttabnumwidth {\cftdefaultnumwidthromantab}}{\def\cfttabnumwidth {\cftdefautnumwidthtab}}}}\newcommand{\LoIf}{\iftotalfigures\ifthenelse{\equal{\indexnewpagef}{true}}{\newpage}{}\listoffigures\fi}\newcommand{\LoIt}{\iftotaltables\ifthenelse{\equal{\indexnewpaget}{true}}{\newpage}{}\listoftables\fi}\newcommand{\LoIc}{\iftotallstlistings\ifthenelse{\equal{\indexnewpagec}{true}}{\newpage}{}\lstlistoflistings\fi}\newcommand{\LoIe}{\iftotaltemplateIndexEquationss\ifthenelse{\equal{\indexnewpagee}{true}}{\newpage}{}\listofmyindexequations\fi}\ifthenelse{\equal{\showindexofcontents}{true}}{\tableofcontents}{}\ifthenelse{\equal{\indexstyle}{ftc}}{\LoIf\LoIt\LoIc}{\ifthenelse{\equal{\indexstyle}{}}{}{\ifthenelse{\equal{\indexstyle}{e}}{\LoIe}{\ifthenelse{\equal{\indexstyle}{c}}{\LoIc}{\ifthenelse{\equal{\indexstyle}{f}}{\LoIf}{\ifthenelse{\equal{\indexstyle}{t}}{\LoIt}{\ifthenelse{\equal{\indexstyle}{ec}}{\LoIe\LoIc}{\ifthenelse{\equal{\indexstyle}{ce}}{\LoIc\LoIe}{\ifthenelse{\equal{\indexstyle}{ef}}{\LoIe\LoIf}{\ifthenelse{\equal{\indexstyle}{fe}}{\LoIf\LoIe}{\ifthenelse{\equal{\indexstyle}{et}}{\LoIe\LoIt}{\ifthenelse{\equal{\indexstyle}{te}}{\LoIt\LoIe}{\ifthenelse{\equal{\indexstyle}{cf}}{\LoIc\LoIf}{\ifthenelse{\equal{\indexstyle}{fc}}{\LoIf\LoIc}{\ifthenelse{\equal{\indexstyle}{ct}}{\LoIc\LoIt}{\ifthenelse{\equal{\indexstyle}{tc}}{\LoIt\LoIc}{\ifthenelse{\equal{\indexstyle}{ft}}{\LoIf\LoIt}{\ifthenelse{\equal{\indexstyle}{tf}}{\LoIt\LoIf}{\ifthenelse{\equal{\indexstyle}{ecf}}{\LoIe\LoIc\LoIf}{\ifthenelse{\equal{\indexstyle}{efc}}{\LoIe\LoIf\LoIc}{\ifthenelse{\equal{\indexstyle}{cef}}{\LoIc\LoIe\LoIf}{\ifthenelse{\equal{\indexstyle}{cfe}}{\LoIc\LoIf\LoIe}{\ifthenelse{\equal{\indexstyle}{fec}}{\LoIf\LoIe\LoIc}{\ifthenelse{\equal{\indexstyle}{fce}}{\LoIf\LoIc\LoIe}{\ifthenelse{\equal{\indexstyle}{ect}}{\LoIe\LoIc\LoIt}{\ifthenelse{\equal{\indexstyle}{etc}}{\LoIe\LoIt\LoIc}{\ifthenelse{\equal{\indexstyle}{cet}}{\LoIc\LoIe\LoIt}{\ifthenelse{\equal{\indexstyle}{cte}}{\LoIc\LoIt\LoIe}{\ifthenelse{\equal{\indexstyle}{tec}}{\LoIt\LoIe\LoIc}{\ifthenelse{\equal{\indexstyle}{tce}}{\LoIt\LoIc\LoIe}{\ifthenelse{\equal{\indexstyle}{eft}}{\LoIe\LoIf\LoIt}{\ifthenelse{\equal{\indexstyle}{etf}}{\LoIe\LoIt\LoIf}{\ifthenelse{\equal{\indexstyle}{fet}}{\LoIf\LoIe\LoIt}{\ifthenelse{\equal{\indexstyle}{fte}}{\LoIf\LoIt\LoIe}{\ifthenelse{\equal{\indexstyle}{tef}}{\LoIt\LoIe\LoIf}{\ifthenelse{\equal{\indexstyle}{tfe}}{\LoIt\LoIf\LoIe}{\ifthenelse{\equal{\indexstyle}{cft}}{\LoIc\LoIf\LoIt}{\ifthenelse{\equal{\indexstyle}{ctf}}{\LoIc\LoIt\LoIf}{\ifthenelse{\equal{\indexstyle}{fct}}{\LoIf\LoIc\LoIt}{\ifthenelse{\equal{\indexstyle}{tcf}}{\LoIt\LoIc\LoIf}{\ifthenelse{\equal{\indexstyle}{tfc}}{\LoIt\LoIf\LoIc}{\ifthenelse{\equal{\indexstyle}{ecft}}{\LoIe\LoIc\LoIf\LoIt}{\ifthenelse{\equal{\indexstyle}{ectf}}{\LoIe\LoIc\LoIt\LoIf}{\ifthenelse{\equal{\indexstyle}{efct}}{\LoIe\LoIf\LoIc\LoIt}{\ifthenelse{\equal{\indexstyle}{eftc}}{\LoIe\LoIf\LoIt\LoIc}{\ifthenelse{\equal{\indexstyle}{etcf}}{\LoIe\LoIt\LoIc\LoIf}{\ifthenelse{\equal{\indexstyle}{etfc}}{\LoIe\LoIt\LoIf\LoIc}{\ifthenelse{\equal{\indexstyle}{ceft}}{\LoIc\LoIe\LoIf\LoIt}{\ifthenelse{\equal{\indexstyle}{cetf}}{\LoIc\LoIe\LoIt\LoIf}{\ifthenelse{\equal{\indexstyle}{cfet}}{\LoIc\LoIf\LoIe\LoIt}{\ifthenelse{\equal{\indexstyle}{cfte}}{\LoIc\LoIf\LoIt\LoIe}{\ifthenelse{\equal{\indexstyle}{ctef}}{\LoIc\LoIt\LoIe\LoIf}{\ifthenelse{\equal{\indexstyle}{ctfe}}{\LoIc\LoIt\LoIf\LoIe}{\ifthenelse{\equal{\indexstyle}{fect}}{\LoIf\LoIe\LoIc\LoIt}{\ifthenelse{\equal{\indexstyle}{fetc}}{\LoIf\LoIe\LoIt\LoIc}{\ifthenelse{\equal{\indexstyle}{fcet}}{\LoIf\LoIc\LoIe\LoIt}{\ifthenelse{\equal{\indexstyle}{fcte}}{\LoIf\LoIc\LoIt\LoIe}{\ifthenelse{\equal{\indexstyle}{ftec}}{\LoIf\LoIt\LoIe\LoIc}{\ifthenelse{\equal{\indexstyle}{ftce}}{\LoIf\LoIt\LoIc\LoIe}{\ifthenelse{\equal{\indexstyle}{tecf}}{\LoIt\LoIe\LoIc\LoIf}{\ifthenelse{\equal{\indexstyle}{tefc}}{\LoIt\LoIe\LoIf\LoIc}{\ifthenelse{\equal{\indexstyle}{tcef}}{\LoIt\LoIc\LoIe\LoIf}{\ifthenelse{\equal{\indexstyle}{tcfe}}{\LoIt\LoIc\LoIf\LoIe}{\ifthenelse{\equal{\indexstyle}{tfec}}{\LoIt\LoIf\LoIe\LoIc}{\ifthenelse{\equal{\indexstyle}{tfce}}{\LoIt\LoIf\LoIc\LoIe}{\throwbadconfig{Estilo desconocido del indice}{\indexstyle}{ftc,,e,c,f,t,ec,ce,ef,fe,et,te,cf,fc,ct,tc,ft,tf,ecf,efc,cef,cfe,fec,fce,ect,etc,cet,cte,tec,tce,eft,etf,fet,fte,tef,tfe,cft,ctf,fct,tcf,tfc,ecft,ectf,efct,eftc,etcf,etfc,ceft,cetf,cfet,cfte,ctef,ctfe,fect,fetc,fcet,fcte,ftec,ftce,tecf,tefc,tcef,tcfe,tfec,tfce}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}\endgroup\newpage\ifthenelse{\equal{\addemptypagetwosides}{true}}{\vfill\checkoddpage\ifoddpage\newpage\null\thispagestyle{empty}\newpage\addtocounter{page}{-1}\else\fi}{}}{}
% CONFIGURACIONES FINALES
\markboth{}{}\newpage\ifthenelse{\equal{\disablehfrightmark}{false}}{\def\COREhfstyledefA {\fancypagestyle{plain}{\fancyhead[L]{\nouppercase{\leftmark}}}\fancyhead[L]{\nouppercase{\leftmark}}}\def\COREhfstyledefB {\fancypagestyle{plain}{\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[R]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushright}\nouppercase{\leftmark}\end{flushright}\end{minipage}}}{\fancyhead[R]{\nouppercase{\leftmark}}}}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[R]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushright}\nouppercase{\leftmark}\end{flushright}\end{minipage}}}{\fancyhead[R]{\nouppercase{\leftmark}}}}\def\COREhfstyledefC {\fancypagestyle{plain}{\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\nouppercase{\leftmark}\end{flushleft}\end{minipage}}}{\fancyhead[L]{\nouppercase{\leftmark}}}}\ifthenelse{\equal{\hfwidthwrap}{true}}{\fancyhead[L]{\begin{minipage}[t]{\hfwidthtitle\linewidth}\begin{flushleft}\nouppercase{\leftmark}\end{flushleft}\end{minipage}}}{\fancyhead[L]{\nouppercase{\leftmark}}}}\ifthenelse{\equal{\hfstyle}{style1}}{\COREhfstyledefA}{\ifthenelse{\equal{\hfstyle}{style1-i}}{\fancypagestyle{plain}{\fancyhead[LE,RO]{\nouppercase{\leftmark}}}\fancyhead[LE,RO]{\nouppercase{\leftmark}}}{\ifthenelse{\equal{\hfstyle}{style1-d}}{\fancypagestyle{plain}{\fancyhead[LO,RE]{\nouppercase{\leftmark}}}\fancyhead[LO,RE]{\nouppercase{\leftmark}}}{\ifthenelse{\equal{\hfstyle}{style2}}{\COREhfstyledefA}{\ifthenelse{\equal{\hfstyle}{style2-i}}{\fancypagestyle{plain}{\fancyhead[LE,RO]{\nouppercase{\leftmark}}}\fancyhead[LE,RO]{\nouppercase{\leftmark}}}{\ifthenelse{\equal{\hfstyle}{style2-d}}{\fancypagestyle{plain}{\fancyhead[LO,RE]{\nouppercase{\leftmark}}}\fancyhead[LO,RE]{\nouppercase{\leftmark}}}{\ifthenelse{\equal{\hfstyle}{style4}}{\COREhfstyledefA}{\ifthenelse{\equal{\hfstyle}{style5}}{\COREhfstyledefB}{\ifthenelse{\equal{\hfstyle}{style5-d}}{\COREhfstyledefB}{\ifthenelse{\equal{\hfstyle}{style5-i}}{\COREhfstyledefB}{\ifthenelse{\equal{\hfstyle}{style9}}{\COREhfstyledefA}{\ifthenelse{\equal{\hfstyle}{style9-d}}{\COREhfstyledefA}{\ifthenelse{\equal{\hfstyle}{style9-i}}{\COREhfstyledefA}{\ifthenelse{\equal{\hfstyle}{style10}}{\COREhfstyledefC}{\ifthenelse{\equal{\hfstyle}{style10-d}}{\COREhfstyledefC}{\ifthenelse{\equal{\hfstyle}{style10-i}}{\COREhfstyledefC}{\ifthenelse{\equal{\hfstyle}{style11}}{\COREhfstyledefA}{\ifthenelse{\equal{\hfstyle}{style14}}{\COREhfstyledefA}{\ifthenelse{\equal{\hfstyle}{style15}}{\COREhfstyledefA}{}}}}}}}}}}}}}}}}}}}}{}\sectionfont{\color{\titlecolor} \fontsizetitle \styletitle \selectfont}\subsectionfont{\color{\subtitlecolor} \fontsizesubtitle \stylesubtitle \selectfont}\subsubsectionfont{\color{\subsubtitlecolor} \fontsizesubsubtitle \stylesubsubtitle \selectfont}\titleformat{\subsubsubsection}{\color{\ssstitlecolor} \normalfont \fontsizessstitle \stylessstitle}{\thesubsubsubsection}{1em}{}\titlespacing*{\subsubsubsection}{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}\ifthenelse{\equal{\showsectioncaptioncode}{none}}{\def\sectionobjectnumcode {}}{\ifthenelse{\equal{\showsectioncaptioncode}{sec}}{\def\sectionobjectnumcode {\thesection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptioncode}{ssec}}{\def\sectionobjectnumcode {\thesubsection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptioncode}{sssec}}{\def\sectionobjectnumcode {\thesubsubsection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptioncode}{ssssec}}{\ifthenelse{\equal{\showdotaftersnum}{true}}{\def\sectionobjectnumcode {\thesubsubsubsection}}{\def\sectionobjectnumcode {\thesubsubsubsection\sectioncaptiondelimiter}}}{\ifthenelse{\equal{\showsectioncaptioncode}{chap}}{\def\sectionobjectnumcode {\thechapter\sectioncaptiondelimiter}}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptioncode}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\ifthenelse{\equal{\showsectioncaptioneqn}{none}}{\def\sectionobjectnumeqn {}}{\ifthenelse{\equal{\showsectioncaptioneqn}{sec}}{\def\sectionobjectnumeqn {\thesection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptioneqn}{ssec}}{\def\sectionobjectnumeqn {\thesubsection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptioneqn}{sssec}}{\def\sectionobjectnumeqn {\thesubsubsection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptioneqn}{ssssec}}{\ifthenelse{\equal{\showdotaftersnum}{true}}{\def\sectionobjectnumeqn {\thesubsubsubsection}}{\def\sectionobjectnumeqn {\thesubsubsubsection\sectioncaptiondelimiter}}}{\ifthenelse{\equal{\showsectioncaptioneqn}{chap}}{\def\sectionobjectnumeqn {\thechapter\sectioncaptiondelimiter}}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptioneqn}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\ifthenelse{\equal{\showsectioncaptionfig}{none}}{\def\sectionobjectnumfig {}}{\ifthenelse{\equal{\showsectioncaptionfig}{sec}}{\def\sectionobjectnumfig {\thesection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptionfig}{ssec}}{\def\sectionobjectnumfig {\thesubsection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptionfig}{sssec}}{\def\sectionobjectnumfig {\thesubsubsection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptionfig}{ssssec}}{\ifthenelse{\equal{\showdotaftersnum}{true}}{\def\sectionobjectnumfig {\thesubsubsubsection}}{\def\sectionobjectnumfig {\thesubsubsubsection\sectioncaptiondelimiter}}}{\ifthenelse{\equal{\showsectioncaptionfig}{chap}}{\def\sectionobjectnumfig {\thechapter\sectioncaptiondelimiter}}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptionfig}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\ifthenelse{\equal{\showsectioncaptiontab}{none}}{\def\sectionobjectnumtab {}}{\ifthenelse{\equal{\showsectioncaptiontab}{sec}}{\def\sectionobjectnumtab {\thesection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptiontab}{ssec}}{\def\sectionobjectnumtab {\thesubsection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptiontab}{sssec}}{\def\sectionobjectnumtab {\thesubsubsection\sectioncaptiondelimiter}}{\ifthenelse{\equal{\showsectioncaptiontab}{ssssec}}{\ifthenelse{\equal{\showdotaftersnum}{true}}{\def\sectionobjectnumtab {\thesubsubsubsection}}{\def\sectionobjectnumtab {\thesubsubsubsection\sectioncaptiondelimiter}}}{\ifthenelse{\equal{\showsectioncaptiontab}{chap}}{\def\sectionobjectnumtab {\thechapter\sectioncaptiondelimiter}}{\throwbadconfig{Valor configuracion incorrecto}{\showsectioncaptiontab}{none,chap,sec,ssec,sssec,ssssec}}}}}}}\ifthenelse{\equal{\captionnumcode}{arabic}}{\renewcommand{\thelstlisting}{\sectionobjectnumcode\arabic{lstlisting}}}{\ifthenelse{\equal{\captionnumcode}{alph}}{\renewcommand{\thelstlisting}{\sectionobjectnumcode\alph{lstlisting}}}{\ifthenelse{\equal{\captionnumcode}{Alph}}{\renewcommand{\thelstlisting}{\sectionobjectnumcode\Alph{lstlisting}}}{\ifthenelse{\equal{\captionnumcode}{roman}}{\renewcommand{\thelstlisting}{\sectionobjectnumcode\roman{lstlisting}}}{\ifthenelse{\equal{\captionnumcode}{Roman}}{\renewcommand{\thelstlisting}{\sectionobjectnumcode\Roman{lstlisting}}}{\throwbadconfig{Tipo numero codigo fuente desconocido}{\captionnumcode}{arabic,alph,Alph,roman,Roman}}}}}}\ifthenelse{\equal{\captionnumequation}{arabic}}{\renewcommand{\theequation}{\sectionobjectnumeqn\arabic{equation}}}{\ifthenelse{\equal{\captionnumequation}{alph}}{\renewcommand{\theequation}{\sectionobjectnumeqn\alph{equation}}}{\ifthenelse{\equal{\captionnumequation}{Alph}}{\renewcommand{\theequation}{\sectionobjectnumeqn\Alph{equation}}}{\ifthenelse{\equal{\captionnumequation}{roman}}{\renewcommand{\theequation}{\sectionobjectnumeqn\roman{equation}}}{\ifthenelse{\equal{\captionnumequation}{Roman}}{\renewcommand{\theequation}{\sectionobjectnumeqn\Roman{equation}}}{\throwbadconfig{Tipo numero ecuacion desconocido}{\captionnumequation}{arabic,alph,Alph,roman,Roman}}}}}}\ifthenelse{\equal{\captionnumfigure}{arabic}}{\renewcommand{\thefigure}{\sectionobjectnumfig\arabic{figure}}}{\ifthenelse{\equal{\captionnumfigure}{alph}}{\renewcommand{\thefigure}{\sectionobjectnumfig\alph{figure}}}{\ifthenelse{\equal{\captionnumfigure}{Alph}}{\renewcommand{\thefigure}{\sectionobjectnumfig\Alph{figure}}}{\ifthenelse{\equal{\captionnumfigure}{roman}}{\renewcommand{\thefigure}{\sectionobjectnumfig\roman{figure}}}{\ifthenelse{\equal{\captionnumfigure}{Roman}}{\renewcommand{\thefigure}{\sectionobjectnumfig\Roman{figure}}}{\throwbadconfig{Tipo numero figura desconocido}{\captionnumfigure}{arabic,alph,Alph,roman,Roman}}}}}}\ifthenelse{\equal{\captionnumsubfigure}{arabic}}{\renewcommand{\thesubfigure}{\arabic{subfigure}}}{\ifthenelse{\equal{\captionnumsubfigure}{alph}}{\renewcommand{\thesubfigure}{\alph{subfigure}}}{\ifthenelse{\equal{\captionnumsubfigure}{Alph}}{\renewcommand{\thesubfigure}{\Alph{subfigure}}}{\ifthenelse{\equal{\captionnumsubfigure}{roman}}{\renewcommand{\thesubfigure}{\roman{subfigure}}}{\ifthenelse{\equal{\captionnumsubfigure}{Roman}}{\renewcommand{\thesubfigure}{\Roman{subfigure}}}{\throwbadconfig{Tipo numero subfigura desconocido}{\captionnumsubfigure}{arabic,alph,Alph,roman,Roman}}}}}}\ifthenelse{\equal{\captionnumtable}{arabic}}{\renewcommand{\thetable}{\sectionobjectnumtab\arabic{table}}}{\ifthenelse{\equal{\captionnumtable}{alph}}{\renewcommand{\thetable}{\sectionobjectnumtab\alph{table}}}{\ifthenelse{\equal{\captionnumtable}{Alph}}{\renewcommand{\thetable}{\sectionobjectnumtab\Alph{table}}}{\ifthenelse{\equal{\captionnumtable}{roman}}{\renewcommand{\thetable}{\sectionobjectnumtab\roman{table}}}{\ifthenelse{\equal{\captionnumtable}{Roman}}{\renewcommand{\thetable}{\sectionobjectnumtab\Roman{table}}}{\throwbadconfig{Tipo numero tabla desconocido}{\captionnumtable}{arabic,alph,Alph,roman,Roman}}}}}}\ifthenelse{\equal{\captionnumsubtable}{arabic}}{\renewcommand{\thesubtable}{\arabic{subtable}}}{\ifthenelse{\equal{\captionnumsubtable}{alph}}{\renewcommand{\thesubtable}{\alph{subtable}}}{\ifthenelse{\equal{\captionnumsubtable}{Alph}}{\renewcommand{\thesubtable}{\Alph{subtable}}}{\ifthenelse{\equal{\captionnumsubtable}{roman}}{\renewcommand{\thesubtable}{\roman{subtable}}}{\ifthenelse{\equal{\captionnumsubtable}{Roman}}{\renewcommand{\thesubtable}{\Roman{subtable}}}{\throwbadconfig{Tipo numero subtabla desconocido}{\captionnumsubtable}{arabic,alph,Alph,roman,Roman}}}}}}\ifthenelse{\equal{\predocpageromannumber}{true}}{\renewcommand{\thepage}{\arabic{page}}}{}\ifthenelse{\equal{\predocresetpagenumber}{true}}{\setcounter{page}{1}}{}\setcounter{section}{0}\setcounter{footnote}{0}\ifthenelse{\equal{\showlinenumbers}{true}}{\linenumbers}{}\titleclass{\subsubsubsection}{straight}[\subsection]~\vspace{-2.75\baselineskip}
% ======================= INICIO DEL DOCUMENTO =======================
\input{example} % Ejemplo, se puede borrar
% FIN DEL DOCUMENTO
\end{document}