-
Notifications
You must be signed in to change notification settings - Fork 1
/
estilo-apuntes.sty
148 lines (132 loc) · 4.62 KB
/
estilo-apuntes.sty
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{estilo-apuntes}
\usepackage[utf8x]{inputenc}
\usepackage[spanish,es-nodecimaldot]{babel}
\usepackage{amsmath,amssymb,amsthm,amsfonts}
\usepackage{enumerate}
\usepackage{mathrsfs}
\usepackage{bm}
\usepackage{array,multirow}
\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage{floatrow}
\usepackage{makeidx}
\usepackage{tocbasic}
\usepackage{subfiles}
\usepackage{color}
\usepackage{hyperref}
\hypersetup{colorlinks=true,citecolor=red, linkcolor=blue}
\usepackage[]{graphicx}
\usepackage{pgf,tikz}
\usepackage{tikz-cd}
\usetikzlibrary{babel}
\usetikzlibrary{arrows}
\usetikzlibrary{cd}
\renewcommand{\baselinestretch}{1,4}
\setlength{\oddsidemargin}{0.25in}
\setlength{\evensidemargin}{0.25in}
\setlength{\textwidth}{6in}
\setlength{\topmargin}{0.1in}
\setlength{\headheight}{0.1in}
\setlength{\headsep}{0.1in}
\setlength{\textheight}{8in}
\setlength{\footskip}{0.75in}
\theoremstyle{definition}
\newtheorem{teorema}{Teorema}[section]
\newtheorem{defi}[teorema]{Definición}
\newtheorem{coro}[teorema]{Corolario}
\newtheorem{lemma}[teorema]{Lema}
\newtheorem{ej}[teorema]{Ejemplo}
\newtheorem{ejs}[teorema]{Ejemplos}
\newtheorem{observacion}[teorema]{Observación}
\newtheorem{observaciones}[teorema]{Observaciones}
\newtheorem{prop}[teorema]{Proposición}
\newtheorem{propi}[teorema]{Propiedades}
\newtheorem{nota}[teorema]{Nota}
\newtheorem{notas}[teorema]{Notas}
\newtheorem*{dem}{Demostración}
\newtheorem{ejer}[teorema]{Ejercicio}
\newtheorem{consec}[teorema]{Consecuencia}
\newtheorem{consecs}[teorema]{Consecuencias}
\newtheorem{reco}[teorema]{Recordatorio}
\SetUnicodeOption{mathletters}
\SetUnicodeOption{autogenerated}
\PrerenderUnicode{áéíóú}
\DeclareMathOperator{\cardinal}{card}
\providecommand{\card}[1]{\cardinal\left(#1\right)}
\providecommand{\abs}[1]{\left|#1\right|}
\providecommand{\sen}[1]{sen #1}
\providecommand{\norm}[1]{\left\lVert#1\right\rVert}
\providecommand{\ninf}[1]{\norm{#1}_\infty}
\providecommand{\numn}[1]{\norm{#1}_1}
\providecommand{\gabs}[1]{\left|{#1}\right|}
\newcommand{\bor}[1]{\mathcal{B}(#1)}
\newcommand{\A}{\mathbb{A}}
\newcommand{\calA}{\mathcal{A}}
\newcommand{\calF}{\mathcal{F}}
\newcommand{\Ank}{\A^n_k}
\newcommand{\Amk}{\A^m_k}
\newcommand{\R}{\mathbb{R}}
\newcommand{\Z}{\mathbb{Z}}
\newcommand{\F}{\mathbb{F}}
\newcommand{\N}{\mathbb{N}}
\newcommand{\PP}{\mathbb{P}}
\newcommand{\Pnk}{\PP^n_k}
\newcommand{\Pmk}{\PP^m_k}
\newcommand{\Q}{\mathbb{Q}}
\newcommand{\C}{\mathbb{C}}
\newcommand{\CC}{\mathcal{C}}
\newcommand{\K}{\mathbb{K}}
\newcommand{\KK}{{\mathcal K}}
\newcommand{\OO}{{\mathcal O}}
\newcommand{\X}{\mathbb{X}}
\newcommand{\Y}{\mathbb{Y}}
\newcommand{\Va}{\mathcal{V}_{a}}
\newcommand{\Vp}{\mathcal{V}_{p}}
\newcommand{\V}{\mathcal{V}}
\newcommand{\I}{\mathcal{I}}
\newcommand{\m}{{\mathfrak{m}}}
\newcommand{\p}{{\mathfrak{p}}}
\newcommand{\Tau}{\mathcal{T}}
\newcommand{\parcial}[2]{\frac{\partial #1}{\partial #2}}
\newcommand{\dparcial}[2]{\dfrac{\partial #1}{\partial #2}}
\DeclareMathOperator{\Ima}{Im}
\DeclareMathOperator{\Rea}{Re}
\DeclareMathOperator{\coker}{coker}
\newcommand{\verteq}{\rotatebox{90}{$\,=$}}
\newcommand{\vertequiv}{\rotatebox{110}{$\,\equiv$}}
\providecommand{\lrg}{\longrightarrow}
\providecommand{\xn}[1]{x_1,\dotsc,x_{#1}}
\providecommand{\func}[2]{\colon{#1}\longrightarrow{#2}}
\newcommand*{\QED}{\hfill\ensuremath{\blacksquare}}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,draw,inner sep=1.5pt] (char) {#1};}}
\newcommand*{\longhookarrow}{\ensuremath{\lhook\joinrel\relbar\joinrel\rightarrow}}
\providecommand{\gene}[1]{\langle{#1}\rangle}
\newenvironment{solucion}{\begin{trivlist}
\item[\hskip \labelsep {\textit{Solución}.}\hskip \labelsep]}{\end{trivlist}}
\providecommand{\orden}[1]{\mathcal{O}\left({#1}\right)}
\providecommand{\deci}[1]{\left\{{#1}\right\}}
\providecommand{\suelo}[1]{\left\lfloor{#1}\right\rfloor}
\providecommand{\ceil}[1]{\left\lceil{#1}\right\rceil}
\renewcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,draw,inner sep=1.5pt] (char) {#1};}}
\renewcommand*{\longhookarrow}{\ensuremath{\lhook\joinrel\relbar\joinrel\rightarrow}}
\graphicspath{{images/}}
\def\quott#1#2{%
\hbox{$#1$}\Big/\lower1ex\hbox{$#2$}%
}
\makeatletter
\renewcommand\tableofcontents{%
\null\hfill\textbf{\Large\contentsname}\hfill\null\par
\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\@starttoc{toc}%
}
\raggedbottom
\pagestyle{fancy}
\fancyhf{}
\cfoot{\thepage}
\renewcommand\chaptername{\Huge Tema}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{10pt}{\Huge}
\titlespacing*{\chapter}{0pt}{-1cm}{10pt}