Skip to content

Instantly share code, notes, and snippets.

@thetzel thetzel/coupons.tex
Created Dec 27, 2013

Embed
What would you like to do?
Serialized Coupons in LaTeX
\documentclass[10pt,parskip=full,a4paper]{article}
\pagestyle{empty}
\usepackage[top=2.5cm,left=1cm,right=1cm]{geometry}
\usepackage{csvtools}
\usepackage{lmodern}
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
\setlength{\parindent}{0cm}
\begin{document}
\setlength{\parskip}{1.5cm}
\applyCSVfile{coupons.csv}{
\begin{center}
\Large \textbf{Your Coupon}
\Large Code: \texttt{\insertCoupon}
Redeem at example.com/redeem\\
\end{center}
\pagebreak
}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.