Skip to content

Instantly share code, notes, and snippets.

@ethanal
ethanal / print_template.tex
Created June 25, 2015 03:19
A LaTeX template for printing syntax-highlighted code nicely in grayscale
\documentclass[11pt]{article}
\usepackage[letterpaper]{geometry}
\geometry{top=0.5in, bottom=0.5in, left=0.7in, right=0.7in}
\usepackage{courier}
\usepackage{listings}
\usepackage{fancyhdr}
\pagestyle{fancy}