New answers tagged

1

You need to use [fragile] for your frame: \begin{frame}[fragile] \frametitle{Premature Optimization} \begin{pythoncode}[linenos=true,]{title=Python Code Example} import glob \end{pythoncode} \end{frame}


0

Hi don't You wonna try this one? \documentclass{article} \usepackage{listings} \usepackage{xcolor} \definecolor{codegreen}{rgb}{0,0.6,0} \definecolor{codegray}{rgb}{0.5,0.5,0.5} \definecolor{codepurple}{rgb}{0.58,0,0.82} \definecolor{backcolour}{rgb}{0.95,0.95,0.92} \lstdefinestyle{mystyle}{ backgroundcolor=\color{backcolour}, commentstyle=\color{...


Top 50 recent answers are included