diff options
author | Karl Berry <karl@freefriends.org> | 2014-12-02 00:56:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-12-02 00:56:05 +0000 |
commit | 319dc68037a4323d7fb02f72d3ed74a9a698fac7 (patch) | |
tree | 9e0b1bf7a547ad5e45279bfb4bb507ca54dd5b6c /Master/texmf-dist/doc | |
parent | ab4c97bb1913e7167819b3e3c2688a0e5200f011 (diff) |
tcolorbox (1dec14)
git-svn-id: svn://tug.org/texlive/trunk@35713 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/CHANGES | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.pdf | bin | 361359 -> 361359 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.initoptions.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf | bin | 5189526 -> 5191152 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.tex | 20 |
9 files changed, 29 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES index f1e300a7db2..dd351303a03 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/CHANGES +++ b/Master/texmf-dist/doc/latex/tcolorbox/CHANGES @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 3.31 (2014/11/28) +%% The LaTeX package tcolorbox - version 3.32 (2014/12/01) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> @@ -682,3 +682,6 @@ version 3.31 (2014/11/28) - new library 'raster': * tcbraster safeguarded against restricted horizontal mode * new option: 'raster every box' + +version 3.32 (2014/12/01) +- bug fix for 'crefname' and 'Crefname' options (cleveref support) diff --git a/Master/texmf-dist/doc/latex/tcolorbox/README b/Master/texmf-dist/doc/latex/tcolorbox/README index 8518a74fcab..7cb6295d8fa 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 3.31 (2014/11/28) +%% The LaTeX package tcolorbox - version 3.32 (2014/12/01) %% %% ------------------------------------------------------------------------------------------- %% Copyright (c) 2006-2014 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 4fc0a744cb3..a15f730c1a0 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 23909f20912..1ba3b4240f8 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 3.31 (2014/11/28) +%% The LaTeX package tcolorbox - version 3.32 (2014/12/01) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex index ab92c631692..57500d9ffbf 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.initoptions.tex @@ -157,27 +157,29 @@ The following options \refKey{/tcb/new/crefname} and \refKey{/tcb/new/Crefname} need to be set inside the preamble. \end{marker} -\begin{newTcbKey}{crefname}{=\marg{singular}\marg{plural}}{no default, initially unset} +\begin{newTcbKey}[][doc updated=2014-12-01]{crefname}{=\marg{singular}\marg{plural}}{no default, initially unset} This option key can be used only in conjunction with the |cleveref| package \cite{cubitt:2013a} which has to be loaded separately. It creates a cross-reference type for the new |tcolorbox|'es, where the lowercase \meta{singular} and \meta{plural} forms of the cross-reference are given. + This type is the environment or macro name and \refKey{/tcb/label type} is set automatically. See \refKey{/tcb/label type} and \cite{cubitt:2013a} for more information. \end{newTcbKey} -\begin{newTcbKey}{Crefname}{=\marg{singular}\marg{plural}}{no default, initially unset} +\begin{newTcbKey}[][doc updated=2014-12-01]{Crefname}{=\marg{singular}\marg{plural}}{no default, initially unset} This option key can be used only in conjunction with the |cleveref| package \cite{cubitt:2013a} which has to be loaded separately. It creates a cross-reference type for the new |tcolorbox|'es, where the uppercase \meta{singular} and \meta{plural} forms of the cross-reference are given. + This type is the environment or macro name and \refKey{/tcb/label type} is set automatically. See \refKey{/tcb/label type} and \cite{cubitt:2013a} for more information. \end{newTcbKey} \inputpreamblelisting{I} \begin{dispExample} -% \usepackage{cleveref} % \usepackage{varioref} +% \usepackage{cleveref} \begin{mybluebox}[label={myreference}]{My title} This is an example. \end{mybluebox} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex index e088dd6e3ed..4e70982b8e0 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex @@ -3991,7 +3991,7 @@ Nevertheless, this skin can be applied independently. \end{dispExample} \clearpage -\begin{dispListing*}{breakable,label=freeboxexample,before upper={This example demonstrates +\begin{dispListing*}{breakable,phantomlabel=freeboxexample,before upper={This example demonstrates a breakable customized box. Here, we define an environment |freebox|. The first application of |freebox| produces an unbroken |tcolorbox|. The box is drawn by the code given by \refKey{/tcb/frame code} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex index 70e50d01d15..fea19ffacb3 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.theorems.tex @@ -768,6 +768,8 @@ identically colored. All following environments are numbered with a common counter, but this can be changed easily. Here, the counter output is supplemented by the subsection number. +Further, the |cleveref| package \cite{cubitt:2013a} is used for clever +references. \inputpreamblelisting{G} @@ -777,7 +779,7 @@ created now. |defstyle| and |theostyle| are used for the appearance. Now, everything is prepared for the following examples. \begin{dispExample} -The following theorem is numbered as Theorem \ref{theo:diffbarstetig} and +The following theorem is numbered as \Cref{theo:diffbarstetig} and referenced with the marker \texttt{theo:diffbarstetig}.\bigskip \begin{Theorem}{Differenzierbarkeit bedingt Stetigkeit, wobei diese Benennung @@ -789,7 +791,7 @@ referenced with the marker \texttt{theo:diffbarstetig}.\bigskip \begin{dispExample} -The following definition is numbered as Definition \ref{def:diffbarkeit} and +The following definition is numbered as \Cref{def:diffbarkeit} and referenced with the marker \texttt{def:diffbarkeit}.\bigskip \begin{Definition}{Differenzierbarkeit}{diffbarkeit} @@ -811,7 +813,7 @@ referenced with the marker \texttt{def:diffbarkeit}.\bigskip \begin{dispExample} -The following corollary is numbered as Corollary \ref{cor:nullstellen} and +The following corollary is numbered as \Cref{cor:nullstellen} and referenced with the marker \texttt{cor:nullstellen}.\bigskip \begin{Corollary}{Nullstellenexistenz}{nullstellen} diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.pdf Binary files differindex d7f8629d926..719927ac027 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 402233df465..f8e5ae390ec 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 3.31 (2014/11/28) +%% The LaTeX package tcolorbox - version 3.32 (2014/12/01) %% tcolorbox.tex: Manual %% %% ------------------------------------------------------------------------------------------- @@ -106,8 +106,8 @@ \renewcommand*{\tcbdocnew}[1]{\textcolor{green!50!black}{\sffamily\bfseries N} #1} \renewcommand*{\tcbdocupdated}[1]{\textcolor{blue!75!black}{\sffamily\bfseries U} #1} -\def\version{3.31}% -\def\datum{2014/11/28}% +\def\version{3.32}% +\def\datum{2014/12/01}% \makeindex \hypersetup{ @@ -271,15 +271,19 @@ \begin{tcbverbatimwrite}{\jobname_preamble_G.tex} +% \usepackage{cleveref} \tcbset{ defstyle/.style={fonttitle=\bfseries\upshape, fontupper=\slshape, arc=0mm, colback=blue!5!white,colframe=blue!75!black}, theostyle/.style={fonttitle=\bfseries\upshape, fontupper=\slshape, colback=red!10!white,colframe=red!75!black}, } -\newtcbtheorem[number within=subsection]{Definition}{Definition}{defstyle}{def} -\newtcbtheorem[use counter from=Definition]{Theorem}{Theorem}{theostyle}{theo} -\newtcbtheorem[use counter from=Definition]{Corollary}{Corollary}{theostyle}{cor} +\newtcbtheorem[number within=subsection,crefname={definition}{definitions}]% + {Definition}{Definition}{defstyle}{def} +\newtcbtheorem[use counter from=Definition,crefname={theorem}{theorems}]% + {Theorem}{Theorem}{theostyle}{theo} +\newtcbtheorem[use counter from=Definition,crefname={corollary}{corollaries}]% + {Corollary}{Corollary}{theostyle}{cor} \end{tcbverbatimwrite} \input{\jobname_preamble_G.tex} @@ -297,7 +301,7 @@ \begin{tcbverbatimwrite}{\jobname_preamble_I.tex} % \usepackage{cleveref} \newtcolorbox[auto counter,number within=section, - Crefname={Bluebox}{Blueboxes},crefname={bluebox}{blueboxes}]% + crefname={bluebox}{blueboxes}]% {mybluebox}[2][]{colback=blue!5!white,colframe=blue!75!black,fonttitle=\bfseries, title=Bluebox \thetcbcounter: #2,#1} \end{tcbverbatimwrite} @@ -372,7 +376,7 @@ %\tcbset{draftmode} -%\includeonly{tcolorbox.doc.listings} +%\includeonly{tcolorbox.doc.theorems} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} |