Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{article}
- \usepackage[paperheight=300mm,paperwidth=200mm,margin=0mm]{geometry}
- \usepackage{graphicx}
- \usepackage{parskip}
- \newcommand{\ParkrunBarcodeOne}[1]{
- {
- \setlength{\fboxsep}{5pt}%
- \setlength{\fboxrule}{1pt}%
- \fbox{
- \includegraphics[
- clip,
- % trim=left bottom right top
- % Original
- % trim=1.22cm 22.13cm 11.49cm 2.71cm,
- % Smaller version
- trim=2.50cm 22.13cm 12.8cm 4.20cm,
- keepaspectratio
- ]{#1}
- }
- }
- }
- \newcommand{\ParkrunBarcode}[1]{
- \ParkrunBarcodeOne{#1}\ParkrunBarcodeOne{#1}\ParkrunBarcodeOne{#1}\\
- }
- \begin{document}
- \ParkrunBarcode{Beth}
- \ParkrunBarcode{Caolan}
- \ParkrunBarcode{Charlotte}
- \ParkrunBarcode{Henryk}
- \ParkrunBarcode{Nancy}
- \ParkrunBarcode{Tommy}
- \ParkrunBarcode{Fufu}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement