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 | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex index f3b99f8ea71..3359233dee9 100644 --- a/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex +++ b/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox-example.tex @@ -1,4 +1,4 @@ -%% The LaTeX package tcolorbox - version 2.10 (2013/04/09) +%% The LaTeX package tcolorbox - version 2.20 (2013/04/17) %% tcolorbox-example.tex: an example for tcolorbox %% %% ------------------------------------------------------------------------------------------- @@ -70,7 +70,18 @@ \begin{tcblisting}{colback=red!5!white,colframe=red!75!black} This is a \LaTeX\ example: -$\displaystyle\sum\limits_{i=1}^n i = \frac{n(n+1)}{2}$. +\begin{equation} +\sum\limits_{i=1}^n i = \frac{n(n+1)}{2}. +\end{equation} +\end{tcblisting} + + +\begin{tcblisting}{colback=red!5!white,colframe=red!75!black,listing side text, + title=Side by side,fonttitle=\bfseries} +This is a \LaTeX\ example: +\begin{equation} +\sum\limits_{i=1}^n i = \frac{n(n+1)}{2}. +\end{equation} \end{tcblisting} @@ -84,8 +95,10 @@ $\displaystyle\sum\limits_{i=1}^n i = \frac{n(n+1)}{2}$. arc=0mm, colback=blue!5!white,colframe=blue!75!black}{mytheorem}{theorem} \begin{theo}{Summation of Numbers}{summation} - For all natural number $n$ it holds:\\[2mm] - $\displaystyle\sum\limits_{i=1}^n i = \frac{n(n+1)}{2}$. + For all natural number $n$ it holds: + \begin{equation} + \tcbhighmath{\sum\limits_{i=1}^n i = \frac{n(n+1)}{2}.} + \end{equation} \end{theo} We have given Theorem \ref{theorem:summation} on page \pageref{theorem:summation}. @@ -106,13 +119,11 @@ We have given Theorem \ref{theorem:summation} on page \pageref{theorem:summation %---------------------------------------------------------- \section{Breakable Boxes} - \begin{tcolorbox}[enhanced,breakable, colback=blue!5!white,colframe=blue!75!black,title=Breakable box, watermark color=white,watermark text=\Roman{tcbbreakpart}] \lipsum[1-18] \end{tcolorbox} - \end{document} |