diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-22 21:45:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-22 21:45:00 +0000 |
commit | 6a779f2a3a5171811c5a3b6ed99f3d0affb1d371 (patch) | |
tree | ca178d050324ed66596568cd3cd7317b4e596a0b /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex | |
parent | 8624488b93f876d19c3d548c32b4ab773ca07897 (diff) |
tcolorbox (22mar18)
git-svn-id: svn://tug.org/texlive/trunk@47079 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex index 37c3c7b9b0b..22c5023c056 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.listings.tex @@ -691,20 +691,26 @@ This is a \LaTeX\ example. \clearpage -\begin{docTcbKey}{listing side text}{}{no value} +\begin{docTcbKey}{listing side text}{}{style, no value} Typesets the environment content side by side as listing in the left (upper) part and as compiled text in the right (lower) part. +This is a shortcut for setting \refKey{/tcb/listing and text} and \refKey{/tcb/sidebyside}. \begin{dispExample} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,listing side text} This is a \LaTeX\ example. \end{tcblisting} \end{dispExample} +\begin{marker} +Note that |sidebyside=false| has to be added, if the setting of +\refKey{/tcb/listing side text} is to be annihilated. +\end{marker} \end{docTcbKey} -\begin{docTcbKey}{text side listing}{}{no value} +\begin{docTcbKey}{text side listing}{}{style, no value} Typesets the environment content side by side as compiled text in the left (upper) part and as listing in the right (lower) part. +This is a shortcut for setting \refKey{/tcb/text and listing} and \refKey{/tcb/sidebyside}. \begin{dispExample} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,text side listing} This is a \LaTeX\ example. @@ -744,9 +750,10 @@ This is a \LaTeX\ example. \clearpage -\begin{docTcbKey}{listing side comment}{}{no value} +\begin{docTcbKey}{listing side comment}{}{style, no value} Typesets the environment content side by side as listing in the left (upper) part and a given comment in the right (lower) part. +This is a shortcut for setting \refKey{/tcb/listing and comment} and \refKey{/tcb/sidebyside}. \begin{dispExample} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,listing side comment, righthand width=1.5cm,image comment={width=1.5cm}{example-image-a.pdf}} @@ -756,9 +763,10 @@ This is a \LaTeX\ example. \end{docTcbKey} -\begin{docTcbKey}{comment side listing}{}{no value} +\begin{docTcbKey}{comment side listing}{}{style, no value} Typesets the environment content side by side with a given comment in the left (upper) part and as listing in the right (lower) part. +This is a shortcut for setting \refKey{/tcb/comment and listing} and \refKey{/tcb/sidebyside}. \begin{dispExample} \begin{tcblisting}{colback=red!5!white,colframe=red!75!black,comment side listing, lefthand width=1.5cm,image comment={width=1.5cm}{example-image-a.pdf}} |