summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-06 23:22:11 +0000
committerKarl Berry <karl@freefriends.org>2014-02-06 23:22:11 +0000
commit2385abbf2b7e9cee66fd032dcc7ca204808f1135 (patch)
tree2e2e1a60f376f9751a6e45f49273d39e47185be9 /Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex
parent60d128571258b0d294d7cc43bd4227b4f7b7f076 (diff)
tcolorbox (6feb14)
git-svn-id: svn://tug.org/texlive/trunk@32886 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex18
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}