Skip to content

Instantly share code, notes, and snippets.

View davidwessman's full-sized avatar

David Wessman davidwessman

View GitHub Profile
@davidwessman
davidwessman / import_python.tex
Last active October 12, 2017 08:08
Import Python to LaTeX
% Default fixed font does not support bold face
\DeclareFixedFont{\ttb}{T1}{txtt}{bx}{n}{12} % for bold
\DeclareFixedFont{\ttm}{T1}{txtt}{m}{n}{12} % for normal
% Custom colors
\usepackage{color}
\definecolor{deepblue}{rgb}{0,0,0.5}
\definecolor{deepred}{rgb}{0.6,0,0}
\definecolor{deepgreen}{rgb}{0,0.5,0}