diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikzposter')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikzposter/tikzposter.cls | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzposter/tikzposter.cls b/Master/texmf-dist/tex/latex/tikzposter/tikzposter.cls index 8fa0780fe31..7afa852d06a 100644 --- a/Master/texmf-dist/tex/latex/tikzposter/tikzposter.cls +++ b/Master/texmf-dist/tex/latex/tikzposter/tikzposter.cls @@ -67,6 +67,7 @@ \newdimen\TP@blockwidth \newif\ifTP@blockHasVariableWidth \newdimen\TP@blockbodyinnersep +\newbox\TP@blockbodybox \newbox\TP@blocktitlebox \newdimen\TP@blocktitleinnersep \newdimen\TP@blocktitleheight @@ -156,7 +157,7 @@ \setlength{\TP@visibletextheight}{\textheight-2\TP@innermargin} % Color themes -\input{./tikzposter-colorthemes} +\input{tikzposter-colorthemes} \gdef\usecolortheme#1{ \ifcsname TP@colortheme#1\endcsname \csname TP@colortheme#1\endcsname % call macro @@ -168,7 +169,7 @@ } % TikZ layout styles -\input{./tikzposter-layoutstyles} +\input{tikzposter-layoutstyles} \tikzstyle{TP@tikzstylebackground} = [inner sep=0pt, line width=0pt, color=framecolor, shading=axis, top color=backgroundcolortop, bottom color=backgroundcolorbottom, middle color=backgroundcolormiddle] @@ -409,6 +410,13 @@ \addtolength{\TP@blocktitleheight}{2\TP@blocktitleinnersep} } % Block body + \setbox\TP@blockbodybox=\hbox{ + \begin{pgfinterruptpicture} + \begin{minipage}{\TP@blockwidth} +\large \color{blockbodyfgcolor}#3 +\end{minipage} +\end{pgfinterruptpicture} +} \node[TP@tikzstyleblockbody, text width=\TP@blockwidth, inner sep=\TP@blockbodyinnersep, anchor=north, color=framecolor, fill=blockbodybgcolor] (block) at (\TP@blockcenter, \TP@blocktop-0.5\TP@blocktitleheight)% |