Debian Codegraph @

texmf-dist/doc/latex/tcolorbox/tcolorbox-example-poster.tex

raw
1 %% The LaTeX package tcolorbox - version 6.9.0 (2025/11/28)
2 %% tcolorbox-example-poster.tex: a poster example for tcolorbox
3 %%
4 %% -------------------------------------------------------------------------------------------
5 %% Copyright (c) 2006-2025 by Prof. Dr. Dr. Thomas F. Sturm <thomas dot sturm at unibw dot de>
6 %% -------------------------------------------------------------------------------------------
7 %%
8 %% This work may be distributed and/or modified under the
9 %% conditions of the LaTeX Project Public License, either version 1.3
10 %% of this license or (at your option) any later version.
11 %% The latest version of this license is in
12 %% http://www.latex-project.org/lppl.txt
13 %% and version 1.3 or later is part of all distributions of LaTeX
14 %% version 2005/12/01 or later.
15 %%
16 %% This work has the LPPL maintenance status `author-maintained'.
17 %%
18 %% This work consists of all files listed in README
19 %%
20 % arara: pdflatex: { shell: yes }
21 % arara: pdflatex: { shell: yes }
22 \documentclass[12pt]{article}
23
24 \usepackage[a3paper,landscape]{geometry}
25 \usepackage{lipsum}
26 \usepackage{lmodern}
27 \usepackage{enumerate}
28
29 \usepackage[poster]{tcolorbox}
30 \usepackage{minted2}% minted is currently broken
31 \tcbuselibrary{minted} % <- replace by \tcbuselibrary{listings}, if minted does not work for you
32
33 \pagestyle{empty}
34
35 \begin{document}
36 \begin{tcbposter}[
37 coverage = {
38 spread,
39 interior style={top color=yellow,bottom color=yellow!50!red},
40 watermark text={\LaTeX\ Poster},
41 watermark color=yellow,
42 },
43 poster = {showframe=false,columns=4,rows=5},
44 boxes = {
45 enhanced standard jigsaw,sharp corners=downhill,arc=3mm,boxrule=1mm,
46 colback=white,opacityback=0.75,colframe=blue,
47 title style={left color=black,right color=cyan},
48 fonttitle=\bfseries\Large\scshape
49 }
50 ]
51
52 %----
53 \posterbox[blankest,interior engine=path,height=3cm,
54 halign=center,valign=center,fontupper=\bfseries\large,colupper=red!25!black,
55 underlay={
56 \node[right,inner sep=0pt,outer sep=0pt] at (frame.west) {\includegraphics[height=3cm]{pink_marble.png}};
57 \node[left,inner sep=0pt,outer sep=0pt] at (frame.east) {\includegraphics[height=3cm]{crinklepaper.png}};
58 },
59 ]{name=title,column=1,span=3,below=top}{
60 \resizebox{18cm}{!}{\bfseries\Huge My Important Project}\\[3mm]
61 [email protected]
62 }
63
64 %----
65 \posterbox[adjusted title=References]{name=references,column=2,span=1.5,above=bottom}{
66 \begin{enumerate}[{[1]}]
67 \item\label{litA} Important Authors, \textit{Important Title}
68 \item\label{litB} More Important Authors, \textit{More Important Title}
69 \item\label{litC} Less Important Authors, \textit{Less Important Title}
70 \end{enumerate}
71 }
72
73 %----
74 \posterbox[adjusted title=Process,halign=center]{name=process,column=2,span=2,above=references}{
75 \begin{tikzpicture}[very thick,radius=2cm]
76 \begin{scope}
77 \path[draw=black,fill=white] (0,0) circle;
78 \path[fill=red] (0,0) -- (2,0) arc [start angle=0, end angle=30];
79 \end{scope}
80 \begin{scope}[xshift=5cm]
81 \path[draw=black,fill=white] (0,0) circle;
82 \path[fill=red] (0,0) -- (2,0) arc [start angle=0, end angle=70];
83 \end{scope}
84 \begin{scope}[xshift=10cm]
85 \path[draw=black,fill=white] (0,0) circle;
86 \path[fill=red] (0,0) -- (2,0) arc [start angle=0, end angle=110];
87 \end{scope}
88 \begin{scope}[xshift=15cm]
89 \path[draw=black,fill=white] (0,0) circle;
90 \path[fill=red] (0,0) -- (2,0) arc [start angle=0, end angle=240];
91 \end{scope}
92 \end{tikzpicture}
93 }
94
95 %----
96 \posterbox[adjusted title=Project Description]{name=project,
97 sequence=1 between title and bottom then 2 between title and process}{
98 See [\ref{litA}]: \lipsum[1]
99 \begin{center}
100 \tikz \draw[thick,rounded corners=8pt]
101 (0,0)--(0,2)--(1,3.25)--(2,2)--(2,0)--(0,2)--(2,2)--(0,0)--(2,0);
102 \quad by [\ref{litB}]
103 \end{center}
104 \lipsum[2-3]\par
105 See [\ref{litC}]:
106 \lipsum[4]
107 \begin{center}
108 \tikz \shadedraw [left color=red,right color=blue]
109 (0,0) rectangle (2,2);
110 \end{center}
111 That's all.
112 }
113
114 %----
115 \posterbox[adjusted title=Central Picture,
116 interior style={fill overzoom image=blueshade.png}]
117 {name=picture,column=3,between=title and process}{}
118
119 %----
120 \begin{posterboxenv}[adjusted title=Core Algorithm,leftupper=0pt,rightupper=0pt]
121 {name=algorithm,column=4,between=top and references}
122 \begin{tcblisting}{blankest,listing only}
123 \begin{tikzpicture}[very thick,radius=2cm]
124 \begin{scope}
125 \path[draw=black,fill=white] (0,0) circle;
126 \path[fill=red] (0,0) -- (2,0)
127 arc [start angle=0, end angle=30];
128 \end{scope}
129 \begin{scope}[xshift=5cm]
130 \path[draw=black,fill=white] (0,0) circle;
131 \path[fill=red] (0,0) -- (2,0)
132 arc [start angle=0, end angle=70];
133 \end{scope}
134 \begin{scope}[xshift=10cm]
135 \path[draw=black,fill=white] (0,0) circle;
136 \path[fill=red] (0,0) -- (2,0)
137 arc [start angle=0, end angle=110];
138 \end{scope}
139 \begin{scope}[xshift=15cm]
140 \path[draw=black,fill=white] (0,0) circle;
141 \path[fill=red] (0,0) -- (2,0)
142 arc [start angle=0, end angle=240];
143 \end{scope}
144 \end{tikzpicture}
145
146 \begin{tikzpicture}[very thick,radius=1cm]
147 \begin{scope}
148 \path[draw=black,fill=white] (0,0) circle;
149 \path[fill=red] (0,0) -- (2,0)
150 arc [start angle=0, end angle=30];
151 \end{scope}
152 \begin{scope}[xshift=5cm]
153 \path[draw=black,fill=white] (0,0) circle;
154 \path[fill=red] (0,0) -- (2,0)
155 arc [start angle=0, end angle=70];
156 \end{scope}
157 \begin{scope}[xshift=10cm]
158 \path[draw=black,fill=white] (0,0) circle;
159 \path[fill=red] (0,0) -- (2,0)
160 arc [start angle=0, end angle=110];
161 \end{scope}
162 \begin{scope}[xshift=15cm]
163 \path[draw=black,fill=white] (0,0) circle;
164 \path[fill=red] (0,0) -- (2,0)
165 arc [start angle=0, end angle=240];
166 \end{scope}
167 \end{tikzpicture}
168 \end{tcblisting}
169 \end{posterboxenv}
170
171 %----
172 \posterbox[adjusted title=Contact,fit,fit basedim=12pt]
173 {name=contact,column*=4,span=1.5,between=process and bottom}{
174 \lipsum[2]
175 }
176
177 \end{tcbposter}
178 \end{document}