Debian Codegraph @

texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.abstract.tex

raw
1 % !TeX root = tcolorbox.tex
2 % include file of tcolorbox.tex (manual of the LaTeX package tcolorbox)
3 \begin{tcboutputlisting}
4 % \usepackage{incgraph}
5 \begin{inctext}
6 \begin{tikzpicture}
7 \definecolorseries{boxcol}{rgb}{last}{blue}{red}
8 \resetcolorseries[28]{boxcol}
9 \coordinate (A) at (0,0); \coordinate (B) at (21,29.7);
10 \path[use as bounding box] (A) rectangle coordinate (C) (B);
11 \node[transform shape,xslant=0.7,rotate=-10,xshift=0cm] at (C) {%
12 \BeginAccSupp{method=plain,ActualText={}}%
13 \begin{tcbraster}[raster columns=4,title=tcolorbox \version,
14 fonttitle=\small\bfseries,raster width=50cm]
15 \foreach \b in {1,...,28} {\begin{tcolorbox}[enhanced,
16 watermark text=\thetcbrasternum,
17 colframe=boxcol!30!white,
18 colback=boxcol!25!white!30!white,
19 colbacktitle=boxcol!!+!50!black!30!white,
20 colupper=black!30!white]\lipsum[2]\end{tcolorbox}}
21 \end{tcbraster}%
22 \EndAccSupp{}%
23 };
24 \node at (C) {%
25 \begin{tcbitemize}[title=tcolorbox \version,fonttitle=\small\bfseries,
26 enhanced jigsaw,opacityback=0.5,opacitybacktitle=0.75,
27 halign=center,valign=center,arc=5mm,
28 raster width=16cm,raster column skip=8mm,raster halign=center,
29 raster force size=false,
30 raster row 1/.style={height=6cm},
31 raster row 2/.style={width=6cm,height=4cm},
32 raster column 1/.style={flushright title,
33 frame style={left color=yellow!50!black,right color=green!50!black},
34 title style={left color=yellow!50!blue,right color=blue!50!green!50!black},
35 interior style={left color=yellow!70,right color=green!70},
36 underlay={\draw[line width=6mm,line cap=round,black!60]
37 ([shift={(0.4,-0.15)}]frame.north east)
38 --([shift={(0.4,0.15)}]frame.south east); }},
39 raster column 2/.style={
40 frame style={left color=green!50!black,right color=yellow!50!black},
41 title style={left color=blue!50!green!50!black,right color=yellow!50!blue},
42 interior style={left color=green!70,right color=yellow!70}}]
43 \tcbitem[fontupper=\Huge\bfseries,sharp corners=east,
44 underlay={\draw[line width=6mm,line cap=round,black!60]
45 ([shift={(0.4,0.30)}]frame.north east)-- coordinate(A) +(0,0.2);
46 \draw[line width=1mm,line cap=round,black!60](A) -- +(30:1.5cm);
47 \draw[line width=1mm,line cap=round,black!60](A) -- +(150:1.5cm);}]
48 tcolorbox
49 \tcbitem[fontupper=\large\bfseries,sharp corners=west]
50 Manual for\\ version\\ \version\\(\datum)
51 \tcbitem[sharp corners=northeast]
52 \tcbitem[sharp corners=northwest] Thomas F.~Sturm
53 \end{tcbitemize}%
54 };
55 \end{tikzpicture}
56 \end{inctext}
57 \end{tcboutputlisting}
58 \tcbuselistingtext
59 \tcbinputlisting{title=Cover code,
60 base example,coltitle=black,fonttitle=\itshape,titlerule=0pt,
61 colbacktitle=Navy!15!ExampleBack,top=0mm,before=\par\smallskip,%
62 listing style=mydocumentation,listing only}
63
64 %\bigskip
65 %\begin{marker}
66 %If you have trouble printing this document, the reason is quite likely the
67 %cover page. Printing the pages starting with page 2 or page 3 should work.
68 %\end{marker}
69
70 \clearpage
71 \begin{center}
72 \begin{tcolorbox}[enhanced,hbox,tikznode,left=8mm,right=8mm,boxrule=0.4pt,
73 colback=white,colframe=black!50!yellow,
74 %drop fuzzy midday shadow=black!50!yellow,
75 drop lifted shadow=black!50!yellow,arc is angular,
76 before=\par\vspace*{5mm},after=\par\bigskip]
77 {\bfseries\LARGE The \texttt{tcolorbox} package}\\[3mm]
78 {\large Manual for version \version\ (\datum)}
79 \end{tcolorbox}
80 {\large Thomas F.~Sturm%
81 \footnote{Prof.~Dr.~Dr.~Thomas F.~Sturm, Institut f\"{u}r Mathematik und Informatik,
82 University of the Bundeswehr Munich, D-85577 Neubiberg, Germany;
83 email: \href{mailto:[email protected]}{[email protected]}}\par\medskip
84 \normalsize\url{https://www.ctan.org/pkg/tcolorbox}\par
85 \url{https://github.com/T-F-S/tcolorbox}}
86 \end{center}
87 \bigskip
88 \begin{absquote}
89 \begin{center}\bfseries Abstract\end{center}
90 |tcolorbox| provides an environment for colored and framed text boxes with a
91 heading line. Optionally, such a box can be split in an upper and a lower
92 part. The package |tcolorbox| can be used for the setting of \LaTeX\ examples where
93 one part of the box displays the source code and the other part shows the
94 output. Another common use case is the setting of theorems. The package supports
95 saving and reuse of source code and text parts.
96 \end{absquote}
97
98 \begin{tcolorbox}[breakable,enhanced jigsaw,title={Contents},fonttitle=\bfseries\Large,
99 colback=yellow!10!white,colframe=red!50!black,before=\par\bigskip\noindent,
100 interior style={fill overzoom image=goldshade.png,fill image opacity=0.25},
101 colbacktitle=red!50!yellow!75!black,
102 enlargepage flexible=\baselineskip,pad at break*=3mm,
103 height fixed for=first and middle,
104 watermark color=yellow!75!red!25!white,
105 watermark text={\bfseries\Large Contents},
106 attach boxed title to top center={yshift=-0.25mm-\tcboxedtitleheight/2,yshifttext=2mm-\tcboxedtitleheight/2},
107 boxed title style={enhanced,boxrule=0.5mm,
108 frame code={ \path[tcb fill frame] ([xshift=-4mm]frame.west) -- (frame.north west)
109 -- (frame.north east) -- ([xshift=4mm]frame.east)
110 -- (frame.south east) -- (frame.south west) -- cycle; },
111 interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
112 -- (interior.north west) -- (interior.north east)
113 -- ([xshift=2mm]interior.east) -- (interior.south east) -- (interior.south west)
114 -- cycle;} },
115 drop fuzzy shadow]
116 \makeatletter
117 \@starttoc{toc}
118 \makeatother
119 \end{tcolorbox}