mirror of
https://github.com/fsr/namensschilder
synced 2024-11-14 20:33:10 +01:00
Adjust vcard design to add titles
This commit is contained in:
parent
455df19d48
commit
e38d22cfc9
|
@ -1,43 +1,47 @@
|
|||
% XeLaTeX
|
||||
% Vorlage "NF-Vorstellung", v0.1
|
||||
|
||||
\documentclass[a4paper,12pt]{article}
|
||||
|
||||
\usepackage{fontspec}
|
||||
\setmainfont{PT Sans}
|
||||
\newfontfamily{\headfont}{Exo}
|
||||
|
||||
\usepackage{graphicx}
|
||||
\usepackage{xcolor}
|
||||
|
||||
\usepackage[zw32010, crossmark]{ticket}
|
||||
|
||||
\hoffset=-8.911mm
|
||||
\voffset=-16.83mm
|
||||
|
||||
\definecolor{uni}{gray}{.4}
|
||||
\definecolor{myGreen}{rgb}{0.694, 0.882, 0.109}
|
||||
|
||||
\renewcommand{\ticketdefault}{
|
||||
\put(43, 1){\includegraphics[width=40mm]{LogoCropped.pdf}}
|
||||
\put( 6, 18){\line(1,0){25}}
|
||||
\put( 6, 13){\footnotesize TU Dresden}
|
||||
\put( 6, 9){\footnotesize FSR Informatik}
|
||||
\put( 6, 5){\footnotesize www.ifsr.de}
|
||||
}
|
||||
|
||||
\newcommand{\vcard}[3]{\ticket{
|
||||
\put(4, 45){\LARGE\headfont\bfseries\color{myGreen} #1}
|
||||
\put(6, 38){\textbf{#2}}
|
||||
\put(6, 33){\footnotesize #3}
|
||||
}}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\color{uni}
|
||||
|
||||
\vcard{Matthias Stuhlbein}{Akustik}{stuhlbein@ifsr.de}%
|
||||
% Beispiel für Menschen ohne Mail-Adresse:
|
||||
\vcard{Ayn Rand}{Literaturgeschichte}{}%
|
||||
|
||||
\end{document}
|
||||
% XeLaTeX
|
||||
% Vorlage "NF-Vorstellung", v0.1
|
||||
|
||||
\documentclass[a4paper,12pt]{article}
|
||||
|
||||
\usepackage{fontspec}
|
||||
\setmainfont{PT Sans}
|
||||
\newfontfamily{\headfont}{Exo}
|
||||
|
||||
\usepackage{graphicx}
|
||||
\usepackage{xcolor}
|
||||
|
||||
\usepackage[zw32010, crossmark]{ticket}
|
||||
|
||||
\hoffset=-8.911mm
|
||||
\voffset=-16.83mm
|
||||
|
||||
\definecolor{uni}{gray}{.4}
|
||||
\definecolor{myGreen}{rgb}{0.694, 0.882, 0.109}
|
||||
|
||||
\renewcommand{\ticketdefault}{
|
||||
\put(43, 1){\includegraphics[width=40mm]{LogoCropped.pdf}}
|
||||
\put( 4, 18){\line(1,0){25}}
|
||||
\put( 4, 13){\footnotesize TU Dresden}
|
||||
\put( 4, 9){\footnotesize FSR Informatik}
|
||||
\put( 4, 5){\footnotesize www.ifsr.de}
|
||||
}
|
||||
|
||||
\newcommand{\vcard}[5]{\ticket{
|
||||
\put(4, 47){\footnotesize\bfseries\color{myGreen} #1}
|
||||
\put(4, 39){\LARGE\headfont\bfseries\color{myGreen} #2}
|
||||
\put(4, 32){\textbf{#3}}
|
||||
\put(4, 27){\textbf{#4}}
|
||||
\put(4, 22){\footnotesize #5}
|
||||
}}
|
||||
|
||||
|
||||
|
||||
\begin{document}
|
||||
%
|
||||
\color{uni}
|
||||
%
|
||||
% USAGE: KEINE Leerzeilen lassen. Wenn doch, dann mit `%` escapen.
|
||||
% \vcard{Titel}{Name}{NF-Name}{NF-Name #2 (falls nötig, sonst leer)}{Mail (falls vorhanden)}
|
||||
%
|
||||
\vcard{Prof. Dr. rer. nat. habil.}{Matthias Stuhlbein}{Künstliche Intelligenz}{}{stuhlbein@ifsr.de}
|
||||
\end{document}
|
||||
|
|
Loading…
Reference in a new issue