diff --git a/ptbposter/George.png b/ptbposter/George.png new file mode 100644 index 0000000000000000000000000000000000000000..8a42c68902cfa8085cc958eb07e571a7b36c7274 Binary files /dev/null and b/ptbposter/George.png differ diff --git a/ptbposter/John.png b/ptbposter/John.png new file mode 100644 index 0000000000000000000000000000000000000000..4db00ce0495c5b80f2d7fc505d7d54a8d9c8daf7 Binary files /dev/null and b/ptbposter/John.png differ diff --git a/ptbposter/Makefile b/ptbposter/Makefile index 8c80039093dbe95881e70be268b569b24f2839f3..61f4ee889e666241f5bf115554afd20254f69ab9 100644 --- a/ptbposter/Makefile +++ b/ptbposter/Makefile @@ -10,13 +10,16 @@ ARCHNAME = ptbposter-$(shell date +%Y-%m-%d).zip ADDINPUTS = ptbposter.cls ptbposter-logo-A.mps -all : $(DOC1).pdf $(DOC2).pdf +all : $(DOC1).pdf $(DOC2).pdf tcb-example1.pdf tcb-example2.pdf -$(DOC1).pdf $(DOC2).pdf : $(ADDINPUTS) +$(DOC1).pdf $(DOC2).pdf tcb-example2.pdf : $(ADDINPUTS) %.pdf : %.tex pdflatex $< +tcb-example1.pdf : tcb-example1.tex + lualatex $< + #%.mps : %.eps # purifyeps $< - | sed -e "s/0 0 0 setrgbcolor/%/g" > $@ # "purifyeps" macht aktuell Probleme # 2017-10-18 diff --git a/ptbposter/Paul.png b/ptbposter/Paul.png new file mode 100644 index 0000000000000000000000000000000000000000..b28fe14e6dacb198da29903c1c11c24b585e482f Binary files /dev/null and b/ptbposter/Paul.png differ diff --git a/ptbposter/Ringo.png b/ptbposter/Ringo.png new file mode 100644 index 0000000000000000000000000000000000000000..0386a7fe38308778aeab88e4708e5e1f58a980c0 Binary files /dev/null and b/ptbposter/Ringo.png differ diff --git a/ptbposter/The_Beatles_official_logo.pdf b/ptbposter/The_Beatles_official_logo.pdf new file mode 100644 index 0000000000000000000000000000000000000000..9b3fd55e19448582ffe4423dcb522111801eed72 Binary files /dev/null and b/ptbposter/The_Beatles_official_logo.pdf differ diff --git a/ptbposter/ptbposter-doc-1.pdf b/ptbposter/ptbposter-doc-1.pdf index dd900e472e9018311f79f7e298ed992b2e87378f..7432f9e3696c353630ef5b197079a06d93f76ac7 100644 Binary files a/ptbposter/ptbposter-doc-1.pdf and b/ptbposter/ptbposter-doc-1.pdf differ diff --git a/ptbposter/ptbposter-doc-1.tex b/ptbposter/ptbposter-doc-1.tex index 36ebb778c8631344176ed60269c38148f8d7fc7b..4dc5f5a9a8308792835405385db73fe42006925e 100644 --- a/ptbposter/ptbposter-doc-1.tex +++ b/ptbposter/ptbposter-doc-1.tex @@ -1,6 +1,5 @@ \documentclass{ptbposter} -%\documentclass[sanserif,english]{ptbposter} \phone{+49-30-3481-7316} \fax{+49-30-3481-7503} @@ -19,7 +18,6 @@ \logo{penguin.pdf} %%\scaleFontSizes{1.05}% Werte nahe an "1" wählen! -%%\scaletoPaper{a4} \title{Die \LaTeX"=Dokumentenklasse "`ptbposter"'} @@ -42,17 +40,19 @@ zu entnehmen. \section{Klassenoptionen} \begin{itemize} + \item \textbf{a4paper}: Setzt von A0 abweichende Blattgröße (auch + "`a2paper"' usw.\ möglich). \item \textbf{portrait}: Setzt das Poster im Hochformat (Standard). \item \textbf{landscape}: Setzt das Poster im Querformat. \item \textbf{serif}: Wählt die Serifenschrift für den Textbereich (Standard). \item \textbf{sanserif}: Wählt die serifenlose Schrift für den Textbereich. - Es wird empfohlen, in diesem Falle die TeX"=Compiler "`lualatex"' oder + Es ist notwendig, in diesem Fall die TeX"=Compiler "`lualatex"' oder "`xelatex"' zu verwenden. + \item \textbf{boldTitel}: Im Titel fette Schriftstärke verwenden. + \item \textbf{centerTitel}: Den Titel zentriert setzen. + \item \textbf{centerAuthors}: Die Autoren zentriert setzen. \end{itemize} -Alle anderen Optionen werden an die intern benutzte Dokumentenklasse -"`scrartcl"' weitergeleitet. - Ohne Angabe einer Sprachoption werden die Trennregeln für "`ngerman"' (neue deutsche Rechtschreibung) benutzt. @@ -111,19 +111,6 @@ Institution des dritten und gleichzeitig zu einer weiteren. \emph{Das Dokument "`\texttt{ptbposter-doc-2}"' enthält die Fortsetzung dieser Anleitung.} -\textcolor{PTBcolor}{\rule{\textwidth}{0.25ex}} - -\begin{equation} - \sum_{k=0}^\infty \frac{x^k}{k!} \neq \prod_{j=1}^{10} \frac{j}{j+1}. -\end{equation} - -\begin{equation} - P_{r-j}=\begin{cases} - 0 & \text{if $r-j$ is odd},\\ - r!\,(-1)^{(r-j)/2} & \text{if $r-j$ is even}. - \end{cases} -\end{equation} - \end{document} diff --git a/ptbposter/ptbposter-doc-2.pdf b/ptbposter/ptbposter-doc-2.pdf index c5e8b37dfcaacba4e104faef7ca7612d88cac5f3..e55bdfd362e2d81820f6498eb3ddbc79ec051947 100644 Binary files a/ptbposter/ptbposter-doc-2.pdf and b/ptbposter/ptbposter-doc-2.pdf differ diff --git a/ptbposter/ptbposter-doc-2.tex b/ptbposter/ptbposter-doc-2.tex index e020ec9cdaf09c0cbb87b2ee240d8e44306ff051..435ef3f2cd330191aa9182f2bcfc9ca515dd9214 100644 --- a/ptbposter/ptbposter-doc-2.tex +++ b/ptbposter/ptbposter-doc-2.tex @@ -19,33 +19,24 @@ \logo{penguin.pdf} %%\scaleFontSizes{1.05}% Werte nahe an "1" wählen! -%%\scaletoPaper{a4} \title{Die \LaTeX"=Dokumentenklasse "`ptbposter"'} \begin{document} -~\par\bigskip \emph{Das Dokument "`\texttt{ptbposter-doc-1}"' enthält den ersten Teil dieser Anleitung.} -\bigskip \begin{multicols}{3} \section{Makros} \begin{itemize} - \item \verb|\centerTitel|: Den Titel zentriert setzen. - \item \verb|\centerAuthors|: Die Autoren zentriert setzen. - \item \verb|\boldTitel|: Im Titel fette Schriftstärke verwenden. \item \verb|\scaleFontSizes|: Skaliert alle Schriftgrößen im Textbereich um den angegebenen Wert. Beispiel: Mit \verb|\scaleFontSizes{1.04}| wird der Fließtext um 4\,\% vergrößert gesetzt. - \item \verb|\scaletoPaper|: Skaliert das gesamte Dokument auf das als - Parameter angegebene Papierformat, wobei die DIN/ISO"=A"=Reihe bevorzugt - werden sollte. Beispiel: \verb|\scaletoPaper{a4}| erzeugt eine Version des - Posters, die gut archiviert werden kann. \item \verb|\logo|: Spezielles Logo im Kopfbereich (rechtsbündig) + \columnbreak \end{itemize} Der Zahlenwert für \verb|\scaleFontSizes| sollte nicht stark von "`1"' diff --git a/ptbposter/ptbposter-tcb.sty b/ptbposter/ptbposter-tcb.sty index 25b734dcf59e2bb896aed2c7de9402c27de90a83..d0d7eb9696a2db1572c05da0e8eb68f84f744fa8 100644 --- a/ptbposter/ptbposter-tcb.sty +++ b/ptbposter/ptbposter-tcb.sty @@ -1,61 +1,57 @@ -\ProvidesPackage{ptbposter-add}[2019/05/10 v0.1a ptbposter/tcolorbox (RN)] -\newcommand*\PTB@showframe{false} -\DeclareOption{showframe}{% - \def\PTB@showframe{true} -}% -\DeclareOption*{\OptionNotUsed} -\ProcessOptions\relax +\ProvidesPackage{ptbposter-tcb}[2019/05/12 v0.1b ptbposter/tcolorbox (RN)] + +\newcommand*\PTB@posterSet{% + columns=3,rows=5,spacing=\PTB@texthsep,showframe=false,} +\newcommand*\posterSet[1]{% + \g@addto@macro\PTB@posterSet{#1}% +} \RequirePackage[most]{tcolorbox} \tcbuselibrary{poster} -\usetikzlibrary{shadings} +\usetikzlibrary{shadings,arrows.meta} \colorlet{backgroundTop}{Goldenrod2!10} -\colorlet{backgroundBottom}{Goldenrod2!70} +\colorlet{backgroundBottom}{Goldenrod2!90} \colorlet{boxBackground}{white} -\tcbposterset{% - poster={% - columns= 3, - rows = 5, - spacing=\PTB@texthsep, - showframe=\PTB@showframe, - }, +\renewcommand*\backgroundContent{% + \begin{tikzpicture}% + \shade[top color=backgroundTop, bottom color=backgroundBottom,% + shading angle=\ifPTB@landscape 64.07\else 41.55\fi](0,0)% + % Winkel auf Basis von \PTB@framewidth und \PTB@frameheight + rectangle(\PTB@framewidth,\PTB@frameheight);% + \end{tikzpicture}% +} + +\tcbposterset{% coverage={% height=\textheight, width=\textwidth, interior style={opacity=0}, top=0pt,bottom=0pt,left=0pt,right=0pt },% - boxes = { + boxes={ enhanced standard jigsaw,sharp corners=downhill, arc=0.012\PTB@scale@base, boxrule=\PTB@framethickness, boxsep=0pt, top=1ex,bottom=1ex,left=1ex,right=1ex, toptitle=.6ex,bottomtitle=.6ex,lefttitle=1ex,righttitle=1ex, + %before title pre=\strut, colback=boxBackground, %opacityback=0.75,% ???? colframe=PTBcolor, coltitle=white, - fonttitle =\sffamily\bfseries, - title style={ - PTBcolor - }, + fonttitle=\sffamily\bfseries, + title style=PTBcolor, valign=top% center } }% -\renewcommand*\backgroundContent{% - \begin{tikzpicture}% - \shade[top color=backgroundTop, bottom color=backgroundBottom,% - shading angle=\ifPTB@landscape 35.26\else 54.74\fi](0,0)% - rectangle(\PTB@framewidth,\PTB@frameheight);% - \end{tikzpicture}% -} - \AtBeginDocument{% + \edef\PTB@tempa{\noexpand\tcbposterset{poster={\PTB@posterSet}}}% + \PTB@tempa \begin{tcbposter}% } \AtEndDocument{% diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls index e6c1bf1e44ff9320e8297fa654e41b8c143adfcf..ce77c11f503f28f2f961e2bb971c6a9704ffa612 100644 --- a/ptbposter/ptbposter.cls +++ b/ptbposter/ptbposter.cls @@ -3,14 +3,13 @@ \setcounter{errorcontextlines}{100} \listfiles \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesClass{ptbposter} - [2019/05/09 v0.7b PTB-Poster-Klasse (RN)] +\ProvidesClass{ptbposter}[2019/05/12 v0.8a PTB-Poster (RN)] \newif\ifPTB@useCMYK \PTB@useCMYKfalse % vorerst \newdimen\PTB@topmargin % Abstand zum Rahmen \newdimen\PTB@leftmargin % Abstand zum Rahmen -\newdimen\PTB@default@fsize@base % Bezugsgröße für Standardschriftgröße im Textbereich +\newdimen\PTB@default@fsize@base % Bezugsgröße für Standardschriftgröße im Textbereich \newdimen\PTB@default@fsize % Standardschriftgröße im Textbereich (\normalsize) \newdimen\PTB@default@tfsize % Standardschriftgröße für den Titel \newdimen\PTB@default@afsize % Standardschriftgröße für die Autoren @@ -27,6 +26,7 @@ \newcommand*\footFontSize{} \newcommand*\titleFontSize{} \newcommand*\backgroundContent{} +\newcommand*\LogoFont{} \newcommand\PTB@tempa{} \newcommand\PTB@tempb{} @@ -49,18 +49,30 @@ \RequirePackage{ifluatex,ifxetex} \ifxetex\PTB@XeOrLuatrue\else\ifluatex\PTB@XeOrLuatrue\fi\fi -\DeclareOption{sanserif}{% noch experimentell! Besser: luaTeX/xeTeX + OTF +\PassOptionsToPackage{pagesize=false}{typearea} +\PassOptionsToPackage{paper=a0paper,onecolumn,portrait}{geometry} + +\newcommand*\PTB@title@justification{\relax} +\newcommand*\PTB@authors@justification{\relax} +\newcommand*\PTB@title@series{\relax} + +\DeclareOption{sanserif}{% noch experimentell! Besser: LuaTeX/XeTeX + OTF \PTB@seriffalse } \DeclareOption{serif}{% \PTB@seriftrue } - -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} - -\PassOptionsToPackage{pagesize=false}{typearea} - -\ExecuteOptions{portrait,serif} +\DeclareOption{boldTitel}{% + \global\let\PTB@title@series=\bfseries +} +\DeclareOption{centerTitel}{% + \global\let\PTB@title@justification=\centering +} +\DeclareOption{centerAuthors}{% + \global\let\PTB@authors@justification=\centering +} +\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{geometry}} +\ExecuteOptions{serif} \ProcessOptions\relax \RequirePackage{hyphsubst}% Trennregeln austauschen @@ -70,13 +82,12 @@ \HyphSubstLet{german}{german-x-latest}}{} \RequirePackage{etoolbox} -\preto\@classoptionslist{a0paper,portrait,ngerman,} +\preto\@classoptionslist{ngerman,} % Ohne Sprachangabe "deutsch" verwenden. Bessere Lösung? -\LoadClass[% -%,headings=normal -%,parskip=half -]{scrartcl} +\LoadClass{scrartcl} + +\usepackage[verbose]{geometry}% \@ifundefined{changefontsizes}{% \ClassError{ptbposter}{% @@ -88,15 +99,13 @@ \RequirePackage{amsmath} -\newcommand*\LogoFont{} - \ifPTB@XeOrLua \input{ptbposter-new-engines.clo} \else \input{ptbposter-old-engines.clo} \fi -\RequirePackage[verbose]{geometry}% Papiergröße steht bereits fest (Standard: A0) +\let\LogoFont=\sffamily \ifdim\paperheight>\paperwidth \setlength\PTB@scale@base{\paperheight} @@ -115,13 +124,6 @@ \global\PTB@default@fsize=#1\PTB@default@fsize@base } -\newcommand*\PTB@title@justification{\relax} -\newcommand*\centerTitel{\global\let\PTB@title@justification=\centering} -\newcommand*\PTB@authors@justification{\relax} -\newcommand*\centerAuthors{\global\let\PTB@authors@justification=\centering} -\newcommand*\PTB@title@series{\relax} -\newcommand*\boldTitel{\global\let\PTB@title@series=\bfseries} - \newcommand*\PTB@scaleTitleFontSize[1]{% \PTB@tempdima=\PTB@default@tfsize \PTB@tempdima=#1\PTB@tempdima @@ -137,7 +139,7 @@ \edef\footFontSize{\noexpand\@setfontsize\noexpand\footFontSize{% \the\PTB@default@ffsize}{\the\dimexpr1.2\PTB@default@ffsize}} -\RequirePackage[svgnames]{xcolor} +\RequirePackage[dvipsnames,svgnames,x11names]{xcolor} \RequirePackage{multicol,graphicx} \ifxetex\else @@ -191,8 +193,6 @@ \newcommand*\fax[1]{\gdef\PTB@fax{#1}} \newcommand*\PTB@logo{} \newcommand*\logo[1]{\gdef\PTB@logo{#1}} -\newcommand*\PTB@final@paper{} -\newcommand*\scaletoPaper[1]{\gdef\PTB@final@paper{#1}} \ifPTB@useCMYK \definecolor{PTBcolor}{cmyk}{1,0.32549,0.12549,0.12549} @@ -207,7 +207,7 @@ \RequirePackage{grffile,pict2e,picture,ifdraft,booktabs} \RequirePackage{varwidth,qrcode} -\AddToShipoutPictureFG*{% Kopf (relativ zur oberen Blattkante) +\AddToShipoutPictureBG*{% Kopf (relativ zur oberen Blattkante) \PTB@tempdima=-0.077\PTB@scale@base \put(\PTB@leftmargin,\PTB@tempdima){% \parbox[b]{\PTB@framewidth}{% TODO: vereinfachen? @@ -260,7 +260,7 @@ \put(\PTB@leftmargin,\PTB@tempdima){\parbox[b]{\PTB@framewidth}{% Autoren \PTB@authors@justification\sffamily\authorFontSize\@author}}% % hier wird \@thanks gefüllt - \linethickness{\PTB@framethickness}\color{PTBcolor}% + \linethickness{\PTB@framethickness}\color{PTBcolor}%\color{PTBcolor}% \PTB@tempdima=-0.0883095039717\PTB@scale@base \put(\PTB@leftmargin,\PTB@tempdima){% \line(1,0){\dimexpr\paperwidth-2\PTB@leftmargin}}% @@ -282,8 +282,8 @@ \ifx\PTB@qrcode\@empty \color{PTBcolor}\framebox(\PTB@tempdima,\PTB@tempdima){}% \else - \raisebox{0.7\height}{% - \qrcode[height=\PTB@tempdima,tight]{\PTB@qrcode}}% + \sbox\@tempboxa{\qrcode[height=\PTB@tempdima,tight]{\PTB@qrcode}}% + \raisebox{\dp\@tempboxa}{\usebox\@tempboxa}% \fi \color{PTBcolor} \hspace{\PTB@tempdimb}\raisebox{-\@wholewidth}{% @@ -416,31 +416,22 @@ \renewcommand*\labelitemiii{$\m@th\diamond$} \renewcommand*\labelitemiv{$\m@th\triangleright$}% -\newcommand*\PTB@scaletoPaper[1]{% - \begingroup - \c@PTB@tempcnta=\paperheight - \iso@paper{#1}% - \c@PTB@tempcntb=\paperheight - \c@PTB@tempcnta=\dimexpr \c@PTB@tempcntb sp * 1000 / \c@PTB@tempcnta % - \global\mag\c@PTB@tempcnta - \endgroup -} - -\AtBeginDocument{% +\AtEndPreamble{% % Skalierungen in der Präambel sind passiert. - %%%\makeatletter\input{ptbposter-size.clo}\makeatother - %%%\makeatletter\input{ptbposter.patch}\makeatother% weiter vorn! Test auf Version \changefontsizes{\the\PTB@default@fsize}% - \KOMAoptions{headings=normal,parskip=half} \normalsize + \KOMAoptions{headings=normal,parskip=half} + \normalsize \setlength\PTB@texthsep{.75em}% \setlength\PTB@textvsep{.75em}% - \setlength\PTB@maxtitleheight{0.057\PTB@scale@base}% HUGO + \setlength\PTB@maxtitleheight{0.057\PTB@scale@base}% + \setlength\PTB@framethickness{0.00168208578994\PTB@scale@base}% + \setlength\fboxsep{0.00355\PTB@scale@base} % 3pt bei A4 + \setlength\fboxrule{0.0004722\PTB@scale@base}% 0.4pt bei A4 \ifx\@author\@empty \setlength\PTB@topmargin{0.152\PTB@scale@base}% \else \setlength\PTB@topmargin{0.180824222418\PTB@scale@base}% \fi - \setlength\PTB@framethickness{0.00168208578994\PTB@scale@base}% \ifPTB@landscape \setlength\PTB@framewidth{0.950378471315\PTB@scale@base}% 3215pt (1130mm) bei A0 \ifx\@author\@empty @@ -457,35 +448,34 @@ \fi \fi \setlength\PTB@leftmargin{0.5\dimexpr\paperwidth-\PTB@framewidth}% - \edef\PTB@tempa{% - \noexpand\newgeometry{% - columnsep=1.5em,hcentering,% - top=\the\dimexpr\PTB@topmargin+\PTB@textvsep,% - textwidth=\the\dimexpr\PTB@framewidth-2\PTB@texthsep,% - textheight=\the\dimexpr\PTB@frameheight-2\PTB@textvsep}% - \noexpand\normalsize - }% \iftrue - \PTB@tempa + \@tempdima=\dimexpr\PTB@leftmargin+\PTB@texthsep % + \geometry{% + verbose, + top=\dimexpr\PTB@topmargin+\PTB@textvsep,% + left=\@tempdima, + right=\@tempdima, + textheight=\dimexpr\PTB@frameheight-2\PTB@textvsep,% + columnsep=1.5em,hcentering} \else - \paperwidth=2392.87677pt % - \paperheight=3383.03267pt % - \textwidth=2175.25656pt % - \textheight=2437.77509pt % - \oddsidemargin=36.54012pt % - \evensidemargin=36.54012pt % - \topmargin=535.06314pt % + \paperwidth=2392.87701pt % + \paperheight=3383.03302pt % + \textwidth=2153.24045pt % + \textheight=2437.77531pt % + \oddsidemargin=47.5483pt % + \evensidemargin=47.5483pt % + \topmargin=535.06322pt % \headheight=17.0pt % \headsep=20.40001pt % \topskip=11.0pt % \footskip=47.6pt % - \marginparwidth=59.7508pt % + \marginparwidth=598.21925pt % \marginparsep=12.8401pt % - \columnsep=88.06537pt % + \columnsep=66.04904pt % + \hoffset=0.0pt % + \voffset=0.0pt % \fi - \ifx\PTB@final@paper\@empty\else\PTB@scaletoPaper{\PTB@final@paper}\fi - \setlength\emergencystretch{3em}% \@ifpackageloaded{multicol}{% @@ -494,11 +484,7 @@ \RequirePackage{paralist} \newcommand*\PTB@begin@list[1]{% - %\PTB@tempdima=\parindent - %\PTB@tempdimb=\parskip \@nameuse{#1}% - %\parindent=\PTB@tempdima - %\parskip=\PTB@tempdimb } \def\enumerate{% \PTB@begin@list{compactenum}% diff --git a/ptbposter/tcb-example1.pdf b/ptbposter/tcb-example1.pdf index 5d14e623ba437e8a3310ac16ef6b7c7f482e12ac..ea64345594dbafb628e06f0d75d9fa5bc06d0a9d 100644 Binary files a/ptbposter/tcb-example1.pdf and b/ptbposter/tcb-example1.pdf differ diff --git a/ptbposter/tcb-example1.tex b/ptbposter/tcb-example1.tex index 5a37d37f02129a8197e358d0917c4f60561454d6..06a270caf85b2662c4a5fb5c9d4db1de49b0db10 100644 --- a/ptbposter/tcb-example1.tex +++ b/ptbposter/tcb-example1.tex @@ -1,7 +1,9 @@ -\documentclass[sanserif]{ptbposter} -%\documentclass[sanserif,english]{ptbposter} -\usepackage[showframe]{ptbposter-tcb} +\documentclass[% +,sanserif +%,a4paper +]{ptbposter} +\usepackage{ptbposter-tcb} \phone{+49-30-3481-7316} \fax{+49-30-3481-7503} @@ -12,62 +14,59 @@ \street{Abbestraße 2--12} \QRcode{http://www.ptb.de/cms/fachabteilungen/abt7/fb-75/ag-754.html} -\Author{Rolf}{Niepraschk}[Physikalisch-Technische Bundesanstalt] -\Author*{Max}{Mustermann} -\Author{Ellen}{Bogen}[Muster Universität Oberstadt] -\Author*{Peter}{Silie}[XYZ GmbH] +\Author{Rolf}{Niepraschk} -\logo{Logo754.pdf} +%\logo{Logo754.pdf} -%%\scaleFontSizes{1.05}% Werte nahe an "1" wählen! -%%\scaletoPaper{a4}% ??? +\colorlet{boxBackground}{black!5} +\posterSet{showframe=true} -\colorlet{boxBackground}{black!7} +\title{Poster-Test (\texttt{tcolorbox}) -- Nr.~1} -\title{Poster-Test mit \texttt{tcolorbox/poster}} - -\begin{document} - \begin{posterboxenv}[title=BlaBla]{name=A,column=3} - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text +\begin{document} + \begin{posterboxenv}[title=BlaBla]{name=A,row=1,column=1} + \fbox{\texttt{row=1}}\par\bigskip + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + \end{posterboxenv} + \begin{posterboxenv}[title=BlaBla]{name=B,column=3} + \fbox{\texttt{column=3}}\par\bigskip + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text \end{posterboxenv} - \begin{posterboxenv}[title=BlaBla]{name=B,row=2,column=1,span=2} - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text + \begin{posterboxenv}[title=BlaBla]{name=C,row=2,column=1,span=2} + \fbox{\texttt{row=2,column=1,span=2}} \end{posterboxenv} - \begin{posterboxenv}[title=BlaBla]{name=C,row=3,column=2,span=2,rowspan=2} - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text - Etwas Text Etwas Text Etwas Text Etwas Text Etwas Text + \begin{posterboxenv}[title=BlaBla]{name=D,row=3,column=2,span=2,rowspan=2} + \fbox{\texttt{row=3,column=2,span=2,rowspan=2}}\par\bigskip + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text + etwas Text etwas Text etwas Text etwas Text etwas Text \end{posterboxenv} \begin{posterboxenv}{column=1,above=bottom} + \fbox{\texttt{column=1,above=bottom}}\par\bigskip For all natural number $n$ it holds: \begin{equation} \tcbhighmath{\sum\limits_{i=1}^n i = \frac{n(n+1)}{2}.} \end{equation} \end{posterboxenv} - \begin{posterboxenv}[title=Verweise]{name=E,row=5,column=2,span=2} + \begin{posterboxenv}[title=Verweise]{name=F,row=5,column=2,span=2} + \fbox{\texttt{row=5,column=2,span=2}}\par\bigskip \begin{itemize} \item Thomas F.~Sturm: The tcolorbox package, Library poster, S.~408--420, diff --git a/ptbposter/tcb-example2.pdf b/ptbposter/tcb-example2.pdf new file mode 100644 index 0000000000000000000000000000000000000000..a2a407c44869cac9f72d2d8c24a994bc38a403c2 Binary files /dev/null and b/ptbposter/tcb-example2.pdf differ diff --git a/ptbposter/tcb-example2.tex b/ptbposter/tcb-example2.tex new file mode 100644 index 0000000000000000000000000000000000000000..464fafcfcb54d0fe6dfb5d21fa964bd68499845d --- /dev/null +++ b/ptbposter/tcb-example2.tex @@ -0,0 +1,57 @@ + +\documentclass[% +%,sanserif +%,a4paper +]{ptbposter} +\usepackage{ptbposter-tcb} + +\phone{+49-30-3481-7316} +\fax{+49-30-3481-7503} +\email{Rolf.Niepraschk@ptb.de} +\workingGroup{7.54 Vakuummetrologie} +\department{7.5 Wärme und Vakuum} +\location{10587 Berlin} +\street{Abbestraße 2--12} +\QRcode{http://www.ptb.de/cms/fachabteilungen/abt7/fb-75/ag-754.html} + +\Author{Rolf}{Niepraschk} + +%\logo{Logo754.pdf} + +\colorlet{backgroundTop}{IndianRed3!10} +\colorlet{backgroundBottom}{IndianRed3!90} +\posterSet{showframe=false,columns=3,rows=3} + +\title{Poster-Test (\texttt{tcolorbox}) -- Nr.~2} + +\begin{document} + \begin{posterboxenv}[title=John Lennon]{name=John,column=1} + \includegraphics[width=\linewidth]{John.png} + \end{posterboxenv} + \begin{posterboxenv}[title=Paul McCartney]{name=Paul,column=3} + \includegraphics[width=\linewidth]{Paul.png} + \end{posterboxenv} + \begin{posterboxenv}{name=Beatles,column=2,at=middle} + \includegraphics[width=\linewidth]{The_Beatles_official_logo.pdf} + \end{posterboxenv} + \begin{posterboxenv}[title=George Harrison]{name=George,column=1,above=bottom} + \includegraphics[width=\linewidth]{George.png} + \end{posterboxenv} + \begin{posterboxenv}[title=Ringo Starr]{name=Ringo,column=3,above=bottom} + \includegraphics[width=\linewidth]{Ringo.png} + \end{posterboxenv} + + \tikzset{arrow/.style={draw=PTBcolor,line width=1ex,->,-{Latex[length=4ex]}}} + + \draw[arrow] (TCBPOSTER@John.south) to + [out=-90,in=150] ([yshift=1.5em]TCBPOSTER@Beatles.west); + \draw[arrow] (TCBPOSTER@Paul.south) to + [out=-90,in=30] ([yshift=1.5em]TCBPOSTER@Beatles.east); + \draw[arrow] (TCBPOSTER@George.north) to + [out=90,in=210] ([yshift=-1.5em]TCBPOSTER@Beatles.west); + \draw[arrow] (TCBPOSTER@Ringo.north) to + [out=90,in=-30] ([yshift=-1.5em]TCBPOSTER@Beatles.east); +\end{document} + + +