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

"oldboxstyle"

parent 642210d4
Branches
No related tags found
No related merge requests found
\ProvidesPackage{ptbposter-tcb}[2020/02/13 v0.1c ptbposter/tcolorbox (RN)]
\ProvidesPackage{ptbposter-tcb}[2020/02/14 v0.1d ptbposter/tcolorbox (RN)]
\newcommand*\PTB@posterSet{%
columns=3,rows=5,spacing=\PTB@texthsep,showframe=false,}
......@@ -7,10 +7,17 @@
\g@addto@macro\PTB@posterSet{#1}%
}
\newcommand*\PTB@boxesSet{}
\DeclareOption{oldboxstyle}{%
\g@addto@macro\PTB@boxesSet{sharp corners=downhill,}
}
\ProcessOptions\relax
\RequirePackage[most]{tcolorbox}
\tcbuselibrary{poster}
\usetikzlibrary{shadings,arrows.meta}
\colorlet{backgroundTop}{Goldenrod2!10}
\colorlet{backgroundBottom}{Goldenrod2!90}
\colorlet{boxBackground}{white}
......@@ -30,27 +37,29 @@
width=\textwidth,
interior style={opacity=0},
top=0pt,bottom=0pt,left=0pt,right=0pt
},%
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\centering,
title style={PTBcolor},
valign=top% center
}
}%
}%
}%
\g@addto@macro\PTB@boxesSet{
enhanced standard jigsaw,
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\centering,
title style={PTBcolor},
valign=top% center
}
\AtBeginDocument{%
\edef\PTB@tempa{\noexpand\tcbposterset{poster={\PTB@posterSet}}}%
\protected@edef\PTB@tempa{\noexpand\tcbposterset{poster={\PTB@posterSet},%
boxes={\PTB@boxesSet}}}%
\PTB@tempa
\begin{tcbposter}%
}
......
No preview for this file type
......@@ -3,7 +3,7 @@
%,sanserif
%,a4paper
]{ptbposter}
\usepackage{ptbposter-tcb}
\usepackage[oldboxstyle]{ptbposter-tcb}
\phone{+49-30-3481-7316}
\fax{+49-30-3481-7503}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment