Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Plantilla general de LaTeX multifuncional

306 views
License: GPL3
ubuntu2004
1
\documentclass[12pt, letterpaper, titlepage]{article}
2
% Enable SageTeX to run SageMath code right inside this LaTeX file.
3
% http://doc.sagemath.org/html/en/tutorial/sagetex.html
4
\usepackage{sagetex}
5
\usepackage[T1]{fontenc}
6
\usepackage{lmodern}
7
\usepackage[margin=2.5cm]{geometry}
8
\usepackage[spanish]{babel}
9
\usepackage[utf8]{inputenc}
10
\usepackage{fvextra, amssymb, amsmath, graphicx, tikz, pgfplots, color, lipsum, multicol, multirow, textcomp, blindtext, longtable, verbatim, fancyhdr, float, array, biblatex, tcolorbox, csquotes, listings, caption, wasysym,mathptmx} %más hyperref, bookmark, mathptmx, biblatex ---- \usepackage{fontspec} setmainfont{Arial}
11
\usepackage[draft]{listofsymbols} %final luego
12
13
\usepackage{float}
14
\floatstyle{boxed}
15
%\restylefloat{figure}
16
17
% set font encoding for PDFLaTeX, XeLaTeX, or LuaTeX
18
\usepackage{ifxetex,ifluatex}
19
\if\ifxetex T\else\ifluatex T\else F\fi\fi T%
20
\usepackage{fontspec}
21
\else
22
\usepackage[T1]{fontenc}
23
\usepackage{lmodern, tikz}
24
\fi
25
26
%códigos de estilo
27
\newfloat{myfloat}{tbp}{lop}[section]
28
\floatplacement{myfloat}{hbtp}
29
30
%Espacios para formatos matemáticos
31
\newtheorem{teo}{Teorema}[section]
32
\newtheorem{lem}[teo]{Lema}
33
\newtheorem{definition}[teo]{Definición}
34
\newtheorem{coro}[teo]{Corolario}
35
\newtheorem{demo}[teo]{Demostración}
36
\newtheorem{prop}[teo]{Proposición}
37
\newtheorem{ejm}[teo]{Ejemplo}
38
\newtheorem{conj}[teo]{Conjetura}
39
\newtheorem{prob}{Problema abierto}
40
\newtheorem{expo}{Explicación}
41
42
\title{Título del documento}
43
\author{Daniel Eduardo Naranjo Garzón}
44
\date{\today}
45
46
% Enable SageTeX to run SageMath code right inside this LaTeX file.
47
% http://doc.sagemath.org/html/en/tutorial/sagetex.html
48
\usepackage{sagetex}
49
50
% Enable PythonTeX to run Python – https://ctan.org/pkg/pythontex
51
\usepackage{pythontex}
52
53
\pgfplotsset{compat=1.16}
54
\begin{document}
55
\maketitle
56
Redacción
57
58
\end{document}
59