diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-15 16:13:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-15 16:13:15 +0000 |
commit | 66fc9af8970d061c6765f52746b778fbbe8b6d8b (patch) | |
tree | 5a8dec9e2c1ed697b8c961beb0a8e39656e51a3f /Master | |
parent | 2861b3228b908bb38cbf219261b0ad3d97787c57 (diff) |
tikzposter
git-svn-id: svn://tug.org/texlive/trunk@29942 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/tikzposter/tikzposter.pdf | bin | 253596 -> 249913 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/tikzposter/tikzposter.dtx | 12 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/tikzposter/tikzposter.cls | 12 |
3 files changed, 20 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/tikzposter/tikzposter.pdf b/Master/texmf-dist/doc/latex/tikzposter/tikzposter.pdf Binary files differindex e8d5fe341c7..e240001ef66 100644 --- a/Master/texmf-dist/doc/latex/tikzposter/tikzposter.pdf +++ b/Master/texmf-dist/doc/latex/tikzposter/tikzposter.pdf diff --git a/Master/texmf-dist/source/latex/tikzposter/tikzposter.dtx b/Master/texmf-dist/source/latex/tikzposter/tikzposter.dtx index ed3c6d7889f..ec0b40b1a92 100644 --- a/Master/texmf-dist/source/latex/tikzposter/tikzposter.dtx +++ b/Master/texmf-dist/source/latex/tikzposter/tikzposter.dtx @@ -1051,6 +1051,7 @@ Additionally, shapes for the different blocks can be altered by changing the sty \newdimen\TP@blockwidth \newif\ifTP@blockHasVariableWidth \newdimen\TP@blockbodyinnersep +\newbox\TP@blockbodybox \newbox\TP@blocktitlebox \newdimen\TP@blocktitleinnersep \newdimen\TP@blocktitleheight @@ -1142,7 +1143,7 @@ Additionally, shapes for the different blocks can be altered by changing the sty \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 @@ -1154,7 +1155,7 @@ Additionally, shapes for the different blocks can be altered by changing the sty } % 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] @@ -1397,6 +1398,13 @@ Additionally, shapes for the different blocks can be altered by changing the sty \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)% 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)% |