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

Standardsprache deutsch

parent d12da963
No related branches found
No related tags found
No related merge requests found
No preview for this file type
\documentclass[english]{ptbposter} \documentclass{ptbposter}
%\documentclass[ngerman]{ptbposter} %\documentclass[english]{ptbposter}
\phone{+49-30-3481-????} \phone{+49-30-3481-7316}
\fax{+49-30-3481-????} \fax{+49-30-3481-7503}
\email{Peter.Silie@ptb.de} \email{Rolf.Niepraschk@ptb.de}
\workingGroup{9.99 Arbeitsgruppe} \workingGroup{7.54 Arbeitsgruppe}
\department{9.9 Fachbereich} \department{7.5 Fachbereich}
\location{10587 Berlin} \location{10587 Berlin}
\street{Abbestraße 2--12} \street{Abbestraße 2--12}
\QRcode{http://www.ptb.de/cms/fachabteilungen/abt7/fb-75/ag-754.html} \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*{Max}{Mustermann}
\Author{Gerhold}{Dosenkohl}[Muster Universität Forschungsstadt] \Author{Ellen}{Bogen}[Muster Universität Forschungsstadt]
\Author*{Ellen}{Bogen}[XYZ GmbH] \Author*{Peter}{Silie}[XYZ GmbH]
%%\scaleFontSizes{1.05}% Werte nahe an "1" wählen! %%\scaleFontSizes{1.05}% Werte nahe an "1" wählen!
%%\scaleTitleFontSize{0.92}% 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} \begin{document}
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01] \NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptbposter} \ProvidesClass{ptbposter}
[2015/03/18 v0.2d PTB-Poster-Klasse (RN)] [2015/03/19 v0.2e PTB-Poster-Klasse (RN)]
\PassOptionsToPackage{paper=a0paper}{geometry} \PassOptionsToPackage{paper=a0paper}{geometry}
...@@ -59,8 +59,18 @@ ...@@ -59,8 +59,18 @@
%%%\PassOptionsToClass{fontsize=\the\PTB@default@fsize}{scrartcl} %%%\PassOptionsToClass{fontsize=\the\PTB@default@fsize}{scrartcl}
\ExecuteOptions{portrait,ngerman,serif} \ExecuteOptions{portrait,serif}
\ProcessOptions\relax \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} \LoadClass{scrartcl}
\scaleFontSizes{1}% Werte nahe 1 sind empfohlen. \scaleFontSizes{1}% Werte nahe 1 sind empfohlen.
...@@ -82,23 +92,23 @@ ...@@ -82,23 +92,23 @@
\RequirePackage[T1]{fontenc} \RequirePackage[T1]{fontenc}
\RequirePackage[utf8]{inputenc} \RequirePackage[utf8]{inputenc}
\RequirePackage{textcomp}
\RequirePackage{lmodern}
\RequirePackage{tgpagella,qpxmath}
\RequirePackage{tgheros}
\RequirePackage{babel} \RequirePackage{babel}
\def\reserved@a{% \AtEndOfClass{%
\shorthandon{"}% \shorthandon{"}%
\@tempswafalse
\iflanguage{ngerman}{\@tempswatrue}{%
\iflanguage{german}{\@tempswatrue}{}%
}
\if@tempswa
\defineshorthand{"`}{\guillemotright}% \defineshorthand{"`}{\guillemotright}%
\defineshorthand{"'}{\guillemotleft}% \defineshorthand{"'}{\guillemotleft}%
\shorthandoff{"}% \fi
} }
\iflanguage{ngerman}{\reserved@a}{% \RequirePackage
\iflanguage{german}{\reserved@a}{}% [autostyle=true,babel=once,german=guillemets,maxlevel=3]{csquotes}%
}
\newcommand*\PTB@qrcode{} \newcommand*\PTB@qrcode{}
\newcommand*\QRcode[1]{\gdef\PTB@qrcode{#1}} \newcommand*\QRcode[1]{\gdef\PTB@qrcode{#1}}
...@@ -280,18 +290,18 @@ ...@@ -280,18 +290,18 @@
\newcommand*\authorFontSize{} \newcommand*\authorFontSize{}
\newcommand*\footFontSize{} \newcommand*\footFontSize{}
\newcommand*\titleFontSize{} \newcommand*\titleFontSize{}
\edef\authorFontSize{\noexpand\@setfontsize\noexpand\authorFontSize{53.3}{63.96}} \def\authorFontSize{\@setfontsize\authorFontSize{53.3}{63.96}}
\edef\footFontSize{\noexpand\@setfontsize\noexpand\footFontSize{19.27}{23.124}} \def\footFontSize{\@setfontsize\footFontSize{19.27}{23.124}}
\newcommand*\scaleTitleFontSize[1]{% \newcommand*\scaleTitleFontSize[1]{%
\@ovri=106.6pt % \@ovri=106.6pt %
\@ovri=#1\@ovri \@ovri=#1\@ovri
\@ovdy=1.2\@ovri \@ovdy=1.2\@ovri
\xdef\titleFontSize{% \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*\labelitemi{$\m@th\circ$}
\renewcommand*\labelitemii{$\m@th\triangleright$} \renewcommand*\labelitemii{$\m@th\triangleright$}
......
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