summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-06-25 15:10:50 +0000
committerKarl Berry <karl@freefriends.org>2014-06-25 15:10:50 +0000
commit386b0766bf3d980ab3b41391fb0ee0171982bd39 (patch)
treebe6394ec01460473a07ce0d9c7271deeeafd626e /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
parentd72acecbf64392fff4f249d23e2475245fa8d395 (diff)
tcolorbox (28may14)
git-svn-id: svn://tug.org/texlive/trunk@34406 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex85
1 files changed, 84 insertions, 1 deletions
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 ac7c378897b..c7830b43597 100644
--- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
+++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.skins.tex
@@ -1399,7 +1399,7 @@ This is a tcolorbox.
\clearpage
\begin{docTcbKey}{fuzzy shadow}{=\marg{xshift}\marg{yshift}\marg{offset}\marg{step}\marg{options}}{no default}
Adds a new fuzzy shadow to the stack of shadows. Actually, this option
- adds seversal shadows which appear like a shadow with a fuzzy border.
+ adds several shadows which appear like a shadow with a fuzzy border.
This fuzzy shadow is follows the outline of the |tcolorbox| but is shifted by
\meta{xshift} and \meta{yshift}. The \meta{offset} value is a distance value
from the frame outline. A positive \meta{offset} value shrinks the shadow
@@ -1755,6 +1755,89 @@ equivalent to the preceding examples.
\clearpage
+\begin{docTcbKey}{lifted shadow}{=\marg{xshift}\marg{yshift}\marg{bend}\marg{step}\marg{options}}{no default}
+ Adds a new lifted shadow to the stack of shadows. Actually, this option
+ adds several shadows which appear like a shadow with a fuzzy border.
+ This lifted shadow is follows the outline of the |tcolorbox| but is shifted by
+ \meta{xshift} and \meta{yshift} on the lower left corner and by
+ $-$\meta{xshift} and \meta{yshift} on the lower right corner.
+ Additionally, there is a \meta{bend} in the middle.
+ The \marg{step} value describes a shrink
+ offset used for the combination of the partial shadows.
+ The shadow is filled along a \tikzname\ path with the given \tikzname\ \meta{options} but
+ any |opacity| value will be ignored.
+\begin{dispExample*}{sbs,lefthand ratio=0.6}
+\tcbset{enhanced,colback=red!5!white,
+ boxrule=0.1pt,
+ colframe=red!75!black,fonttitle=\bfseries}
+
+\begin{tcolorbox}[title=My own shadow,
+ lifted shadow={1mm}{-2mm}{3mm}{0.1mm}%
+ {black!50!white}]
+This is a tcolorbox.
+\end{tcolorbox}
+\end{dispExample*}
+\end{docTcbKey}
+
+\begin{docTcbKey}{drop lifted shadow}{\colOpt{=\meta{color}}}{style, default |black!50!white|}
+ Adds a new lifted shadow with standard dimensions to the stack of shadows.
+ Optionally, the \meta{color} for the shadow can be changed.
+\begin{dispExample*}{sbs,lefthand ratio=0.6}
+\tcbset{enhanced,colback=red!5!white,
+ boxrule=0.4pt,arc=0pt,outer arc=0pt,
+ colframe=red!75!black,fonttitle=\bfseries}
+
+\begin{tcolorbox}[drop lifted shadow]
+This is a tcolorbox.
+\end{tcolorbox}\par\bigskip
+\begin{tcolorbox}[title=Another shadow,
+ drop lifted shadow=blue]
+This is a tcolorbox.
+\end{tcolorbox}
+\end{dispExample*}
+\end{docTcbKey}
+
+
+\begin{docTcbKey}{drop small lifted shadow}{\colOpt{=\meta{color}}}{style, default |black!50!white|}
+ Adds a new small lifted shadow with standard dimensions to the stack of shadows.
+ Optionally, the \meta{color} for the shadow can be changed.
+\begin{dispExample*}{sbs,lefthand ratio=0.6}
+\tcbset{enhanced,colback=red!5!white,
+ boxrule=0.4pt,arc=0pt,outer arc=0pt,
+ colframe=red!75!black,fonttitle=\bfseries}
+
+\tcbox[drop small lifted shadow,size=fbox]
+ {This is a tcolorbox.}
+\par\bigskip
+\begin{tcolorbox}[title=Another shadow,
+ drop small lifted shadow=black]
+This is a tcolorbox.
+\end{tcolorbox}
+\end{dispExample*}
+\end{docTcbKey}
+
+
+\clearpage
+\begin{docTcbKey}{drop large lifted shadow}{\colOpt{=\meta{color}}}{style, default |black!50!white|}
+ Adds a new large lifted shadow with standard dimensions to the stack of shadows.
+ Optionally, the \meta{color} for the shadow can be changed.
+\begin{dispExample*}{sbs,lefthand ratio=0.6}
+\tcbset{enhanced,colback=red!5!white,
+ colframe=red!75!black,fonttitle=\bfseries}
+
+\begin{tcolorbox}[drop large lifted shadow]
+This is a tcolorbox.
+\end{tcolorbox}\par\bigskip
+\begin{tcolorbox}[title=Another shadow,
+ drop large lifted shadow=blue]
+This is a tcolorbox.
+\end{tcolorbox}
+\end{dispExample*}
+\end{docTcbKey}
+
+
+
+\clearpage
\subsection{\tikzname\ Picture Option Keys}\label{subsec:tikzpicture}
The following general options are applicable for skins which
use |tikzpicture| as \refKey{/tcb/graphical environment}.