Instantly share code, notes, and snippets.

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