diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index 5f8c5b535dc..dd185f81369 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex @@ -1,8 +1,8 @@ -%% The LaTeX package tcolorbox - version 2.61 (2014/01/10) +%% The LaTeX package tcolorbox - version 2.70 (2014/02/06) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2006-2013 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> +%% Copyright (c) 2006-2014 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -101,6 +101,18 @@ This is a \LaTeX\ example: We have given Theorem \ref{theorem:summation} on page \pageref{theorem:summation}. +\newtcbtheorem[use counter from=theo]{antheo}% + {Theorem}{theorem style=change,oversize,enlarge top by=1mm,enlarge bottom by=1mm, + enhanced jigsaw,interior hidden,fuzzy halo=1mm with green, + fonttitle=\bfseries\upshape,fontupper=\slshape, + colframe=green!75!black,coltitle=green!50!blue!75!black}{antheorem} + +\begin{antheo}{Summation of Numbers}{summation} + For all natural number $n$ it holds: + \begin{equation} + \tcbhighmath{\sum\limits_{i=1}^n i = \frac{n(n+1)}{2}.} + \end{equation} +\end{antheo} %---------------------------------------------------------- \section{Watermarks} @@ -123,7 +135,7 @@ We have given Theorem \ref{theorem:summation} on page \pageref{theorem:summation colbacktitle=red!85!black, title=Box inside box,drop fuzzy shadow] \begin{tcolorbox}[beamer,colframe=blue!50!black,title=Box inside box inside box] - An now for something completely different: Boxes!\par\medskip + And now for something completely different: Boxes!\par\medskip \newtcbox{\mybox}{nobeforeafter,tcbox raise base,colframe=green!50!black,colback=green!10!white,arc=0pt} \mybox{This} \mybox{is} \mybox{another} \mybox{box.} \end{tcolorbox} |