summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tcolorbox/tcolorbox.doc.picturecredits.tex
blob: c39429d7d54852c9b5b20027ca14c2718500addf (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
% !TeX root = tcolorbox.tex
% include file of tcolorbox.tex (manual of the LaTeX package tcolorbox)
\clearpage
\section{Picture Credits}
The following pictures were used inside this documentation.

\def\parorfillfill{\hfill\global\let\parorfill\parorfillpar}
\def\parorfillpar{\par\global\let\parorfill\parorfillfill}
\let\parorfill\parorfillfill

\newcommand{\diabox}[3][]{%
  \begin{tcolorbox}[bicolor,before=,after=\parorfill,equal height group=diabox,width=7.9cm,
    fonttitle=\bfseries\ttfamily,adjusted title=\detokenize{#2},center title,
    colframe=blue!20!black,leftupper=0mm,rightupper=0mm,colback=black!75!white,#1]
  \tikz\path[fill zoom image={#2}] (0,0) rectangle (\linewidth,4cm);%
  \tcblower%
  #3%
  \end{tcolorbox}}

\diabox[before=]{Basilica_5.png}{
  \url{http://commons.wikimedia.org/wiki/File:Basilica_5.png}}
\diabox{lichtspiel.jpg}{
  Photograph taken by Thomas F.~Sturm.}
\diabox{crinklepaper.png}{%
  Created with |GIMP|.\\
  \url{http://www.gimp.org}}
\diabox{pink_marble.png}{%
  Created with |GIMP|.\\
  \url{http://www.gimp.org}}
\diabox{blueshade.png}{%
  Created with |GIMP|.\\
  \url{http://www.gimp.org}}
\diabox{goldshade.png}{%
  Created with |GIMP|.\\
  \url{http://www.gimp.org}}