Skip to content

PapaCharlie/CMCM

Repository files navigation

To input Python files, use \lstinputlisting[style=python]{path/to/file.py}, and \lstinputlisting[style=matlab]{path/to/file.m} for Matlab files. Similarly, for Python typesetting, do:

\begin{lstlisting}[style=python]
class Bloop:
  def __init__(self):
    ...
\end{lstlisting}

Same for Matlab files.