summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex
blob: 795e97388c1265daefe296543e437456fd9b020a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
% !TeX root = tcolorbox.tex
% include file of tcolorbox.tex (manual of the LaTeX package tcolorbox)
\begin{tcboutputlisting}
% \usepackage{incgraph}
\begin{inctext}
\begin{tikzpicture}
\definecolorseries{boxcol}{rgb}{last}{red}{blue}
\resetcolorseries[24]{boxcol}
\coordinate (A) at (0,0); \coordinate (B) at (21,29.7);
\path[use as bounding box,top color=Goldenrod!25!white,bottom color=Navy!25!white]
  (A) rectangle coordinate (C) (B);
\foreach \w in {-15,-30,...,-360}
{\node[below right,rotate around={\w:(C)}] at ([xshift=1cm]C) {%
  \begin{tcolorbox}[width=8cm,title=tcolorbox \version,
    fontupper=\scriptsize,fonttitle=\small\bfseries,
    colback=boxcol!25!white,colbacktitle=boxcol!!+!50!black,colframe=boxcol,
    enhanced jigsaw,opacityback=0.5,opacitybacktitle=0.75]
    \lipsum[2]
  \end{tcolorbox}};
}
\node[font=\Huge\bfseries] at ([yshift=12cm]C) {|tcolorbox|};
\node[font=\large\bfseries] at ([yshift=-12cm]C)
  {Manual for version \version\ (\datum)};
\end{tikzpicture}
\end{inctext}
\end{tcboutputlisting}
\tcbuselistingtext
\tcbinputlisting{title=Cover code,
  base example,coltitle=black,fonttitle=\itshape,titlerule=0pt,
  colbacktitle=Navy!15!ExampleBack,top=0mm,before=\par\smallskip,%
  listing style=mydocumentation,listing only}

\hspace{0pt}
\clearpage
\begin{center}
\begin{tcolorbox}[enhanced,hbox,tikznode,left=8mm,right=8mm,boxrule=0.4pt,
  colback=white,colframe=black!50!yellow,drop fuzzy midday shadow=black!50!yellow,
  before=\par\vspace*{5mm},after=\par\bigskip]
{\bfseries\LARGE The \texttt{tcolorbox} package}\\[3mm]
{\large Manual for version \version\ (\datum)}
\end{tcolorbox}
{\large Thomas F.~Sturm%
  \footnote{Prof.~Dr.~Dr.~Thomas F.~Sturm, Institut f\"{u}r Mathematik und Informatik,
    Universit\"{a}t der Bundeswehr M\"{u}nchen, D-85577 Neubiberg, Germany;
     email: \href{mailto:thomas.sturm@unibw.de}{thomas.sturm@unibw.de}} }
\end{center}
\bigskip
\begin{absquote}
  \begin{center}\bfseries Abstract\end{center}
  |tcolorbox| provides an environment for colored and framed text boxes with a
  heading line. Optionally, such a box can be split in an upper and a lower
  part. The package |tcolorbox| can be used for the setting of \LaTeX\ examples where
  one part of the box displays the source code and the other part shows the
  output. Another common use case is the setting of theorems. The package supports
  saving and reuse of source code and text parts.
\end{absquote}

\begin{tcolorbox}[breakable,enhanced jigsaw,title={Contents},fonttitle=\bfseries\Large,
  colback=yellow!10!white,colframe=red!50!black,before=\par\bigskip\noindent,
  watermark color=yellow!75!red!25!white,pad at break=3mm,
  watermark text={\bfseries\Large Contents},
  %enlargepage=2\baselineskip,
  drop fuzzy shadow]
\makeatletter
\@starttoc{toc}
\makeatother
\end{tcolorbox}