Skip to content

Instantly share code, notes, and snippets.

@dokato
Created October 15, 2020 17:18
Show Gist options
  • Save dokato/fcf2445c16135802c4404f8a90bbd22a to your computer and use it in GitHub Desktop.
Save dokato/fcf2445c16135802c4404f8a90bbd22a to your computer and use it in GitHub Desktop.
badges sample
\documentclass[a4paper,10pt]{letter}
\usepackage[utf8]{inputenc}
\usepackage[freepin,crossmark]{ticket}
\usepackage{graphicx}
\unitlength=1mm
\ticketSize{52}{78}
\ticketNumbers{2}{3}
\renewcommand{\ticketdefault}{
\put(33, 10){\includegraphics[width=15mm]{ifmlogoc}}
\put(0, 20){\line(1,0){52}}
\put( 3, 15){\bfseries\footnotesize EVENT}
\put( 3, 12){\footnotesize \today}
}
% now what do you like to put in your ticket
\newcommand{\confpin}[3]{\ticket{%
\put(26,56){\makebox[0mm]{\bfseries\huge #1}}
\put(26,46){\makebox[0mm]{\bfseries\huge #2}}
\put(26,36){\makebox[0mm]{\large \textit{#3}}}
}}
\begin{document}
\sffamily
\confpin{first name}{second name}{role}
\confpin{first name}{second name}{role}
\confpin{first name}{second name}{role}
\confpin{first name}{second name}{role}
\confpin{first name}{second name}{role}
\confpin{first name}{second name}{role}
\confpin{first name}{second name}{role}
\confpin{first name}{second name}{role}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment