-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTesis_FAZH_RRII.tex
180 lines (143 loc) · 5.43 KB
/
Tesis_FAZH_RRII.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
%% Based on Omar Pardo's Thesis repository at Github (@opardo)
%% Based on a TeXnicCenter-Template by Tino Weinkauf.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% LATEX %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[oneside,10pt,review,usenames,dvipsnames]{book}
%% Generales %%
%\usepackage[letterpaper, paperwidth=17cm, paperheight=22.5cm, top = 2cm, bottom = 1cm, inner = 1.5cm, outer = 1.5cm]{geometry}
\usepackage[paperwidth=17cm, paperheight=22.5cm, top = 2cm, bottom = 1cm, inner = 1.75cm, outer = 1.75cm]{geometry}
\usepackage[doublespacing]{setspace}
\usepackage[bottom]{footmisc}
\usepackage{enumerate}
\usepackage{fancyhdr}
\usepackage{bm}
\usepackage{url}
\usepackage[usenames,dvipsnames]{xcolor}
%% Español y letras %%
\usepackage[spanish,es-nodecimaldot]{babel}
\usepackage[utf8]{inputenc}
%\usepackage{lmodern} %Type1-font for non-english texts and characters
%\usepackage[T1]{fontenc}
%\usepackage{dsfont}
%% Tablas %%
\usepackage{longtable}
\usepackage{multirow}
\usepackage{arydshln}
\usepackage{rotating}
%% Figuras %%
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{float}
\usepackage[font=scriptsize,labelfont=bf]{caption}
%% Bibliografía %%
\usepackage[nottoc]{tocbibind}
\usepackage[backend=biber,style=chicago-authordate, natbib=true,ibidtracker = strict, opcittracker = strict]{biblatex}
\renewcommand*{\revsdnamedelim}{} %Se necesita para eliminar la coma antes de la conjunción "y" en una lista de dos nombres cuando el primero está invertido (apellido, nombre)
%\addbibresource{referencias_tesis_ACT.bib}
%\addbibresource{referencias_tesis_RRII.bib}
%\addbibresource{referencias_tesis_extras.bib}
\addbibresource{referencias_tesis.bib}
\addbibresource{referencia_tesis_act.bib}
%% Matemáticas %%
\usepackage{amsmath,amssymb,amsthm}
\usepackage[spanish,onelanguage,linesnumbered,ruled]{algorithm2e} %Algoritmos
\usepackage{mathtools} %Mejoras a símbolos matemáticos (y shortintertext)
%% Corrección espacios %%
\allowdisplaybreaks
\setlength\abovedisplayskip{-10pt plus 0 pt minus 0pt}
\setlength\belowdisplayskip{-10pt plus 0 pt minus 0pt}
\setlength{\abovedisplayshortskip}{-10pt plus 0 pt minus 0pt}
\setlength{\belowdisplayshortskip}{-10pt plus 0 pt minus 0pt}
%% Nuevos nombres capítulos español %%
\addto\captionsspanish{%
\renewcommand{\appendixname}{Anexo}
}
\addto\extrasspanish{%
\def\chapterautorefname{Capítulo}%
\def\appendixautorefname{Anexo}
}
%% Nuevos comandos mates %%
\renewcommand{\Pr}{\ensuremath{\mathbb{P}}}
\newcommand{\E}[1]{\ensuremath{\mathbb{E}\left[ #1 \right]}}
\renewcommand{\proofname}{Demostración}
\newtheorem{teo}{Teorema}[chapter]
\newtheorem{cor}[teo]{Corolario}
\newtheorem{lem}[teo]{Lema}
\theoremstyle{definition}
\newtheorem{axiom}{Axioma}
\newtheorem{pos}[axiom]{Postulado}
\newtheorem{dfn}{Definición}[chapter]
\newtheorem*{dfn*}{Definición}
\newtheorem{obs}{Observación}[chapter]
\newtheorem*{obs*}{Observación}
\newtheorem{propiedad}{Propiedad}
\newtheorem*{propiedad*}{Propiedad}
%% Contenido (ToC) %%
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
%% Referencias cruzadas %%
\usepackage[pdftex,
pdfauthor={Fernando Antonio Zepeda Herrera},
pdftitle={Modelado bayesiano del voto FN en 2012},
pdfsubject={Tesis para el título de licenciado},
pdfkeywords={Front National Bayesian ITAM Statistics Hamiltonian Monte Carlo},
pdfproducer={Latex con hyperref},
pdfcreator={pdflatex},
hidelinks]{hyperref}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% INICIO DEL DOCUMENTO %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% PRELIMINARES %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter
%% TAPA VERDE %%
\input{Preliminares/Cubierta_RRII.tex}
%% PORTADA %%
\input{Preliminares/Portada_RRII.tex}
%% DECLARACIÓN LEGAL %%
\input{Preliminares/Legal_RRII.tex}
\newpage
%% DEDICATORIA %%
\input{Preliminares/Dedicatoria.tex}
%% AGRADECIMIENTOS %%
\input{Preliminares/Agradecimientos_RRII.tex}
%% Índice %%
\tableofcontents
%% Introducción %%
\input{Preliminares/Intro_RRII.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% CUERPO %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter
\pagestyle{fancy}
\fancyhf{}
\rhead{\thepage}
\fancyhead[L]{\nouppercase{\leftmark}}
\input{Cuerpo/01_Movimientos_NAP.tex}
\input{Cuerpo/02_Historia_FN.tex}
\input{Cuerpo/03_Voto_NAP.tex}
\input{Cuerpo/04_Est_Bayesiana_RRII.tex}
\input{Cuerpo/07_AED_RRII.tex}
\input{Cuerpo/08_Modelado_RRII.tex}
\input{Cuerpo/09_Conclusiones_RRII.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% REFERENCIAS %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
\addcontentsline{toc}{part}{Anexos}
\part*{Anexos}
\input{Anexos/B_Distribuciones_Departamentales.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% REFERENCIAS %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\part*{Referencias}
\addcontentsline{toc}{part}{Referencias}
\printbibliography[title = {Referencias}]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% FINAL DEL DOCUMENTO %%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}