Skip to content

Commit

Permalink
Corrige ejemplo python verbatim
Browse files Browse the repository at this point in the history
  • Loading branch information
ppizarror committed Jun 1, 2021
1 parent 49b2b35 commit dcd0f27
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/etc/example_presentacion.tex
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,14 @@ \section{Segunda sección}
\frametitle{Código fuente (Verbatim)}
\begin{example}[Código sencillo en Python]
\begin{verbatim}
\begin{frame}
\frametitle{Theorem}
\begin{theorem}[Mass--energy equivalence]
$E = mc^2$
\end{theorem}
\end{frame}\end{verbatim}
import numpy as np
def incmatrix(genl1, genl2):
m = len(genl1)
n = len(genl2)
M = None # Comentario 1
VT = np.zeros((n*m, 1), int) # Comentario 2
\end{verbatim}
\end{example}
\end{frame}

Expand Down

0 comments on commit dcd0f27

Please sign in to comment.