forked from Template-Latex/Template-Auxiliares
-
Notifications
You must be signed in to change notification settings - Fork 0
/
auxiliar.tex
216 lines (193 loc) · 79.9 KB
/
auxiliar.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
% Template: Template Auxiliar LaTeX
% Documento: Archivo principal
% Versión: 6.0.9 (16/01/2019)
% Codificación: UTF-8
%
% Autor: Pablo Pizarro R. @ppizarror
% Facultad de Ciencias Físicas y Matemáticas
% Universidad de Chile
% pablo.pizarro@ing.uchile.cl, ppizarror.com
%
% Sitio web: [https://latex.ppizarror.com/Template-Auxiliares/]
% Licencia MIT: [https://opensource.org/licenses/MIT]
% CREACIÓN DEL DOCUMENTO
\documentclass[letterpaper,11pt]{article} % Articulo tamaño carta, 11pt
\usepackage[utf8]{inputenc} % Codificación UTF-8
% INFORMACIÓN DEL DOCUMENTO
\def\tituloauxiliar {Título de la auxiliar}
\def\temaatratar {Tema de la auxiliar}
\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}
% EQUIPO DOCENTE
\def\equipodocente {
\textbf{Prof: Profesor} \\
Auxiliares: Auxiliar 1, Auxiliar 2 \\
Ayudantes: Ayudante 1, Ayudante 2, Ayudante 3 \\
}
% CONFIGURACIONES GENERALES
\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 online
\def\importtikz {false} % Utilizar la librería tikz
\def\pointdecimal {true} % N° decimales con punto en vez de coma
\def\predocuseromannumber {true} % Pág. con número romano previo a inicio doc.
\def\showlinenumbers {false} % Muestra los números de línea del documento
% 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.45} % Margen izq/der leyendas múltiple img [cm]
\def\captionnumcode {arabic} % N° código {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\codecaptiontop {true} % Leyenda arriba del código fuente
\def\figurecaptiontop {false} % Leyenda arriba de las imágenes
\def\showsectioncaption {none} % N° sec. en objeto {none,(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
% ANEXO, CITAS, REFERENCIAS
\def\apaciterefsep {9} % Separación entre refs. {apacite} [pt]
\def\appendixindepobjnum {true} % Anexo usa n° objetos independientes
\def\bibtexrefsep {9} % Separación entre refs. {bibtex} [pt]
\def\natbibrefsep {5} % Separación entre referencia {natbib} [pt]
\def\natbibrefstyle {ieeetr} % Formato de ref. natbib {apa,ieeetr,etc..}
\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\equationrestart {sec} % N° ecuación {none,page,(s/ss/sss/ssss)ec}
\def\footnoterestart {none} % N° footnote {none,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\marginaligntop {-0.40} % Margen superior entorno align [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\margineqncaptionbottom {0.0} % Margen inferior caption ecuación [cm]
\def\margineqncaptiontop {-0.65} % Margen superior caption ecuación [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\margingathertop {-0.40} % 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\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\tabledefaultplacement {H} % Posición por defecto de las tablas
\def\tablepaddingh {1.0} % Espaciado horizontal de celda de las tablas
\def\templatestyle {style1} % Estilo del template: style1,style2
\def\tablepaddingv {1.0} % 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\disablehfrightmark {false} % Desactiva el rightmark del header-footer
\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\showdotaftersnum {false} % 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
% CONFIGURACIÓN DE LOS COLORES DEL DOCUMENTO
\def\captioncolor {black} % Color de la leyenda (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\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\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\titlecolor {black} % Color de los títulos
\def\urlcolor {magenta} % Color de los enlaces web (\href,\url)
% MÁRGENES DE PÁGINA
\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 {2.30} % Margen superior página [cm]
% OPCIONES DEL PDF COMPILADO
\def\addindextobookmarks {false} % Añade el índice a los marcadores del pdf
\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\cfgpdfmenubar {true} % Muestra el menú del lector
\def\cfgpdfpagemode {OneColumn} % Modo de página {OneColumn,SinglePage}
\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\pdfcompileversion {7} % Versión mínima del pdf compilado (1.x)
% NOMBRE DE OBJETOS
\def\nameappendixsection {Anexos} % Nombre de la sec. de anexos/apéndices
\def\namereferences {Referencias} % Nombre de la sección de referencias
\def\nomltappendixsection {Anexo} % Etiqueta sección en anexo/apéndices
\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
% DECLARACIÓN DE LIBRERÍAS
\newcommand{\throwbadconfig}[3]{\errmessage{LaTeX Warning: #1 \noexpand #2=#2. Valores esperados: #3}\stop}\usepackage[spanish,es-nosectiondot,es-lcroman,es-noquoting]{babel}\usepackage{ifthen}\let\counterwithout\relax\let\counterwithin\relax\ifthenelse{\equal{\fontdocument}{lmodern}}{\usepackage{lmodern}}{\ifthenelse{\equal{\fontdocument}{arial}}{\usepackage{helvet}\renewcommand{\familydefault}{\sfdefault}}{\ifthenelse{\equal{\fontdocument}{arial2}}{\usepackage{arial}}{\ifthenelse{\equal{\fontdocument}{accantis}}{\usepackage{accanthis}}{\ifthenelse{\equal{\fontdocument}{alegreya}}{\usepackage{Alegreya}\renewcommand*\oldstylenums[1]{{\AlegreyaOsF #1}}}{\ifthenelse{\equal{\fontdocument}{alegreyasans}}{\usepackage[sfdefault]{AlegreyaSans}\renewcommand*\oldstylenums[1]{{\AlegreyaSansOsF #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}{opensans}}{\usepackage[default,osfigures,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{Fuente desconocida}{\fontdocument}{lmodern,arial,arial2,helvet,accantis,alegreya,alegreyasans,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,kuriercondensed,kurierlight,kurierlightcondensed,lato,libris,lxfonts,merriweather,merriweatherlight,mintspirit,montserratalternatesextralight,montserratalternatesregular,montserratalternatesthin,montserratextralight,montserratlight,montserratregular,montserratthin,nimbussans,noto,opensans,overlock,paratype,paratypesanscaption,paratypesansnarrow,quattrocento,raleway,roboto,robotolight,robotolightcondensed,robotothin,rosario,sourcesanspro,uarial,ugq,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{amsmath}\usepackage{amssymb}\usepackage{array}\usepackage{bigstrut}\usepackage{bm}\usepackage{booktabs}\usepackage{caption}\usepackage{changepage}\usepackage{chngcntr}\usepackage{color}\usepackage{colortbl}\usepackage{csquotes}\usepackage{datetime}\usepackage{floatpag}\usepackage{floatrow}\usepackage{framed}\usepackage{gensymb}\usepackage{geometry}\usepackage{graphicx}\usepackage{lipsum}\usepackage{listings}\usepackage{listingsutf8}\usepackage{longtable}\usepackage{mathtools}\usepackage{multicol}\usepackage{needspace}\usepackage{pdflscape}\usepackage{pdfpages}\usepackage{physics}\usepackage{rotating}\usepackage{sectsty}\usepackage{selinput}\usepackage{setspace}\usepackage{siunitx}\usepackage{soul}\usepackage{subfig}\usepackage{textcomp}\usepackage{url}\usepackage{wasysym}\usepackage{wrapfig}\usepackage{xspace}\usepackage[makeroom]{cancel}\usepackage[inline]{enumitem}\usepackage[bottom,norule,hang]{footmisc}\usepackage[subfigure,titles]{tocloft}\usepackage[pdfencoding=auto,psdextra]{hyperref}\usepackage[figure,table,lstlisting]{totalcount}\usepackage[normalem]{ulem}\usepackage[usenames,dvipsnames]{xcolor}\ifthenelse{\equal{\showdotaftersnum}{true}}{\usepackage{secdot}\sectiondot{subsection}\sectiondot{subsubsection}}{}\ifthenelse{\equal{\stylecitereferences}{natbib}}{\ifthenelse{\equal{\natbibrefstyle}{apa}}{\usepackage{natbib}}{\ifthenelse{\equal{\natbibrefstyle}{ieeetr}}{\usepackage[numbers]{natbib}}{\ifthenelse{\equal{\natbibrefstyle}{unsrt}}{\usepackage[numbers]{natbib}}{\ifthenelse{\equal{\natbibrefstyle}{abbrvnat}}{\usepackage[numbers]{natbib}}{\usepackage{natbib}}}}}}{\ifthenelse{\equal{\stylecitereferences}{apacite}}{\usepackage{apacite}}{\ifthenelse{\equal{\stylecitereferences}{bibtex}}{}{}}}\usepackage{appendix}\usepackage{bookmark}\usepackage{fancyhdr}\usepackage{float}\usepackage{hyperxmp}\usepackage{multirow}\usepackage{titlesec}
% DECLARACIÓN DE FUNCIONES
\newcommand{\newquestion}[1]{\emptyvarerr{\newquestion}{#1}{Titulo pregunta no definido}\sectionanum{#1}}\newcommand{\newboxquestion}[1]{\emptyvarerr{\newquestion}{#1}{Titulo pregunta no definido}\phantomsection\newp \fbox{\ \textbf{#1}.-\ } \noindent\pdfbookmark[1]{#1}{toc}}\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}\ifx\hfuzz\envimagescaptionvar\hfuzz\vspace{\captionlessmarginimage cm}\else\caption{\envimagescaptionvar\envimageslabelvar}\fi\end{figure}\setcaptionmargincm{\captionlrmargin}\vspace{\marginimagebottom cm}\def\GLOBALenvimageinitialized {false}}\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}{99}}{\end{thebibliography}\endgroup}\newenvironment{anexo}{\begingroup\clearpage\phantomsection\def\GLOBALsectionalph{true}\appendixtitleon\appendicestocpagenum\appendixtitletocon\bookmarksetup{numbered,openlevel=0}\begin{appendices}\bookmarksetupnext{level=part}\ifthenelse{\equal{\showappendixsecindex}{true}}{}{\belowpdfbookmark{\nameappendixsection}{contents}}\setcounter{secnumdepth}{4}\setcounter{tocdepth}{4}\ifthenelse{\equal{\appendixindepobjnum}{true}}{\counterwithin{equation}{section}\counterwithin{figure}{section}\counterwithin{lstlisting}{section}\counterwithin{table}{section}}{}}{\end{appendices}\def\GLOBALsectionalph{false}\bookmarksetupnext{level=0}\endgroup}\newcommand{\coreinitsourcecodep}[4]{\emptyvarerr{sourcecodep}{#2}{Estilo 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{\equationresize}{#2}{Estilo 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}}
\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{\includehfpdf}[2][]{\includepdf[pagecommand={\pagestyle{fancy}},#1]{#2}}\newcommand{\includefullhfpdf}[2][]{\includepdf[pages=-,pagecommand={\pagestyle{fancy}},#1]{#2}}\newcommand{\quotes}[1]{\enquote*{#1}}\newcommand{\insertemail}[1]{\href{mailto:#1}{\texttt{#1}}}\newcommand{\insertphone}[1]{\href{tel:#1}{\texttt{#1}}}
\newcommand{\sectionanum}[1]{\emptyvarerr{\sectionanum}{#1}{Titulo no definido}\phantomsection\needspace{3\baselineskip}\section*{#1}\addcontentsline{toc}{section}{#1}\stepcounter{section}}\newcommand{\subsectionanum}[1]{\emptyvarerr{\subsectionanum}{#1}{Subtitulo no definido}\subsection*{#1}\addcontentsline{toc}{subsection}{#1}\stepcounter{subsection}}\newcommand{\subsubsectionanum}[1]{\emptyvarerr{\subsubsectionanum}{#1}{Sub-subtitulo no definido}\subsubsection*{#1}\addcontentsline{toc}{subsubsection}{#1}\stepcounter{subsubsection}}\newcommand{\subsubsubsectionanum}[1]{\emptyvarerr{\subsubsubsectionanum}{#1}{Sub-sub-subtitulo no definido}\subsubsubsection*{#1}\addcontentsline{toc}{subsubsubsection}{#1}\stepcounter{subsubsubsection}}
\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}\caption{#5 #1}\fi\end{figure}\vspace{\marginimagebottom cm}}\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\caption{#5 #1}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}}\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\caption{#6 #1}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}}\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\caption{#5 #1}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}}\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\caption{#6 #1}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}}\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\caption{#6 #1}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}}\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\caption{#7 #1}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}}\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\caption{#6 #1}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}}\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\caption{#7 #1}\fi\end{wrapfigure}\setcaptionmargincm{\captionlrmargin}}
\newcommand{\equationresize}[2]{\emptyvarerr{\equationresize}{#1}{Dimension no definida}\emptyvarerr{\equationresize}{#2}{Ecuacion a redimensionar no definida}\resizebox{#1\textwidth}{!}{$#2$}}\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{\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\insertgatherededanum{#2}}}\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{\insertaligncaptioned}{#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{\insertalignedcaptioned}{#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}}}}
\def\GLOBALcoretikzimported {false}\def\GLOBALenvimageadded {false}\def\GLOBALenvimageinitialized {false}\def\GLOBALenvimagenewlinemarg {0.25}\def\GLOBALsectionalph {false}\def\GLOBALsectionanumenabled {false}\def\GLOBALsubsectionanumenabled {false}\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]{\newgeometry{left=#1cm, top=#2cm, right=#3cm, bottom=#4cm}}\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}}{}}\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}\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\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{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}\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}\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=,otherkeywords={<html>,transform:,transition-duration:,transition-property:,transition-timing-function:},width=},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{matlab}{language=Matlab,keepspaces=true,morekeywords={break,end,for,if,matlab2tikz,warning}}\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]{-dof,-ele,-eleRange,-file,-iNode,-jNode,-kNode,-ndf,-ndm,-node,-nodeRange,-region,-time},emphstyle=[1]\color{black}\bfseries\em,keepspaces=true,morecomment=[l]{\#},ndkeywords={Aggregator,algorithm,analysis,analyze,BasicBuilder,constraints,deformation,disp,DisplayModel2D,DisplayModel3D,Elastic,element,equalDOF,fix,fixX,fixY,fixZ,geomTransf,integrator,Linear,loadConst,LoadControl,mass,model,Node,node,nonlinearBeamColumn,numberer,pattern,Plain,printA,rayleigh,reaction,recorder,region,section,Steel01,system,test,truss,uniaxialMaterial,wipe},ndkeywordstyle=\color{dkcyan}\ttfamily}\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={},keepspaces=true,literate={\ \ }{{\ }}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,keepspaces=true}\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{sql}{language=SQL,breakatwhitespace=true}\lstdefinestyle{tcl}{language=tcl,breakatwhitespace=false,keepspaces=true,morecomment=[l]{\#}}\lstdefinelanguage{XML}{morecomment=[s]{<?}{?>},morekeywords={encoding,type,version,xmlns},morestring=[b]",morestring=[s]{>}{<}}\lstdefinestyle{xml}{language=XML,tabsize=2}\lstset{aboveskip=3mm,basicstyle={\small\ttfamily},belowskip=3mm,breaklines=true,columns=fullflexible,commentstyle=\color{dkgreen}\ttfamily\upshape,extendedchars=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,numbers=left,numbersep=5pt,numberstyle=\tiny\color{dkgray},postbreak=\mbox{$\hookrightarrow$\space},showspaces=false,showstringspaces=false,showtabs=false,stepnumber=1,stringstyle=\color{mauve},tabsize=3}\newcommand{\checkvalidsourcecodestyle}[1]{\ifthenelse{\equal{#1}{bash}}{}{\ifthenelse{\equal{#1}{c}}{}{\ifthenelse{\equal{#1}{cpp}}{}{\ifthenelse{\equal{#1}{csharp}}{}{\ifthenelse{\equal{#1}{cuda}}{}{\ifthenelse{\equal{#1}{docker}}{}{\ifthenelse{\equal{#1}{glsl}}{}{\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}{matlab}}{}{\ifthenelse{\equal{#1}{opencl}}{}{\ifthenelse{\equal{#1}{opensees}}{}{\ifthenelse{\equal{#1}{perl}}{}{\ifthenelse{\equal{#1}{php}}{}{\ifthenelse{\equal{#1}{plaintext}}{}{\ifthenelse{\equal{#1}{pseudocode}}{}{\ifthenelse{\equal{#1}{python}}{}{\ifthenelse{\equal{#1}{ruby}}{}{\ifthenelse{\equal{#1}{scala}}{}{\ifthenelse{\equal{#1}{sql}}{}{\ifthenelse{\equal{#1}{tcl}}{}{\ifthenelse{\equal{#1}{xml}}{}{\def\sourcecodestyle {#1}\throwbadconfig{Estilo de codigo desconocido}{\sourcecodestyle}{bash,c,cpp,csharp,cuda,docker,glsl,html5,java,js,json,kotlin,latex,matlab,opencl,opensees,perl,php,plaintext,pseudocode,python,ruby,scala,sql,tcl,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{\tituloauxiliar}\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\tituloauxiliar\xspace\makeatother\ifthenelse{\isundefined{\equipodocente}}{\errmessage{LaTeX Warning: Se borro la variable \noexpand\equipodocente, creando una vacia}\def\equipodocente {}}{}\ifthenelse{\equal{\cfgpdfsecnumbookmarks}{true}}{\bookmarksetup{numbered}}{}\ifthenelse{\equal{\cfgshowbookmarkmenu}{true}}{\def\cdfpagemodepdf {UseOutlines}}{\def\cdfpagemodepdf {UseNone}}\hypersetup{bookmarksopen={\cfgpdfbookmarkopen},bookmarksopenlevel={\cfgbookmarksopenlevel},bookmarkstype={toc},pdfauthor={\autordeldocumento},pdfcenterwindow={\cfgpdfcenterwindow},pdfcopyright={\cfgpdfcopyright},pdfcreator={LaTeX},pdfdisplaydoctitle={\cfgpdfdisplaydoctitle},pdffitwindow={\cfgpdffitwindow},pdfinfo={Curso.Codigo={\codigodelcurso},Curso.Nombre={\nombredelcurso},Documento.Autor={\autordeldocumento},Documento.Tema={\temaatratar},Documento.Titulo={\tituloauxiliar},Template.Autor.Alias={ppizarror},Template.Autor.Email={pablo.pizarro@ing.uchile.cl},Template.Autor.Nombre={Pablo Pizarro R.},Template.Autor.Web={https://ppizarror.com/},Template.Codificacion={UTF-8},Template.Fecha={16/01/2019},Template.Latex.Compilador={pdflatex},Template.Licencia.Tipo={MIT},Template.Licencia.Web={https://opensource.org/licenses/MIT/},Template.Nombre={Template-Auxiliares},Template.Tipo={Compacto},Template.Version.Dev={6.0.9-1-AUX-C},Template.Version.Hash={247E1DFA2BBC5CA6AE7F97D87323630B},Template.Version.Release={6.0.9},Template.Web.Dev={https://github.com/Template-Latex/Template-Auxiliares/},Template.Web.Manual={https://latex.ppizarror.com/Template-Auxiliares/},Universidad.Departamento={\departamentouniversidad},Universidad.Nombre={\nombreuniversidad},Universidad.Ubicacion={\localizacionuniversidad}},pdfkeywords={\codigodelcurso, \nombredelcurso, \nombreuniversidad, \localizacionuniversidad},pdflang={\documentlang},pdfmenubar={\cfgpdfmenubar},pdfpagelayout={\cfgpdfpagemode},pdfpagemode={\cdfpagemodepdf},pdfproducer={Template-Auxiliares v6.0.9 | (Pablo Pizarro R.) ppizarror.com},pdfremotestartview={Fit},pdfstartpage={1},pdfstartview={\cfgpdfpageview},pdfsubject={\temaatratar},pdftitle={\tituloauxiliar},pdftoolbar={\cfgpdftoolbar}}\graphicspath{{./\defaultimagefolder}}\newcounter{templatepagecounter}\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}{}}\captionsetup{labelfont={color=\captioncolor, \captiontextbold},labelformat={\captionlabelformat},labelsep={\captionlabelsep},textfont={color=\captiontextcolor},singlelinecheck=on}\captionsetup[subfigure]{labelfont={color=\captioncolor, \captiontextbold},labelformat={\subcaptionlabelformat},labelsep={\subcaptionlabelsep},textfont={color=\captiontextcolor},singlelinecheck=on}\captionsetup[subtable]{labelfont={color=\captioncolor, \captiontextbold},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}}{\ifthenelse{\equal{\stylecitereferences}{apacite}}{\bibliographystyle{apacite}\setlength{\bibitemsep}{\apaciterefsep pt}}{\ifthenelse{\equal{\stylecitereferences}{bibtex}}{\bibliographystyle{apa}\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}}}}\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\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\strictpagecheck\titlespacing{\section}{0pt}{20pt}{10pt}\titlespacing{\subsection}{0pt}{15pt}{10pt}\ttfamily \hyphenchar\the\font=`\-\urlstyle{tt}\pdfminorversion=\pdfcompileversion\setcounter{secnumdepth}{4}\newcounter{subsubsubsection}[subsubsection]\titleclass{\subsubsubsection}{straight}[\subsection]\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}{1}\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}}{\throwbadconfig{Formato reinicio numero footnote desconocido}{\footnoterestart}{none,page,sec,ssec,sssec,ssssec}}}}}}}\ifthenelse{\equal{\equationrestart}{none}}{}{\ifthenelse{\equal{\equationrestart}{sec}}{\counterwithin*{equation}{section}}{\ifthenelse{\equal{\equationrestart}{ssec}}{\counterwithin*{equation}{subsection}}{\ifthenelse{\equal{\equationrestart}{sssec}}{\counterwithin*{equation}{subsubsection}}{\ifthenelse{\equal{\equationrestart}{ssssec}}{\counterwithin*{equation}{subsubsubsection}}{\ifthenelse{\equal{\equationrestart}{page}}{\counterwithin*{equation}{page}}{\throwbadconfig{Formato reinicio numero ecuacion desconocido}{\footnoterestart}{none,page,sec,ssec,sssec,ssssec}}}}}}}
% INICIO DE LAS PÁGINAS
\begin{document}
% CONFIGURACIÓN DE PÁGINA Y ENCABEZADOS
\newpage\renewcommand{\thepage}{\arabic{page}}\setcounter{page}{1}\setcounter{section}{0}\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{\refname}{\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}\ifthenelse{\equal{\templatestyle}{style1}}{\pagestyle{fancy} \fancyhf{} \fancyhead[L]{} \fancyhead[R]{}\renewcommand{\headrulewidth}{0pt}\fancyfoot[L]{\small \rm \textit{\tituloauxiliar}}\fancyfoot[R]{\small \rm \nouppercase{\thepage}}\renewcommand{\footrulewidth}{0.5pt}\fancypagestyle{styleportrait}{\pagestyle{fancy}\fancyhf{}\fancyhead[L]{\vspace*{2.5cm}\nombreuniversidad ~ \\\nombrefacultad ~ \\\departamentouniversidad ~ \\\codigodelcurso\ - \nombredelcurso}\fancyhead[R]{\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento} \vspace{0cm}}\renewcommand{\headrulewidth}{0.5pt}\setpagemargincm{\pagemarginleft}{2.0}{\pagemarginright}{\pagemarginbottom}\fancyfoot[L]{\small \rm \textit{\tituloauxiliar}}\fancyfoot[R]{\small \rm \nouppercase{\thepage}}\renewcommand{\footrulewidth}{0.5pt}}\thispagestyle{styleportrait}\begin{center}\vspace*{2.0cm}\huge {\tituloauxiliar} ~ \\\vspace{0.2cm}\large {\temaatratar} ~ \\\ifx\hfuzz\equipodocente\hfuzz\else\vspace{0.7cm}\equipodocente\vspace{0.4cm}\fi\end{center}}{\ifthenelse{\equal{\templatestyle}{style2}}{\pagestyle{fancy} \fancyhf{} \fancyhead[L]{} \fancyhead[R]{}\renewcommand{\headrulewidth}{0pt}\fancyfoot[L]{}\fancyfoot[C]{\thepage}\fancyfoot[R]{}\renewcommand{\footrulewidth}{0pt}\fancypagestyle{styleportrait}{\pagestyle{fancy}\fancyhf{}\fancyhead[L]{\includegraphics[scale=\imagendepartamentoescala]{\imagendepartamento} \vspace{0cm}}\fancyhead[R]{\vspace*{4.5cm}}\renewcommand{\headrulewidth}{0pt}\setpagemargincm{\pagemarginleft}{2.0}{\pagemarginright}{\pagemarginbottom}\fancyfoot[L]{}\fancyfoot[C]{\thepage}\fancyfoot[R]{}\renewcommand{\footrulewidth}{0pt}}\thispagestyle{styleportrait}\begin{center}\vspace*{2.0cm}\LARGE {\textbf{\tituloauxiliar}} ~ \\\vspace{0.3cm}\Large {\codigodelcurso \nombredelcurso} ~ \\\vspace{0.2cm}\large {\temaatratar} ~ \\\ifx\hfuzz\equipodocente\hfuzz\else\vspace{0.5cm}\equipodocente\vspace{0.4cm}\fi\end{center}}{\throwbadconfigondoc{Estilo de template incorrecto}{\templatestyle}{style1,style2}}}\ifthenelse{\equal{\showlinenumbers}{true}}{\linenumbers}{}
% ======================= INICIO DEL DOCUMENTO =======================
\input{example} % Ejemplo, se puede borrar
% FIN DEL DOCUMENTO
\end{document}