forked from hugoallan9/tesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThesisMain.tex
349 lines (308 loc) · 11.4 KB
/
ThesisMain.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
%-----------------------Inicio Preámbulo-----------------------------------------------
\documentclass[letterpaper,12pt]{thesis}
\raggedbottom
\usepackage{layout}
\usepackage[utf8]{inputenc}
\usepackage[pdftex]{graphicx}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage{afterpage}
\usepackage{titlesec}
\usepackage{parskip}
\usepackage{pdfpages}
\usepackage{amsfonts,amsmath,amssymb,amsthm,mathrsfs}
\usepackage{latexsym,wasysym}
%manejando los margenes para que la portada cuadre poner
\usepackage[letterpaper, textwidth=5.94095 in, textheight=21.3 cm, footskip = 0.815cm, left=1.5748 in, top=1.55480315in,twoside ]{geometry}
%\usepackage[paper=letterpaper, marginparsep=0in,footskip = 0.7505cm, marginparwidth= 0in, headsep= 0in, headheight= 0in, top=4cm, bottom=2.5cm,left=4cm,right=2.5cm,twoside]{geometry}
\usepackage{textcomp}
\usepackage[all]{xy}
\usepackage{longtable}
\usepackage{multirow}
\usepackage[spanish]{babel}
\addto\captionsspanish{\renewcommand{\listfigurename}{ÍNDICE DE ILUSTRACIONES}}
\usepackage[round,colon]{bibthesis}
\usepackage{color, enumerate, indentfirst}
\usepackage{hyperref,url,breakurl}
\usepackage{ dsfont }
%para manejar las imagenes (titulos y subtitulos de)
\usepackage{caption}
\usepackage{subcaption}
%para cambiar letra de subcaption a 10 pt
\usepackage{etoolbox}
\usepackage[nodisplayskipstretch]{setspace}
%Paquete para el manejo del Indic
\usepackage[titles]{tocloft}
\renewcommand*{\captionfont}{\bf}
\renewcommand{\captionlabelfont}{\normalfont}
%---------------------------Fin Preambulo------------------------------------------------
%------------Nueva Definicion para ámbito proof.
\makeatletter
\newenvironment{proof*}[1][\proofname]{\par
\pushQED{\qed}%
\normalfont \partopsep=\z@skip \topsep=\z@skip
\trivlist
\item[\hskip\labelsep\indent
%\itshape
#1\@addpunct{.}]\ignorespaces
}{%
\popQED\endtrivlist\@endpefalse
}
\makeatother
\makeatletter
\patchcmd{\caption@@@make}% <cmd>
{\ifcaption@star}% <search>
{\ifcaption@star\normalfont\footnotesize}% <replace>
{}{}% <success><failure>
\makeatother
\makeatletter
\g@addto@macro\normalsize{%
\setlength\abovedisplayskip{1.81em}
\setlength\belowdisplayskip{1.81em}
\setlength\abovedisplayshortskip{1.81em}
\setlength\belowdisplayshortskip{1.81em}
}
%-------------Implementacion distancia titulos, subtitulos, etc -------------
\titlespacing{\section}{0pt}{*0.1}{*0.1} % <------ Separación ente el titulo de seccion y parrafo y seccion y titulo.
\titlespacing{\subsection}{1.76cm}{*0.1}{*0.1} % <------ Separación ente el subtitulo y el inicio de párrafo.
%------------Sección de comandos-----------
\decimalpoint %<--------- para manejar punto decimal en lugar de coma decimal
\setlength{\parindent}{1cm}%<-------------------------sangría
%\setlength{\parskip}{7mm}
\setlength{\parskip}{1.37\baselineskip}%<---------------distancia entre párrafos
\setstretch{1.45}
%\renewcommand\baselinestretch{1.5} %<-----------------interlineado
\setlength\LTleft{0pt} \setlength\LTright{0pt}
\setlength{\LTcapwidth}{0in}
%<------------- parametros para tablas largas
\pretolerance=2000
\tolerance=3000 %<- para no separar las palabras
\def\particulartemplate#1{
\thispagestyle{empty}
\begin{tikzpicture}[remember picture]
\draw let \p1 = (current page.west), \p2 = (current page.east) in
node[minimum width=\x2-\x1, minimum height=0.5cm, draw, rectangle, fill=blue!20, anchor=north west, align=left, text width=\x2-\x1] at ($(current page.north west)$) {\Large\bfseries \quad #1};
\end{tikzpicture}
}
% -------- Modificaciones a Citas (sistema lancasteriano) y direcciones web -------------
\bibpunct[:]{(}{)}{,}{n}{,}{;}
\setlength{\bibsep}{21pt} % distancia entre items en la bibliograf�a
%\urlstyle{rm} % fuente en direcciones web
% ---- Sección de parametrización del Indice General y de ilustraciones -----------------
%Agregar lineas punteadas del capitulo al numero de pagina
\renewcommand{\cftchapleader}{\cftdotfill{\cftchapdotsep}}
\renewcommand{\cftchapdotsep}{\cftdotsep}
%quitar las negrillas para los titulos de los capitulos
\renewcommand{\cftchapfont}{\normalfont}
\renewcommand{\cftchappagefont}{\normalfont}
%Espacio vertical entre capítulos
\setlength{\cftbeforechapskip}{-.01cm}
%Espacio vertical entre secciones y capítulo
\setlength{\cftbeforesecskip}{-0.01cm}
%Espacio vertical entre subsecciones y secciones
\setlength{\cftbeforesubsecskip}{-.01cm}
%Espacio vertical entre subsubsecciones y subsecciones
\setlength{\cftbeforesubsubsecskip}{-.01cm}
% Espacio vertical entre figuras
\setlength{\cftbeforefigskip}{-.01cm}
% Espacio vertical entre tablas
\setlength{\cftbeforetabskip}{-.01cm}
% Espacio del margen al capítulo
\setlength{\cftchapindent}{0cm}
% Espacio entre número y capítulo
\setlength{\cftchapnumwidth}{1.36cm}
% Espacio del margen a la sección
\setlength{\cftsecindent}{1.21cm}
% Espacio entre número y sección
\setlength{\cftsecnumwidth}{1.27cm}
% Espacio del margen a la subsección
\setlength{\cftsubsecindent}{2.93cm}
% Espacio entre número y la subsección
\setlength{\cftsubsecnumwidth}{1.48cm }
% Espacio del margen a la subsección
\setlength{\cftsubsubsecindent}{4.92cm}
% Espacio entre número y la subsubsección
\setlength{\cftsubsubsecnumwidth}{2.25cm}
% Espacio entre número y figura
\setlength{\cftfignumwidth}{0.61cm}
% Espacio del margen a la figura
\setlength{\cftfigindent}{0cm}
% Espacio entre número y tabla
\setlength{\cfttabnumwidth}{1.3cm}
% Espacio del margen a la tabla
\setlength{\cfttabindent}{0cm}
%Para alinear los numeros romanos
\cftsetpnumwidth{2em}
%Para cambiar el tamaño de letra al indice (12pts)
\renewcommand\cftchapfont{\normalfont}
\renewcommand\cftsecfont{\normalfont}
\newcommand*{\noaddvspace}{\renewcommand*{\addvspace}[1]{}}
\addtocontents{lof}{\protect\noaddvspace}
%----------------Definicion de listas----------
%Para listados enumerados
\newcounter{ContadorLista}
\newenvironment{bulletList}{
\begin{list}
{\centering\arabic{ContadorLista}.}
{
\usecounter{ContadorLista}
\setlength{\labelsep}{1.125cm}% Separación entre número y texto
\setlength{\labelwidth}{1cm}
\setlength\listparindent{0cm}
\setlength\leftmargin{1.4cm} % Distancia entre borde y número
\setlength{\parsep}{.0cm}% Separación entre elementos
}
}{
\end{list}
}
\newenvironment{finalList}{
\begin{list}
{\centering\arabic{ContadorLista}.}
{
\usecounter{ContadorLista}
\setlength{\labelsep}{1.125cm}% Separación entre número y texto
\setlength{\labelwidth}{1cm}
\setlength\listparindent{0cm}
\setlength\leftmargin{1.4cm} % Distancia entre borde y número
\setlength{\parsep}{\baselineskip}% Separación entre elementos
}
}{
\end{list}
}
\newenvironment{centeredList}{
\begin{list}
{\centering\arabic{ContadorLista}.}
{
\usecounter{ContadorLista}
\setlength{\labelsep}{2.125cm}% Separación entre número y texto
\setlength{\labelwidth}{1cm}
\setlength\listparindent{0cm}
\setlength\leftmargin{2.4cm} % Distancia entre borde y número
\setlength{\parsep}{.0cm}% Separación entre elementos
}
}{
\end{list}
}
%-----------------Definicion de estilos para los teoremas--------------------------------
\newtheoremstyle{ejem} %
{\baselineskip} % Space above
{\topsep} % Space below
{} % Body font
{1cm} % Indent amount
{\normalfont} % Theorem head font
{.} % Punctuation after theorem head
{.5em} % Space after theorem head
{} % Theorem head spec (can be left empty, meaning `normal')
\newtheoremstyle{resto} %
{\baselineskip} % Space above
{0mm} % Space below
{\normalfont} % Body font
{1cm} % Indent amount
{\normalfont} % Theorem head font
{.} % Punctuation after theorem head
{.5em} % Space after theorem head
{} % Theorem head spec (can be left empty, meaning `normal')
\theoremstyle{resto}\newtheorem{teorema}{Teorema}[section]
\theoremstyle{resto}\newtheorem{lema}{Lema}[section]
\theoremstyle{resto}\newtheorem{proposicion}{Proposición}[section]
\theoremstyle{resto}\newtheorem{propiedad}{Propiedad}[section]
\theoremstyle{resto}\newtheorem{corolario}{Corolario}[section]
\theoremstyle{ejem}\newtheorem{nota}{Nota}[section]
\newtheorem{solucion}{Solución}[section]
\newtheorem{problema}{Problema}[section]
\theoremstyle{ejem}\newtheorem{definicion}{Definición}[section]
\theoremstyle{ejem}\newtheorem{notacion}{Notación}[section]
\theoremstyle{ejem}\newtheorem{consideracion}{Consideración}[section]
\theoremstyle{ejem}\newtheorem{ejercicio}{Ejercicio}[section]
\theoremstyle{ejem} \newtheorem{ejemplo}{Ejemplo}[section]
\numberwithin{equation}{chapter}
\renewcommand{\theequation}{\thechapter.\arabic{equation}}
%para manejar el estilo de los ejemplos
%---------------- Operadores y funciones -------------------------------------------
\DeclareMathOperator{\car}{car}
\DeclareMathOperator{\rango}{rango}
\DeclareMathOperator{\sop}{sop}
\DeclareMathOperator{\Ima}{Im}
\DeclareMathOperator{\tr}{tr}
\DeclareMathOperator{\grado}{deg}
\makeatother
\newcommand{\srg}[3]{\sum_{#1 \in #2} #3_{#1} #1 }
\newcommand{\modulo}[1]{#1\mbox{-módulo}}
\newcommand{\newItem}{\item[$\bullet$]}
%-------palabras claves para el documento --------------------------
\hypersetup{pdftitle = {tituloDePDF}, pdfkeywords = {poner un listado de palabras clave}, pdfauthor = {\textcopyright\ 2012, Hugo Allan García Monterrosa ([email protected])}, pdfsubject = {Trabajo
de graduación para obtener la Licenciatura en Matemática Aplicada},
pdfstartview = {FitH}, plainpages = {false}, bookmarksnumbered =
{true}}
\begin{document}
{\setlength{\parskip}{1.37\baselineskip}%<---------------distancia entre párrafos
\setstretch{1.45}
\include{Datos}
\captionsetup[figure]{labelformat=simple, labelsep=period,textfont=bf}
\include{portada}
%Para incluir cartas
\newpage
\thispagestyle{empty}
\mbox{}
%\includepdf{Cartas/cartaMayra.pdf}
%\newpage
%\thispagestyle{empty}
%\mbox{}
\includepdf{Cartas/aprobacionSergioM.pdf}
\newpage
\thispagestyle{empty}
\mbox{}
\includepdf{Cartas/cartaAsesor2.pdf}
\newpage
\thispagestyle{empty}
\mbox{}
%Para incluir dedicatoria y agradecimientos
\include{Dedicatoria}
\include{Agradecimientos}
\par}
%---------------Inicio del front matter -----------
\frontmatter
%Índice general
\tableofcontents
% Para añadir el Índice de ilustraciones
%Listado de figuras
\listoffigures
%Listado de tablas
%\listoftables
\include{Simbolos}
\include{Glosario}
\include{Resumen}
\include{Objetivos}
%\newpage
%\mbox{}
\addtocontents{toc}{\protect\addvspace{1.8em}}
\include{intr}
% Modificación para tabla de contenidos
% -------------- Inicio del cuerpo de la tesis -----
\mainmatter
\include{Chapters/chapter1}
\addtocontents{toc}{\protect\addvspace{1.8em}}
\include{Chapters/chapter2}
\addtocontents{toc}{\protect\addvspace{1.8em}}
\include{Chapters/chapter3}
\addtocontents{toc}{\protect\addvspace{1.8em}}
\include{Chapters/chapter4}
\addtocontents{toc}{\protect\addvspace{1.8em}}
\include{Chapters/chapter5}
\addtocontents{toc}{\protect\addvspace{1.8em}}
\include{Chapters/chapter6}
%----------------Inicio del apartado Final de la tesis ------------------------------
% Modificación para tabla de contenidos
%\addtocontents{toc}{\protect\addvspace{+.8cm}}
%En el apartado final, las páginas son numeradas como en apartado principal (la numeración continúa)
%pero los capítulos no son numerados.
\backmatter
% Modificación para tabla de contenidos
\addtocontents{toc}{\protect\addvspace{1.8em}}
\input{Conclusiones}
\input{Recomendaciones}
\input{Bibliografia}
\bibliographystyle{plainnat}
\newpage
\mbox{}
\end{document}