Commit 97bf459b authored by Holger Dinkel's avatar Holger Dinkel

add templates and files to generate certificates

parent 50f1a57c
Firstname,Lastname
~~~~~~~~~~~~~~~~~~~~,~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~,~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~,~~~~~~~~~~~~~~~~~~~~~
\documentclass[16pt]{scrartcl}
\usepackage[margin=1cm]{geometry}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mdframed}
\usepackage{tgschola}
\usepackage{datetime}
\usepackage{currfile}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage[dvipsnames]{xcolor}
\usepackage{datatool}
\DTLloaddb{names}{CertificateOfParticipation.names.csv}
\newdateformat{mydate}{\monthname, \THEYEAR}
\newcommand\IG[2][]{\IfFileExists{#2}
{\includegraphics[#1]{#2}}
{\message{WARNING: Signaturefile #2 doesn't exist^^J}}}% write a message into the log file
\begin{document}
\pagestyle{empty}
\DTLforeach{names}{\Firstname=Firstname,\Lastname=Lastname}{
\centering
{
\Large
\vspace*{20px}
{\color{RoyalBlue}\huge\bfseries Certificate of Participation}\par
%{\LARGE\color{Dandelion}\decofourleft\quad{\color{BrickRed}\decoone}\quad\decofourright}\par
\vskip2em
\linespread{2}\selectfont
Awarded to\\\par
{\Huge\bfseries{\underline{\Firstname{ }\Lastname}}}\par
\vskip2em
For the successful completion of the\par
\vskip2em
}
\begin{mdframed}[userdefinedwidth=.9\textwidth, align=center, linecolor=RoyalBlue,linewidth=4pt,frametitlealignment=\center]
\linespread{2}\selectfont
\centering{\color{RoyalBlue}\LARGE\bfseries \coursetitle }
\end{mdframed}\par
\vskip2em
\includegraphics[width=.9\textwidth]{../images/bio-it_logo_epug.pdf}
\begin{multicols}{2}
\IG[width=.2\textwidth]{Signature_Hodges.png}\hfill
\columnbreak
\IG[width=.2\textwidth]{Signature_Dinkel.png}
\end{multicols}
\vfill
{\small \mydate\today \hfill { } \\
Advanced Training Centre \hfill Holger Dinkel, Karin Sasaki \& Toby Hodges\\
% Advanced Training Centre \hfill Holger Dinkel, Toby Hodges\\
EMBL Heidelberg \hfill Structural \& Computational Biology Unit}
\pagebreak
}
\end{document}
# You can set these variables from the command line.
BUILDDIR = _build
.PHONY: help clean certificates
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " certificates to create certificates of participation (fill in list of names first)"
clean:
-rm -f *.aux
-rm -f *.aux.bak
-rm -f *.log
-rm -f *.nav
-rm -f *.out
-rm -f *.snm
-rm -f *.toc
certificates:
# pdflatex -interaction=nonstopmode "\def\coursetitle{Introduction to Python Programming} \input{CertificateOfParticipation.tex}"
pdflatex -interaction=nonstopmode "\def\coursetitle{Python Workshop:\\\\Image Processing} \input{CertificateOfParticipation.tex}"
@echo
@echo "Certificates finished."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment