summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-05-08 22:44:24 +0000
committerKarl Berry <karl@freefriends.org>2014-05-08 22:44:24 +0000
commit1e84af656d85ead0ddce5b7b00f799f28bc11ab5 (patch)
treec66b3e248e8b924c83f82f1ab9b41e0e8c6f0e22 /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex
parentc5778aa8ea29b815c23121b64498d6ff17698765 (diff)
tcolorbox (8may14)
git-svn-id: svn://tug.org/texlive/trunk@33921 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex
index 88786d44a05..52a0694b74a 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex
@@ -139,7 +139,7 @@ Text \tcbox[tcbox raise base]{Hello World}\hfill
% Fitted width box (like hbox or makebox)
\tcbox{Hello\\World!}
-% Fitted width box (using a TikZ node)
+% Fitted width box (using a \tikzname\ node)
\tcbox[tikznode]{Hello\\World!}
\end{dispExample}
@@ -183,6 +183,8 @@ This is my own box with a mandatory title.
\begin{dispExample*}{sbs,lefthand ratio=0.6}
\newtcolorbox{mybox}[2][]{colback=red!5!white,
colframe=red!75!black,fonttitle=\bfseries,
+ colbacktitle=red!85!black,enhanced,
+attach boxed title to top center={yshift=-2mm},
title=#2,#1}
\begin{mybox}[colback=yellow]{Hello there}
@@ -249,11 +251,11 @@ numbered title and options.
\end{dispExample*}
\begin{dispExample}
-\newtcbox{\mybox}[1][red]{nobeforeafter,tcbox raise base,
+\newtcbox{\mybox}[1][red]{on line,
arc=0pt,outer arc=0pt,colback=#1!10!white,colframe=#1!50!black,
boxsep=0pt,left=1pt,right=1pt,top=2pt,bottom=2pt,
boxrule=0pt,bottomrule=1pt,toprule=1pt}
-\newtcbox{\xmybox}[1][red]{nobeforeafter,tcbox raise base,
+\newtcbox{\xmybox}[1][red]{on line,
arc=7pt,colback=#1!10!white,colframe=#1!50!black,
before upper={\rule[-3pt]{0pt}{10pt}},boxrule=1pt,
boxsep=0pt,left=6pt,right=6pt,top=2pt,bottom=2pt}