diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-17 23:17:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-17 23:17:32 +0000 |
commit | 0c5f06400403c02946d916560fc5cea65e1abe4b (patch) | |
tree | 97a362e2e8566cd3ff4c84970d383ab4db17d2c9 /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex | |
parent | 349bac64b70fa1b4e88f05d28d2373e43e601c6a (diff) |
tcolorbox (17apr13)
git-svn-id: svn://tug.org/texlive/trunk@30004 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex | 38 |
1 files changed, 34 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex index b6a9405acb0..456556d55d3 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.documentation.tex @@ -137,14 +137,32 @@ This is an optional \oarg{argument}. The appearance is controlled by \refKey{/tcb/documentation listing style} and the style \refKey{/tcb/docexample}. It may be changed by redefining this style. +{ +%\tcbset{before lower app={\tcbset{docexample/.style={docexample original}}}} +%\tcbset{docexample/.style={docexample original}}% \begin{xdispExample} \begin{dispExample} This is a \LaTeX\ example. \end{dispExample} \end{xdispExample} +} \end{docEnvironment}} +{\let\xdispExample\dispExample + \let\endxdispExample\enddispExample +\begin{docEnvironment}{dispExample*}{\marg{options}} + The starred version of \refEnv{dispExample} takes \refEnv{tcolorbox} \meta{options} + as parameter. These \meta{options} are executed after \refKey{/tcb/docexample}. +\begin{xdispExample} +\begin{dispExample*}{sidebyside} +This is a \LaTeX\ example. +\end{dispExample*} +\end{xdispExample} +\end{docEnvironment}} + + +\clearpage \begin{docEnvironment}{dispListing}{} Creates a colored box based on a \refEnv{tcolorbox}. It displays the environment content as source code. @@ -158,7 +176,17 @@ This is a \LaTeX\ example. \end{dispExample} \end{docEnvironment} -\clearpage +\begin{docEnvironment}{dispListing*}{\marg{options}} + The starred version of \refEnv{dispListing} takes \refEnv{tcolorbox} \meta{options} + as parameter. These \meta{options} are executed after \refKey{/tcb/docexample}. +\begin{dispExample} +\begin{dispListing*}{title=My listing} +This is a \LaTeX\ example. +\end{dispListing*} +\end{dispExample} +\end{docEnvironment} + + \begin{docEnvironment}{absquote}{} Used to typeset an abstract as quoted and small text. \begin{dispExample} @@ -169,6 +197,7 @@ heading line. Optionally, such a box can be split in an upper and a lower part. \end{dispExample} \end{docEnvironment} +\clearpage \begin{docCommand}{tcbmakedocSubKey}{\marg{name}\marg{key path}} Creates a new environment \meta{name} based on \refEnv{docKey} for the documentation of keys with the given \meta{key path} as default. @@ -206,7 +235,7 @@ We have created \refKey{/foo/footitle} as an example. \end{dispExample} \end{docCommand} -\clearpage +% \begin{docCommand}{colDef}{\marg{text}} Sets \meta{text} with the definition color, see \refKey{/tcb/color definition}. \begin{dispExample} @@ -222,12 +251,13 @@ This is my \colOpt{text}. \end{docCommand} +\clearpage \subsection{Option Keys of the Library} \begin{docTcbKey}{docexample}{}{style, no value} Sets the style for \refEnv{dispExample} and \refEnv{dispListing} with the colors |ExampleBack| and |ExampleFrame|. - To change the appearance of the examples, this style could be + To change the appearance of the examples, this style can be redefined. \end{docTcbKey} @@ -279,7 +309,6 @@ This is my \colOpt{text}. \refKey{/tcb/index level}. \end{docTcbKey} -\clearpage \begin{docTcbKey}{index german settings}{}{style, no value} Sets the |makeindex| values recommended for German language texts. This is identical to setting the following: @@ -288,6 +317,7 @@ This is my \colOpt{text}. \end{dispListing} \end{docTcbKey} +\clearpage The following keys are provided for language specific settings. The English language is predefined. |