diff --git a/ptbposter/ptbposter-test-hoch.pdf b/ptbposter/ptbposter-test-hoch.pdf index 0034fb37c942619342c8a111a76139cb1d18e30a..291ec2f43d04dfda2e7a2a34564d5fca736002b0 100644 Binary files a/ptbposter/ptbposter-test-hoch.pdf and b/ptbposter/ptbposter-test-hoch.pdf differ diff --git a/ptbposter/ptbposter-test-hoch.tex b/ptbposter/ptbposter-test-hoch.tex index 210a22c4f19d18f3da57a156f8084b084f558d06..dd986731bd0f7376505ebc47f7063575469b0140 100644 --- a/ptbposter/ptbposter-test-hoch.tex +++ b/ptbposter/ptbposter-test-hoch.tex @@ -1,25 +1,25 @@ -\documentclass[english]{ptbposter} -%\documentclass[ngerman]{ptbposter} - -\phone{+49-30-3481-????} -\fax{+49-30-3481-????} -\email{Peter.Silie@ptb.de} -\workingGroup{9.99 Arbeitsgruppe} -\department{9.9 Fachbereich} +\documentclass{ptbposter} +%\documentclass[english]{ptbposter} + +\phone{+49-30-3481-7316} +\fax{+49-30-3481-7503} +\email{Rolf.Niepraschk@ptb.de} +\workingGroup{7.54 Arbeitsgruppe} +\department{7.5 Fachbereich} \location{10587 Berlin} \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{Rolf}{Niepraschk}[Physikalisch-Technische Bundesanstalt] \Author*{Max}{Mustermann} -\Author{Gerhold}{Dosenkohl}[Muster Universität Forschungsstadt] -\Author*{Ellen}{Bogen}[XYZ GmbH] +\Author{Ellen}{Bogen}[Muster Universität Forschungsstadt] +\Author*{Peter}{Silie}[XYZ GmbH] %%\scaleFontSizes{1.05}% Werte nahe an "1" wählen! %%\scaleTitleFontSize{0.92}% Werte nahe an "1" wählen! -\title{Das Liebesleben der Maikäfer} +\title{Die \LaTeX-Dokumentenklasse "`ptbposter.cls"'} \begin{document} diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls index ace4c4c012570295eefb9ff82986bf7403363d10..4be4f7c4210fbf2125299720a1a0335c2c2941e3 100644 --- a/ptbposter/ptbposter.cls +++ b/ptbposter/ptbposter.cls @@ -4,7 +4,7 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{ptbposter} - [2015/03/18 v0.2d PTB-Poster-Klasse (RN)] + [2015/03/19 v0.2e PTB-Poster-Klasse (RN)] \PassOptionsToPackage{paper=a0paper}{geometry} @@ -59,8 +59,18 @@ %%%\PassOptionsToClass{fontsize=\the\PTB@default@fsize}{scrartcl} -\ExecuteOptions{portrait,ngerman,serif} +\ExecuteOptions{portrait,serif} \ProcessOptions\relax + +\RequirePackage{etoolbox} +\preto\@classoptionslist{ngerman,} +% Ohne Sprachangabe "deutsch" verwenden. Bessere Lösung? + +\RequirePackage{textcomp} +\RequirePackage{lmodern} +\RequirePackage{tgpagella,qpxmath} +\RequirePackage{tgheros} + \LoadClass{scrartcl} \scaleFontSizes{1}% Werte nahe 1 sind empfohlen. @@ -82,23 +92,23 @@ \RequirePackage[T1]{fontenc} \RequirePackage[utf8]{inputenc} -\RequirePackage{textcomp} -\RequirePackage{lmodern} -\RequirePackage{tgpagella,qpxmath} -\RequirePackage{tgheros} \RequirePackage{babel} -\def\reserved@a{% +\AtEndOfClass{% \shorthandon{"}% + \@tempswafalse + \iflanguage{ngerman}{\@tempswatrue}{% + \iflanguage{german}{\@tempswatrue}{}% + } + \if@tempswa \defineshorthand{"`}{\guillemotright}% \defineshorthand{"'}{\guillemotleft}% - \shorthandoff{"}% + \fi } -\iflanguage{ngerman}{\reserved@a}{% - \iflanguage{german}{\reserved@a}{}% -} +\RequirePackage + [autostyle=true,babel=once,german=guillemets,maxlevel=3]{csquotes}% \newcommand*\PTB@qrcode{} \newcommand*\QRcode[1]{\gdef\PTB@qrcode{#1}} @@ -280,18 +290,18 @@ \newcommand*\authorFontSize{} \newcommand*\footFontSize{} \newcommand*\titleFontSize{} -\edef\authorFontSize{\noexpand\@setfontsize\noexpand\authorFontSize{53.3}{63.96}} -\edef\footFontSize{\noexpand\@setfontsize\noexpand\footFontSize{19.27}{23.124}} +\def\authorFontSize{\@setfontsize\authorFontSize{53.3}{63.96}} +\def\footFontSize{\@setfontsize\footFontSize{19.27}{23.124}} \newcommand*\scaleTitleFontSize[1]{% \@ovri=106.6pt % \@ovri=#1\@ovri \@ovdy=1.2\@ovri \xdef\titleFontSize{% - \noexpand\@setfontsize\noexpand\titleFontSize{\the\@ovri}{\the\@ovdy}} + \noexpand\@setfontsize\noexpand\titleFontSize{\the\@ovri}{\the\@ovdy}}% } -\scaleTitleFontSize{1} \show\titleFontSize +\scaleTitleFontSize{1} \renewcommand*\labelitemi{$\m@th\circ$} \renewcommand*\labelitemii{$\m@th\triangleright$}