File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 15
15
- name : Instalar dependencias
16
16
run : |
17
17
sudo apt-get update
18
+ sudo apt-get upgrade
18
19
sudo apt-get install -y texlive-full
19
- sudo apt-get install -y python3-pygments
20
-
20
+ pip3 install --upgrade Pygments
21
+ # Para usar Pygments >= 2.8, que tiene el estilo "material"
22
+
21
23
- name : Compilar PDF
22
24
run : |
23
25
latexmk -pdf --shell-escape main.tex
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ \chapter{Introducción a Python}
4
4
\section {¿Qué es Python? }
5
5
6
6
\link {https://www.python.org}{Python} es un lenguaje de programación popular y de alto nivel.
7
- Fue creado por Gudo van Rossum y fue lanzado en el año 1991.
7
+ Fue creado por Guido van Rossum y fue lanzado en el año 1991.
8
8
Se han lanzado diferentes versiones hasta llegar a la versión actual, Python 3.
9
9
10
10
Según su creador, el nombre de Python viene de la serie de comedia británica \doble {El Circo Volador de Monty Python}.
Original file line number Diff line number Diff line change 24
24
\usepackage {needspace }
25
25
26
26
\usepackage [spanish ]{babel }
27
- % \usepackage{microtype}
27
+ \usepackage {microtype }
28
28
29
- \usepackage [colorlinks=true, linkcolor=., urlcolor=Crimson ]{hyperref }
29
+ \usepackage [colorlinks=true, linkcolor=., urlcolor=RoyalBlue ]{hyperref }
30
30
31
31
% estilo de los segmentos de código
32
32
\usemintedstyle [python]{material}
128
128
\newcommand {\cualquier }{\textcolor {ForestGreen}{Todos}}
129
129
130
130
% atajo para usar \texttt{} más rápido, ya que se usará muy seguido
131
- \newcommand {\ttt }[1]{\textcolor {RoyalBlue }{\texttt {#1 }}}
131
+ \newcommand {\ttt }[1]{\textcolor {Crimson }{\texttt {#1 }}}
132
132
133
133
% para usar comillas de tipo "programación"
134
134
\newcommand {\q }{\textquotesingle }
You can’t perform that action at this time.
0 commit comments