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
|
% TODO:
% - Fix page numbering (APA)
% - Fix chapter and section formatting
% - Fix paragraph's first line indent
% - Fix figure numbering and positioning (breaks paragraphs)
% Appendix:
%
% Los anexos tienen que subirse con nombre similar a:
% 20170895_RobertoTokumori_PatriciaNatividad_E1.2_Anexo1.xlsx
% Preamble
% ======================================================================
\documentclass[
fontsize=12pt,
paper=a4,
spanish
%draft=true
]{report} % report
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc} % breaks things? idk
\usepackage[top=1in, bottom=1in, right=1in, left=1in]{geometry}
\usepackage{graphicx}
\usepackage{mathtools,amsmath,amssymb}
% Amazing, problem solved. Thank you Sebastián.
% http://byte77.blogspot.com/2011/08/no-cuadro-sino-tabla-el-tipico-dolor-de.html
\usepackage[spanish,es-tabla]{babel}
\usepackage{amsfonts}
\usepackage{xcolor}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{float}
\usepackage{csquotes}
% Double line spacing
\usepackage{setspace}
\doublespacing
% https://tex.stackexchange.com/a/258782/151663
\usepackage{longtable}
\setlength\LTleft\parindent
% Issues with biber, requires environment
% https://tex.stackexchange.com/q/154751/151663
% Forget about it. biber is an extra package that doesn't come with TexLive in
% ArchLinux and I didn't have it installed. (True issue: RTFM).
\usepackage[
backend=biber,
style=apa,
%language=english,
sortcites=true,
sorting=nyt,
%citestyle=authoryear,
%maxcitenames=2,
%maxbibnames=99,
%uniquelist=false
]{biblatex}
\addbibresource{thesis.bib}
\usepackage[colorlinks=true, allcolors=blue]{hyperref}
\usepackage{cleveref}
% Babel
% Ref.: https://www.overleaf.com/learn/latex/Table_of_contents
\addto\captionsspanish{
\renewcommand*\contentsname{Tabla de Contenido}
\renewcommand*\appendixname{Anexo}
}
% Doesn't work with the packages I currently use:
% https://tex.stackexchange.com/q/320632/151663
%\crefname{table}{cuadro}{cuadros}
%\crefname{table}{\spanishtablename}{\spanishtablename}
%\crefname{figure}{figura}{figuras}
%\crefname{section}{Sección}{Secciones}
%\crefname{equation}{ecuación}{ecuación}
%\renewcommand{\chaptername}{Capítulo}
%\renewcommand{\contentsname}{Contenidos}
%\newtheorem{remark}{Observación}[chapter]
%\renewcommand{\listtablename}{Índice de tablas}
%\renewcommand{\tablename}{Tabla}
%\crefname{table}{Tabla}{Tabla}
% Content
% ======================================================================
% Cover
\begin{document}
\include{chapter/01-cover.tex}
% Resumen
% Tema FCI
\tableofcontents % "Tabla de Contenido", en lugar de Índice general
% Índice de Tablas
% Índice de Figuras
% Índice de Abreviaturas
% \include{chapter/05-intro}
\include{chapter/10-generalidades}
\include{chapter/20-marco}
\include{chapter/30-estado_del_arte}
\include{chapter/40-resultados_esperados}
\include{chapter/50-conclusiones}
\newpage
\printbibliography{}
\newpage
% Anexos
\appendix
\include{chapter/90-anexos}
\end{document}
|