diff options
author | Karl Berry <karl@freefriends.org> | 2013-05-16 22:27:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-05-16 22:27:53 +0000 |
commit | f297f05f92068bd7f54e8ee25ce7b8b8a83c2353 (patch) | |
tree | c63d2d20618d3c3d815c71145639a971d297a618 /Master/texmf-dist/doc/latex | |
parent | b270fa2262972ce19c18ccd488b85e1f96f9a36d (diff) |
tcolorbox (16may13)
git-svn-id: svn://tug.org/texlive/trunk@30508 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/CHANGES | 396 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf | bin | 148406 -> 148418 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex | 32 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf | bin | 1938516 -> 1943237 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex | 10 |
9 files changed, 244 insertions, 206 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index 25247eec8f2..8cc95fb1e75 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES @@ -1,195 +1,201 @@ -%% The LaTeX package tcolorbox - version 2.21 (2013/04/23) -%% -%% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2013 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> -%% ------------------------------------------------------------------------------------------- -%% -%% This work may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3 -%% of this license or (at your option) any later version. -%% The latest version of this license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of LaTeX -%% version 2005/12/01 or later. -%% -%% This work has the LPPL maintenance status `author-maintained'. -%% -%% This work consists of all files listed in README -%% - -(2006-2011): pre publication usage - -version 1.00 (2011/12/08): initial public release - -version 1.01 (2012/01/26): -- dates amended to \RequirePackage(s) -- provision of the tcolorbox.tds.zip file for easier installation - -version 1.02 (2012/02/15) -- documentation language changed from German to English -- small correction of the theorem title line appearance - -version 1.10 (2012/03/01) -- tcblatex style for listings changed (nolol added) -- improved hyperref support -- new keys parskip and noparskip -- source code of the documentation added -- new library 'documentation' to support LaTeX documentations - with several library commands, environments and keys (see documentation) - -version 1.20 (2012/03/16) -- new geometry keys: - 'lefttitle', 'leftupper', 'leftlower', 'righttitle', 'rightupper', 'rightlower' - and implementation changed for 'left' and 'right' -- implementation for tcolorbox changed (adaption to height options) -- new fixed height option keys: - 'natural height', 'height', 'equal height group', 'minimum for equal height group', - 'space', 'space to upper', 'space to lower', 'space to both', 'split', - 'valign', 'valign lower', - 'adjusted title' -- new bounding box option keys: - 'enlarge top by', 'enlarge bottom by', 'enlarge left by', 'enlarge right by', - 'toggle enlargement' -- preparations for a future skin changing option implemented -- commands \brackets and \docAuxCommand added to the documentation library -- documentation rearranged - -version 1.30 (2012/04/20) -- several internal code changes to provide a 'skin' exchange mechanism -- new keys for the core package: - 'frame engine', 'interior titled engine', 'interior engine', 'segmentation engine' - 'skin', 'graphical environment', 'geometry nodes', 'colupper', 'collower' -- tcolorbox now defined as 'long' macro -- new keys for the library 'listings': - 'comment', 'listing and comment', 'comment and listing' -- new library 'skins' with the skins - 'standard', 'enhanced', 'freelance', 'bicolor', 'beamer', 'widget' -- keys for the library 'skins': - 'frame style', 'interior style', 'segmentation style' - 'frame code', 'interior titled code', 'interior code', 'segmentation code', - 'colbacklower' - -version 2.00 (2013/03/01) -- breaking news: the new library 'breakable' adds breaking support to tcolorbox. -- e-TeX now used instead of calc -- new key 'adjust text' and new implementation for 'adjusted title' -- new geometry keys: - 'toprule', 'toprule at break', 'bottomrule', 'bottomrule at break', - 'leftrule', 'rightrule', 'titlerule', 'outer arc', 'auto outer arc', - 'toptitle', 'bottomtitle' -- new bounding box keys: - 'enlarge top at break by', 'enlarge bottom at break by' -- new overlay keys: - 'overlay', 'no overlay', 'overlay broken', 'overlay unbroken', - 'overlay first', 'overlay middle', 'overlay last', - 'overlay unbroken and first', 'overlay middle and last' -- new key: 'parbox' to change text behaviour -- new library 'breakable' for breakable boxes with the new keys: - 'breakable', 'unbreakable', 'title after break', 'notitle after break', - 'adjusted title after break', 'lines before break', 'shrink break goal' -- new keys for the 'skins' library - 'skin first', 'skin middle', 'skin last', 'title engine', 'pathfirst', - 'pathmiddle', 'pathlast', 'title style', 'title code', 'enhancedfirst', - 'enhancedmiddle', 'enhancedlast', 'enhanced', 'marker', 'bicolor', - 'bicolorfirst', 'bicolormiddle', 'bicolorlast', 'beamer', - 'beamerfirst', 'beamermiddle', 'beamerlast', 'draft', 'freelance', 'standard' -- NOTE: skins 'beamer' and 'widget' changed - use the new style options 'beamer' and 'widget' to get the old appearance -- new watermark keys: - 'watermark text', 'watermark text on', 'watermark graphics', - 'watermark graphics on', 'watermark tikz', 'watermark tikz on', - 'no watermark', 'watermark opacity', 'watermark color', - 'watermark zoom', 'watermark stretch' - -version 2.01 (2013/03/07) -- bug fix: superfluous vertical space for a breakable box which appeared after a page break -- bug fix: height computation error when a broken boxed starts with a segmentation line -- new key for the 'listings' library: - 'listing inputencoding' -- new library 'listingsutf8' as variant of 'listings' with new key - 'listing utf8' -- keys 'toprule at break', 'bottomrule at break', - 'enlarge top at break by', 'enlarge bottom at break by' - moved from core package to 'breakable' library. -- new keys for the 'breakable' library: - 'topsep at break', 'bottomsep at break', 'pad before break', - 'pad after break', 'pad at break' - -version 2.02 (2013/03/13) -- minor bug fix: segmentation line of 'enhanced' now matches 'standard' -- new macro '\tcbox' to draw a colorbox fitted to the content width -- new key 'autoparskip' to detect usage of package parskip automatically -- new key 'nobeforeafter' -- new macro '\tcbline' in the 'skins' library to draw 'just lines' -- new key 'colbacktitle' for the 'skins' library - -version 2.10 (2013/04/09) -- bug fix: \tcbox ignored font settings -- outdated documentation in German removed from package -- new core package keys: - 'oversize', 'tcbox raise', 'tcbox raise base', - 'before title', 'after title', 'before upper', 'after upper', 'before lower', - 'after lower', 'center title', 'center upper', 'center lower', - 'tabularx*', 'tabularx', 'tikz upper', 'tikz lower', - 'shrink tight', 'extrude left by', 'extrude right by', 'extrude top by', - 'extrude bottom by', 'extrude by' -- the 'theorems' library now loads 'amsmath' -- new macros for the 'theorems' library: - '\tcboxmath', '\tcbhighmath' -- new keys for the 'theorems' library: - 'math upper', 'math lower', 'math', 'highlight math', 'highlight math style', - 'ams equation upper', 'ams equation lower', 'ams equation', 'ams equation* upper', - 'ams equation* lower', 'ams equation*', 'ams align upper', 'ams align lower', - 'ams align', 'ams align* upper', 'ams align* lower', 'ams align*', - 'ams gather upper', 'ams gather lower', 'ams gather', 'ams gather* upper', - 'ams gather* lower', 'ams gather*', - 'ams nodisplayskip upper', 'ams nodisplayskip lower', 'ams nodisplayskip' -- new library 'hooks' for hook options with the new keys: - 'before upper app', 'before upper pre', 'after upper app', 'after upper pre', - 'before lower app', 'before lower pre', 'after lower app', 'after lower pre', - 'before title app', 'before title pre', 'after title app', 'after title pre', - 'before app', 'before pre', 'after app', 'after pre', - 'overlay unbroken app', 'overlay unbroken pre', 'overlay first app', 'overlay first pre', - 'overlay middle app', 'overlay middle pre', 'overlay last app', 'overlay last pre', - 'overlay app', 'overlay pre', 'overlay broken app', 'overlay broken pre', - 'overlay unbroken and first app', 'overlay unbroken and first pre', - 'overlay middle and last app', 'overlay middle and last pre', - 'watermark tikz app', 'watermark tikz pre', 'watermark tikz app on', 'watermark tikz pre on', - 'watermark graphics app', 'watermark graphics pre', 'watermark graphics app on', 'watermark graphics pre on', - 'watermark text app', 'watermark text pre', 'watermark text app on', 'watermark text pre on', - 'frame code app', 'frame code pre', 'interior titled code app', 'interior titled code pre', - 'interior code app', 'interior code pre', 'segmentation code app', 'segmentation code pre', - 'title code app', 'title code pre' -- colorization of source code snippets in the documentation - -version 2.20 (2013/04/17) -- bug fix: problem with breaking boxes after headings -- new feature: support for boxes with side by side content -- new keys: - 'sidebyside', 'sidebyside align', 'sidebyside gap', - 'lefthand width', 'righthand width', 'lefthand ratio', 'righthand ratio' -- key 'nofloat' documented -- new keys for the 'listings' library: - 'listing side text', 'text side listing' - 'listing outside text', 'text outside listing' -- new keys for the 'skins' library: - 'frame hidden', 'interior hidden', 'segmentation hidden', 'title hidden' -- new environments for the 'documentation' library: - 'dispExample*', 'dispListing*' -- the default style for 'highlight math' is changed to have no title -- minor change of internal width computation -- minor internal fixes -- slight overhaul of the documentation - -version 2.21 (2013/04/23) -- bug fix: \tcbox and 'sidebyside' needed 'breakable' library -- bug fix: library 'tcbhooks' relied on etoolbox package -- bug fix: breaking boxes between upper part and box frame -- new macro '\newtcolorbox' -- new macro '\newtcblisting' for the 'listings' library -- new key 'code' -- documentation corrections and extensions - - - - +%% The LaTeX package tcolorbox - version 2.22 (2013/05/15)
+%%
+%% -------------------------------------------------------------------------------------------
+%% Copyright (c) 2006-2013 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
+%% -------------------------------------------------------------------------------------------
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `author-maintained'.
+%%
+%% This work consists of all files listed in README
+%%
+
+(2006-2011): pre publication usage
+
+version 1.00 (2011/12/08): initial public release
+
+version 1.01 (2012/01/26):
+- dates amended to \RequirePackage(s)
+- provision of the tcolorbox.tds.zip file for easier installation
+
+version 1.02 (2012/02/15)
+- documentation language changed from German to English
+- small correction of the theorem title line appearance
+
+version 1.10 (2012/03/01)
+- tcblatex style for listings changed (nolol added)
+- improved hyperref support
+- new keys parskip and noparskip
+- source code of the documentation added
+- new library 'documentation' to support LaTeX documentations
+ with several library commands, environments and keys (see documentation)
+
+version 1.20 (2012/03/16)
+- new geometry keys:
+ 'lefttitle', 'leftupper', 'leftlower', 'righttitle', 'rightupper', 'rightlower'
+ and implementation changed for 'left' and 'right'
+- implementation for tcolorbox changed (adaption to height options)
+- new fixed height option keys:
+ 'natural height', 'height', 'equal height group', 'minimum for equal height group',
+ 'space', 'space to upper', 'space to lower', 'space to both', 'split',
+ 'valign', 'valign lower',
+ 'adjusted title'
+- new bounding box option keys:
+ 'enlarge top by', 'enlarge bottom by', 'enlarge left by', 'enlarge right by',
+ 'toggle enlargement'
+- preparations for a future skin changing option implemented
+- commands \brackets and \docAuxCommand added to the documentation library
+- documentation rearranged
+
+version 1.30 (2012/04/20)
+- several internal code changes to provide a 'skin' exchange mechanism
+- new keys for the core package:
+ 'frame engine', 'interior titled engine', 'interior engine', 'segmentation engine'
+ 'skin', 'graphical environment', 'geometry nodes', 'colupper', 'collower'
+- tcolorbox now defined as 'long' macro
+- new keys for the library 'listings':
+ 'comment', 'listing and comment', 'comment and listing'
+- new library 'skins' with the skins
+ 'standard', 'enhanced', 'freelance', 'bicolor', 'beamer', 'widget'
+- keys for the library 'skins':
+ 'frame style', 'interior style', 'segmentation style'
+ 'frame code', 'interior titled code', 'interior code', 'segmentation code',
+ 'colbacklower'
+
+version 2.00 (2013/03/01)
+- breaking news: the new library 'breakable' adds breaking support to tcolorbox.
+- e-TeX now used instead of calc
+- new key 'adjust text' and new implementation for 'adjusted title'
+- new geometry keys:
+ 'toprule', 'toprule at break', 'bottomrule', 'bottomrule at break',
+ 'leftrule', 'rightrule', 'titlerule', 'outer arc', 'auto outer arc',
+ 'toptitle', 'bottomtitle'
+- new bounding box keys:
+ 'enlarge top at break by', 'enlarge bottom at break by'
+- new overlay keys:
+ 'overlay', 'no overlay', 'overlay broken', 'overlay unbroken',
+ 'overlay first', 'overlay middle', 'overlay last',
+ 'overlay unbroken and first', 'overlay middle and last'
+- new key: 'parbox' to change text behaviour
+- new library 'breakable' for breakable boxes with the new keys:
+ 'breakable', 'unbreakable', 'title after break', 'notitle after break',
+ 'adjusted title after break', 'lines before break', 'shrink break goal'
+- new keys for the 'skins' library
+ 'skin first', 'skin middle', 'skin last', 'title engine', 'pathfirst',
+ 'pathmiddle', 'pathlast', 'title style', 'title code', 'enhancedfirst',
+ 'enhancedmiddle', 'enhancedlast', 'enhanced', 'marker', 'bicolor',
+ 'bicolorfirst', 'bicolormiddle', 'bicolorlast', 'beamer',
+ 'beamerfirst', 'beamermiddle', 'beamerlast', 'draft', 'freelance', 'standard'
+- NOTE: skins 'beamer' and 'widget' changed
+ use the new style options 'beamer' and 'widget' to get the old appearance
+- new watermark keys:
+ 'watermark text', 'watermark text on', 'watermark graphics',
+ 'watermark graphics on', 'watermark tikz', 'watermark tikz on',
+ 'no watermark', 'watermark opacity', 'watermark color',
+ 'watermark zoom', 'watermark stretch'
+
+version 2.01 (2013/03/07)
+- bug fix: superfluous vertical space for a breakable box which appeared after a page break
+- bug fix: height computation error when a broken boxed starts with a segmentation line
+- new key for the 'listings' library:
+ 'listing inputencoding'
+- new library 'listingsutf8' as variant of 'listings' with new key
+ 'listing utf8'
+- keys 'toprule at break', 'bottomrule at break',
+ 'enlarge top at break by', 'enlarge bottom at break by'
+ moved from core package to 'breakable' library.
+- new keys for the 'breakable' library:
+ 'topsep at break', 'bottomsep at break', 'pad before break',
+ 'pad after break', 'pad at break'
+
+version 2.02 (2013/03/13)
+- minor bug fix: segmentation line of 'enhanced' now matches 'standard'
+- new macro '\tcbox' to draw a colorbox fitted to the content width
+- new key 'autoparskip' to detect usage of package parskip automatically
+- new key 'nobeforeafter'
+- new macro '\tcbline' in the 'skins' library to draw 'just lines'
+- new key 'colbacktitle' for the 'skins' library
+
+version 2.10 (2013/04/09)
+- bug fix: \tcbox ignored font settings
+- outdated documentation in German removed from package
+- new core package keys:
+ 'oversize', 'tcbox raise', 'tcbox raise base',
+ 'before title', 'after title', 'before upper', 'after upper', 'before lower',
+ 'after lower', 'center title', 'center upper', 'center lower',
+ 'tabularx*', 'tabularx', 'tikz upper', 'tikz lower',
+ 'shrink tight', 'extrude left by', 'extrude right by', 'extrude top by',
+ 'extrude bottom by', 'extrude by'
+- the 'theorems' library now loads 'amsmath'
+- new macros for the 'theorems' library:
+ '\tcboxmath', '\tcbhighmath'
+- new keys for the 'theorems' library:
+ 'math upper', 'math lower', 'math', 'highlight math', 'highlight math style',
+ 'ams equation upper', 'ams equation lower', 'ams equation', 'ams equation* upper',
+ 'ams equation* lower', 'ams equation*', 'ams align upper', 'ams align lower',
+ 'ams align', 'ams align* upper', 'ams align* lower', 'ams align*',
+ 'ams gather upper', 'ams gather lower', 'ams gather', 'ams gather* upper',
+ 'ams gather* lower', 'ams gather*',
+ 'ams nodisplayskip upper', 'ams nodisplayskip lower', 'ams nodisplayskip'
+- new library 'hooks' for hook options with the new keys:
+ 'before upper app', 'before upper pre', 'after upper app', 'after upper pre',
+ 'before lower app', 'before lower pre', 'after lower app', 'after lower pre',
+ 'before title app', 'before title pre', 'after title app', 'after title pre',
+ 'before app', 'before pre', 'after app', 'after pre',
+ 'overlay unbroken app', 'overlay unbroken pre', 'overlay first app', 'overlay first pre',
+ 'overlay middle app', 'overlay middle pre', 'overlay last app', 'overlay last pre',
+ 'overlay app', 'overlay pre', 'overlay broken app', 'overlay broken pre',
+ 'overlay unbroken and first app', 'overlay unbroken and first pre',
+ 'overlay middle and last app', 'overlay middle and last pre',
+ 'watermark tikz app', 'watermark tikz pre', 'watermark tikz app on', 'watermark tikz pre on',
+ 'watermark graphics app', 'watermark graphics pre', 'watermark graphics app on', 'watermark graphics pre on',
+ 'watermark text app', 'watermark text pre', 'watermark text app on', 'watermark text pre on',
+ 'frame code app', 'frame code pre', 'interior titled code app', 'interior titled code pre',
+ 'interior code app', 'interior code pre', 'segmentation code app', 'segmentation code pre',
+ 'title code app', 'title code pre'
+- colorization of source code snippets in the documentation
+
+version 2.20 (2013/04/17)
+- bug fix: problem with breaking boxes after headings
+- new feature: support for boxes with side by side content
+- new keys:
+ 'sidebyside', 'sidebyside align', 'sidebyside gap',
+ 'lefthand width', 'righthand width', 'lefthand ratio', 'righthand ratio'
+- key 'nofloat' documented
+- new keys for the 'listings' library:
+ 'listing side text', 'text side listing'
+ 'listing outside text', 'text outside listing'
+- new keys for the 'skins' library:
+ 'frame hidden', 'interior hidden', 'segmentation hidden', 'title hidden'
+- new environments for the 'documentation' library:
+ 'dispExample*', 'dispListing*'
+- the default style for 'highlight math' is changed to have no title
+- minor change of internal width computation
+- minor internal fixes
+- slight overhaul of the documentation
+
+version 2.21 (2013/04/23)
+- bug fix: \tcbox and 'sidebyside' needed 'breakable' library
+- bug fix: library 'tcbhooks' relied on etoolbox package
+- bug fix: breaking boxes between upper part and box frame
+- new macro '\newtcolorbox'
+- new macro '\newtcblisting' for the 'listings' library
+- new key 'code'
+- documentation corrections and extensions
+
+version 2.22 (2013/05/15)
+- bug fix: text color bleeded out of the box in some cases
+- bug fix: breakable boxes were too large in some cases (leading to blank pages)
+- bug fix: breaking boxes produced empty boxes in some cases
+- documentation forgot naming package 'colortbl' for the 'tabularx' option
+- new feature: breakable boxes allow footnotes now (like minipages)
+- new macro '\newtcbox'
+
+
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 8696eff79d8..0533f9b9f06 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/README +++ b/Master/texmf-dist/doc/latex/tcolorbox/README @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 2.21 (2013/04/23) +%% The LaTeX package tcolorbox - version 2.22 (2013/05/15) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2013 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf Binary files differindex 11848764a4d..90967cf8fd0 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index 59d493ff090..6c84a9b1b61 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 2.21 (2013/04/23) +%% The LaTeX package tcolorbox - version 2.22 (2013/05/15) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex index e959499b45f..e42aead27dc 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.breakable.tex @@ -86,9 +86,6 @@ parameters. The differences are: \item The box content is a \TeX\ |\vbox| register which has a restricted capacity. Therefore, you cannot place hundreds of pages inside a |tcolorbox|. -\item Footnotes can be used inside an \refKey{/tcb/unbreakable} box - but not inside a \refKey{/tcb/breakable} box, even if it is not broken - actually. Other different behaviors may and will be effective. \item You can nest an unbreakable |tcolorbox| inside another |tcolorbox|, even inside a breakable one. But you should not nest a breakable box inside a breakable box since this will give a mess. Inside a breakable box, 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 bf52c71934b..11dca2965f4 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coremacros.tex @@ -141,3 +141,35 @@ and options. \end{docCommand} + +\begin{docCommand}{newtcbox}{\marg{\texttt{\textbackslash}name}\oarg{number}\oarg{default}\marg{options}} + Creates a new macro \meta{\texttt{\textbackslash}name} based on \refCom{tcbox}. + Basically, |\newtcbox| operates like |\newcommand|. + The new macro \meta{\texttt{\textbackslash}name} optionally takes \meta{number}$+1$ arguments, where + \meta{default} is the default value for the optional first argument. + The \meta{options} are given to the underlying |tcbox|. +\begin{dispExample*}{sbs,lefthand ratio=0.6} +\newtcbox{\mybox}{colback=red!5!white, + colframe=red!75!black} + +\mybox{This is my own box.} +\end{dispExample*} + +\begin{dispExample*}{sbs,lefthand ratio=0.6} +\newtcbox{\mybox}[1]{colback=red!5!white, + colframe=red!75!black,fonttitle=\bfseries, + title=#1} + +\mybox{Hello there}{This is my own box.} +\end{dispExample*} + +\begin{dispExample*}{sbs,lefthand ratio=0.6} +\newtcbox{\mybox}[2][]{colback=red!5!white, + colframe=red!75!black,fonttitle=\bfseries, + title=#2,#1} + +\mybox[colback=yellow]{Hello there}% + {This is my own box.} +\end{dispExample*} +\end{docCommand} + diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex index 867e9890745..cf5c9669d37 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.coreoptions.tex @@ -951,9 +951,11 @@ This is the lower part. This style sets \refKey{/tcb/before upper} and \refKey{/tcb/after upper} and several geometry keys to support a |tabularx| with the given \meta{preamble}. - The package |tabularx| \cite {carlisle:1999a} has to be loaded separately. + The packages |tabularx| \cite {carlisle:1999a}, |array|, and |colortbl| + have to be loaded separately. \begin{dispExample} % \usepackage{array,tabularx} +% \usepackage{colortbl} - or - \usepackage[table]{xcolor} \newcolumntype{Y}{>{\raggedleft\arraybackslash}X}% see tabularx \tcbset{enhanced,fonttitle=\bfseries\large,fontupper=\normalsize\sffamily, colback=yellow!10!white,colframe=red!50!black,colbacktitle=Salmon!30!white, @@ -975,6 +977,7 @@ Sum & 6000.00 & 9000.00 & 12000.00 & 15000.00 & 42000.00 before the table starts. \begin{dispExample} % \usepackage{array,tabularx} +% \usepackage{colortbl} - or - \usepackage[table]{xcolor} \tcbset{enhanced,fonttitle=\bfseries\large,fontupper=\normalsize\sffamily, colback=yellow!10!white,colframe=red!50!black,colbacktitle=Salmon!30!white, coltitle=black,center title} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf Binary files differindex 7685c8f8a7f..08269fd3609 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex index c3ab1f3b3bc..2dc6d526ec6 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex @@ -1,5 +1,5 @@ % \LaTeX-Main\ -%% The LaTeX package tcolorbox - version 2.21 (2013/04/23) +%% The LaTeX package tcolorbox - version 2.22 (2013/05/15) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -82,8 +82,8 @@ pdfkeywords={colored boxes, LaTeX examples, theorems} } -\def\version{2.21}% -\def\datum{2013/04/23}% +\def\version{2.22}% +\def\datum{2013/05/15}% \makeindex @@ -104,7 +104,7 @@ classoffset=1, % tcolorbox macros moretexcs={% core - endtcolorbox,endtcbverbatimwrite,newtcolorbox,tcbusetemp, + endtcolorbox,endtcbverbatimwrite,newtcolorbox,newtcbox,tcbusetemp, tcblower,tcbox,tcbset,tcbuselibrary,tcolorbox,tcbverbatimwrite, % listings endtcblisting,newtcblisting, @@ -211,7 +211,7 @@ docexample original/.style={colframe=ExampleFrame,colback=ExampleBack,fontlower=\footnotesize,frame style={}}, } -%\includeonly{tcolorbox.doc.skins} +%\includeonly{tcolorbox.doc.coremacros,tcolorbox.doc.theorems} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} |