-
Notifications
You must be signed in to change notification settings - Fork 2
/
thesis.tex
84 lines (79 loc) · 2.36 KB
/
thesis.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
\documentclass[12pt,letterpaper,final,oneside,openany,onecolumn]{book}
\usepackage[lmargin=3.5cm,rmargin=2.5cm,tmargin=3.0cm,bmargin=3.0cm]{geometry}
\usepackage[latin1]{inputenc} %european
\usepackage[T1]{fontenc}
\usepackage[]{times}
\usepackage[spanish]{babel} %español
\usepackage{amsmath} %math package
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{url}
\usepackage{amssymb}
\usepackage{array}
\usepackage{algorithm_spa}
\usepackage{algpseudocode}
\usepackage[footnotesize]{subfigure}
\usepackage{makeidx}
\usepackage{color}
\makeindex
%\renewcommand{\baselinestretch}{1}
%\renewcommand{\contentsname}{Índice General}%{Tabla de Contenidos}
%\renewcommand{\listfigurename}{Lista de Figuras}
%\renewcommand{\listtablename}{\'Indice de Tablas}
%\renewcommand{\chaptername}{Capítulo}
%\renewcommand{\bibname}{Bibliografía}
\renewcommand\floatpagefraction{.9}
\renewcommand\topfraction{.9}
\renewcommand\bottomfraction{.9}
\renewcommand\textfraction{.1}
\addto\captionsspanish{%
\renewcommand{\tablename}%
{Tabla}%
}
\setcounter{totalnumber}{50}
\setcounter{topnumber}{50}
\setcounter{bottomnumber}{50}
% Different font in captions
\newcommand{\captionfonts}{\small}
\makeatletter % Allow the use of @ in command names
\long\def\@makecaption#1#2{%
\vskip\abovecaptionskip
\sbox\@tempboxa{{\captionfonts #1: #2}}%
\ifdim \wd\@tempboxa >\hsize
{\captionfonts #1: #2\par}
\else
\hbox to\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip}
\makeatother % Cancel the effect of \makeatletter
%Inicio de documento
\begin{document}
\hyphenation{pa-la-bra}
\renewcommand{\contentsname}{Tabla de Contenidos}
%\renewcommand{\listfigurename}{Lista de Figuras}
%\renewcommand{\listtablename}{Lista de Tablas}
\frontmatter
\input{portada}
%\input{agradecimientos} %opcional
%\input{dedicatoria} %opcional
\input{abstract}
\tableofcontents %indice
\listoffigures %opcional
\listoftables %opcional
\input{intro}
\mainmatter
\input{chapter1}
%\input{chapter2}
%\input{chapter3}
%\input{chapter4}
%\input{chaptern}
\input{conclusiones}
\backmatter
\bibliographystyle{IEEEtran}
%\bibliographystyle{plain} %You may prefer \bibliographystyle{alpha}
%\bibliographystyle{alpha}
%\bibliographystyle{babalpha}
\bibliography{books}
\nocite{*}
\input{anexos} %opcional
\end{document}