diff options
author | Karl Berry <karl@freefriends.org> | 2014-03-31 22:28:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-03-31 22:28:56 +0000 |
commit | 0b84dfe8877345df35ceb87ec739c298dcc72b92 (patch) | |
tree | 5249c2f500210cb8b8d27fbc6fb594a91b5545e7 /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.picturecredits.tex | |
parent | c17623666aa19d3dda7d2ba547d2a877df300d76 (diff) |
tcolorbox (31mar14)
git-svn-id: svn://tug.org/texlive/trunk@33340 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.picturecredits.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.picturecredits.tex | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.picturecredits.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.picturecredits.tex index c39429d7d54..5b7d1513bd7 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.picturecredits.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.picturecredits.tex @@ -8,14 +8,13 @@ The following pictures were used inside this documentation. \def\parorfillpar{\par\global\let\parorfill\parorfillfill} \let\parorfill\parorfillfill -\newcommand{\diabox}[3][]{% - \begin{tcolorbox}[bicolor,before=,after=\parorfill,equal height group=diabox,width=7.9cm, - fonttitle=\bfseries\ttfamily,adjusted title=\detokenize{#2},center title, - colframe=blue!20!black,leftupper=0mm,rightupper=0mm,colback=black!75!white,#1] - \tikz\path[fill zoom image={#2}] (0,0) rectangle (\linewidth,4cm);% - \tcblower% - #3% - \end{tcolorbox}} +\DeclareTotalTColorBox{\diabox}{ O{} v m } + { bicolor,before=,after=\parorfill,equal height group=diabox,width=7.9cm, + fonttitle=\bfseries\ttfamily,adjusted title={#2},center title, + colframe=blue!20!black,leftupper=0mm,rightupper=0mm,colback=black!75!white,#1} + { \tikz\path[fill zoom image={#2}] (0,0) rectangle (\linewidth,4cm);% + \tcblower#3} + \diabox[before=]{Basilica_5.png}{ \url{http://commons.wikimedia.org/wiki/File:Basilica_5.png}} |