Skip to content
Snippets Groups Projects
Commit 0ddade41 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

dummy für leeren QR-Code

parent 09689ebc
No related branches found
No related tags found
No related merge requests found
\documentclass[english,sanserif]{ptbposter}
%\documentclass[ngerman,sanserif]{ptbposter}
\documentclass[english,draft]{ptbposter}
%\documentclass[ngerman]{ptbposter}
\phone{+49-30-3481-7467}
\fax{+49-30-3481-7503}
......
\documentclass[english,landscape,sanserif]{ptbposter}
\documentclass[english,landscape]{ptbposter}
%\documentclass[ngerman,sanserif]{ptbposter}
\author{Ute Becker}
\phone{+49-30-3481-7467}
\fax{+49-30-3481-7503}
\email{Ute.Becker@ptb.de}
......@@ -12,6 +11,13 @@
\street{Abbestraße 2--12}
\QRcode{http://www.ptb.de/cms/fachabteilungen/abt7/fb-75/ag-754.html}
\Author{Peter}{Silie}[Physikalisch-Technische Bundesanstalt]
\Author*{Max}{Mustermann}
\Author{Gerhold}{Dosenkohl}[Muster Universität Forschungsstadt]
\Author*{Ellen}{Bogen}[XYZ GmbH]
%%\scaleFontSizes{1.05}
\title{Das Liebesleben der Maikäfer}
\begin{document}
......
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\errorcontextlines=100 %
\setcounter{errorcontextlines}{100}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptbposter}
......@@ -16,6 +16,8 @@
\newcommand\PTB@tempa{}
\newcommand\PTB@tempb{}
\newcommand\PTB@tempc{}
\newcommand\PTB@tempd{}
\newcommand\PTB@tempe{}
\DeclareOption{portrait}{%
\setlength\PTB@leftmargin{0.5\dimexpr 841mm-780mm}
......@@ -36,11 +38,16 @@
\PTB@tempa
}
\DeclareOption{sanserif}{% TODO!
%\AtBeginDocument{\renewcommand\familydefault{\sfdefault}}
\DeclareOption{sanserif}{% experimentell! Besser: luaTeX/xeTeX
\AtEndOfClass{%
\renewcommand\familydefault{\sfdefault}
\RequirePackage{sfmath}
}
}
\DeclareOption{serif}{% TODO!
%\AtBeginDocument{\renewcommand\familydefault{\rmdefault}}
\DeclareOption{serif}{%
\AtEndOfClass{%
\renewcommand\familydefault{\rmdefault}
}
}
\newcommand*\scaleFontSizes[1]{%
......@@ -71,7 +78,6 @@
,babel=true
]{microtype}
% TODO: Optionen serif/sanserif
\RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc}
\RequirePackage{textcomp}
......@@ -92,8 +98,8 @@
\iflanguage{german}{\reserved@a}{}%
}
\newcommand\PTB@qrcode{}
\newcommand\QRcode[1]{\gdef\PTB@qrcode{#1}}
\newcommand*\PTB@qrcode{}
\newcommand*\QRcode[1]{\gdef\PTB@qrcode{#1}}
\newcommand*\PTB@location{38116~Braunschweig}
\newcommand*\location[1]{\gdef\PTB@location{#1}}
\newcommand*\PTB@street{Bundesallee~100}
......@@ -114,7 +120,8 @@
\definecolor{PTBcolor}{rgb}{0,0.67451,0.87451}
\RequirePackage[texcoord]{eso-pic}
\RequirePackage{pict2e,picture,ifdraft,qrcode,booktabs}
\RequirePackage{pict2e,picture,ifdraft,booktabs}
\RequirePackage{qrcode}
\AddToShipoutPictureBG*{% === Kopf ===
\put(\PTB@leftmargin,-95.4mm){\includegraphics[width=477mm]{ptbposter-logo.pdf}}%
......@@ -136,11 +143,15 @@
\AtTextLowerLeft{%
\linethickness{.5mm}%
\put(-.5\@wholewidth-\PTB@textsep,-57mm){%
\raisebox{19mm}{\qrcode[height=47mm,tight]{\PTB@qrcode}}%
\ifx\PTB@qrcode\@empty
\color{PTBcolor}%
\framebox(46mm,46mm){}%
\else
\raisebox{19mm}{\qrcode[height=47mm,tight]{\PTB@qrcode}}%
\fi
\color{PTBcolor}%
\hspace{2mm}\raisebox{-.5mm}{\rule{47mm}{47mm}}%
\hspace{2mm}\framebox(46mm,46mm){}%
%\circle*{1mm}%
\color{black}%
\hspace{3mm}\raisebox{40.5mm}{{\parbox[t][47mm]{155mm}{%
\footFontSize\sffamily
......@@ -173,6 +184,8 @@
% ===== Behandlung der Autoren (siehe ptb-abstracts.sty ) =====
\def\author#1{}
\def\@author{}
\newcommand\PTB@address{}
......@@ -183,8 +196,8 @@
\newcommand\PTB@dec@footnotemark[1][]{%
\addtocounter{footnote}{-1}%
\begingroup
\edef\@tempa{#1}%
\ifx\@tempa\@empty\footnotemark\else\footnotemark[#1]\fi
\edef\PTB@tempa{#1}%
\ifx\PTB@tempa\@empty\footnotemark\else\footnotemark[#1]\fi
\endgroup
}
......@@ -199,44 +212,44 @@
\begingroup
\@ifstar{\@tempswatrue\@Author}{\@tempswafalse\@Author}}
\newcommand\@Author[2][]{% \@tempa=[footnotemark],\@tempb={Firstname}
\def\@tempa{#1}\def\@tempb{#2}%
\newcommand\@Author[2][]{% \PTB@tempa=[footnotemark],\PTB@tempb={Firstname}
\def\PTB@tempa{#1}\def\PTB@tempb{#2}%
\@@Author}
\newcommand\@@Author[2][]{% \@tempc=[alt. Firstname],\@tempd={Surname}
\def\@tempc{#1}\def\@tempd{#2}%
\newcommand\@@Author[2][]{% \PTB@tempc=[alt. Firstname],\PTB@tempd={Surname}
\def\PTB@tempc{#1}\def\PTB@tempd{#2}%
\@@@Author}
\newcommand\@@@Author[1][]{% \@tempe=[Address]
\def\@tempe{#1}%
\ifx\@tempd\@empty
\newcommand\@@@Author[1][]{% \PTB@tempe=[Address]
\def\PTB@tempe{#1}%
\ifx\PTB@tempd\@empty
% Empty Surname = Addition to the previous author
\g@addto@macro\@author{\PTB@fnmark{,}}%
\else
\ifx\@author\@empty
\xdef\@author{\@tempb~\@tempd}%
\xdef\first@author{\@tempb~\@tempd}%
\xdef\@author{\PTB@tempb~\PTB@tempd}%
\xdef\first@author{\PTB@tempb~\PTB@tempd}%
\else
\expandafter\g@addto@macro\expandafter\@author
\expandafter{\expandafter\and\@tempb~}%
\expandafter{\expandafter\and\PTB@tempb~}%
\expandafter\g@addto@macro\expandafter\@author
\expandafter{\@tempd}% I like it ;-(
\expandafter{\PTB@tempd}% I like it ;-(
\fi
\fi
\if@tempswa
% --> \Author*
\g@addto@macro\@author{\PTB@dec@footnotemark}%
\fi
\ifx\@tempa\@empty\else
\ifx\PTB@tempa\@empty\else
\expandafter\g@addto@macro\expandafter\@author
\expandafter{\expandafter\PTB@fnmark\expandafter{\@tempa}}%
\expandafter{\expandafter\PTB@fnmark\expandafter{\PTB@tempa}}%
\fi
\ifx\@tempe\@empty\else
\ifx\PTB@tempe\@empty\else
\if@tempswa
\g@addto@macro\@author{\PTB@fnmark{,}}%
\fi
\expandafter\g@addto@macro\expandafter\@author
\expandafter{\expandafter\thanks\expandafter{\@tempe}}%
\expandafter{\expandafter\thanks\expandafter{\PTB@tempe}}%
\fi
\endgroup
}
......@@ -244,8 +257,8 @@
\let\PTB@thanks\thanks
\renewcommand\thanks[2][]{%
\begingroup
\def\@tempa{#2}%
\ifx\@tempa\@empty
\def\PTB@tempa{#2}%
\ifx\PTB@tempa\@empty
\footnotemark[\value{footnote}]%
\else
\PTB@thanks{#2}%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment