-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
80 lines (65 loc) · 1.6 KB
/
main.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
\documentclass[a4paper, 12pt, titlepage]{article}
%%%% Dimensiones documento
\usepackage{geometry}
%%%% Idioma y codificación
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
%%%% Tipografía
\usepackage{amsmath, amssymb}
\usepackage{newtxtext, newtxmath}
\usepackage[scaled=0.9]{couriers}
\let\Sigma\varSigma
\let\Gamma\varGamma
\linespread{1.15}
\usepackage{microtype}
%%%% Formato documento
\setcounter{tocdepth}{2}
\usepackage{titlesec}
\titleformat{\section}[frame]
{\normalfont}
{\filright\footnotesize\enspace \bfseries\sffamily TEMA \thesection\enspace}
{8pt}
{\Large\bfseries\sffamily\filcenter}
%%%% Enlaces
\usepackage{hyperref}
\usepackage{xcolor}
\hypersetup{
colorlinks,
linkcolor = {red!50!black},
citecolor = {blue!50!black},
urlcolor = {blue!80!black}
}
%%%% Imagenes y dibujos
\usepackage{graphicx}
\graphicspath{{img/}}
\usepackage{tikz}
\usetikzlibrary{arrows, automata, babel}
\tikzset{initial text={}}
%%%% Listings
\usepackage{listings}
\lstset{
basicstyle=\ttfamily,
mathescape,
emph={Si, si, No, no, entonces, Entrada, Salida, Rechazar, Aceptar, Colgarse},
emphstyle={\underline}
}
%%%% Miscelánea
\usepackage[ampersand]{easylist}
\newcommand{\blanco}{\text{\textit{\textblank}}}
%%%% Título
\title{Apuntes de TC}
\author{Francisco Martínez Lasaca}
\date{Curso 2017-2018}
\begin{document}
\maketitle
\include{chapters/prefacio}
\tableofcontents
\include{chapters/tema1}
\include{chapters/tema2}
\include{chapters/tema3}
\include{chapters/tema4}
\include{chapters/tema5}
\include{chapters/tema7}
\include{chapters/tema8}
\end{document}