Debian Codegraph @

texmf-dist/doc/latex/slixte/slixte-template.tex

raw
1 \documentclass{slixte}
2
3
4
5 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6 %%% Customizing the colors %%%
7 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8
9 % \definecolor{page}{RGB}{255, 255, 255}
10 % \definecolor{text}{RGB}{0, 0, 0}
11 % \definecolor{first}{RGB}{96, 159, 103}
12 % \definecolor{second}{RGB}{103, 96, 159}
13 % \definecolor{third}{RGB}{159, 103, 96}
14
15
16
17 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
18 %%% Customizing the background %%%
19 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
20
21 % \showbackground
22 % \hidebackground
23
24 % \def\backgroundanchor{...}
25
26 % \newlength{\backgroundx}
27 % \setlength{\backgroundx}{...}
28 % \newlength{\backgroundy}
29 % \setlength{\backgroundy}{...}
30 % \newlength{\backgroundwidth}
31 % \setlength{\backgroundwidth}{...}
32 % \newlength{\backgroundheight}
33 % \setlength{\backgroundheight}{...}
34
35 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
36 %%% Customizing the logo %%%
37 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
38
39 % \showlogo
40 % \hidelogo
41
42 % \def\logoanchor{...}
43
44 % \newlength{\logox}
45 % \setlength{\logox}{...}
46 % \newlength{\logoy}
47 % \setlength{\logoy}{...}
48 % \newlength{\logowidth}
49 % \setlength{\logowidth}{...}
50 % \newlength{\logoheight}
51 % \setlength{\logoheight}{...}
52
53 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
54 %%% Customizing the title %%%
55 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
56
57 % \setfontsizetitle{...}
58
59 % \def\titlealign{...}
60 % \def\titleanchor{...}
61
62 % \newlength{\titlex}
63 % \setlength{\titlex}{...}
64 % \newlength{\titley}
65 % \setlength{\titley}{...}
66 % \newlength{\titlewidth}
67 % \setlength{\titlewidth}{...}
68
69 % \colorlet{title}{...}
70
71 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
72 %%% Customizing the subtitle %%%
73 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
74
75 % \setfontsizesubtitle{...}
76
77 % \def\subtitlealign{...}
78 % \def\subtitleanchor{...}
79
80 % \newlength{\subtitlex}
81 % \setlength{\subtitlex}{...}
82 % \newlength{\subtitley}
83 % \setlength{\subtitley}{...}
84 % \newlength{\subtitlewidth}
85 % \setlength{\subtitlewidth}{...}
86
87 % \colorlet{subtitle}{...}
88
89 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
90 %%% Customizing the author %%%
91 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
92
93 % \setfontsizeauthor{...}
94
95 % \def\authoralign{...}
96 % \def\authoranchor{...}
97
98 % \newlength{\authorx}
99 % \setlength{\authorx}{...}
100 % \newlength{\authory}
101 % \setlength{\authory}{...}
102 % \newlength{\authorwidth}
103 % \setlength{\authorwidth}{...}
104
105 % \colorlet{author}{...}
106
107 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
108 %%% Customizing the info %%%
109 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
110
111 % \setfontsizeinfo{...}
112
113 % \def\infoalign{...}
114 % \def\infoanchor{...}
115
116 % \newlength{\infox}
117 % \setlength{\infox}{...}
118 % \newlength{\infoy}
119 % \setlength{\infoy}{...}
120 % \newlength{\infowidth}
121 % \setlength{\infowidth}{...}
122
123 % \colorlet{info}{...}
124
125
126
127 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
128 %%% Customizing the banner %%%
129 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
130
131 % \showbanner
132 % \hidebanner
133 % \showtopbanner
134 % \hidetopbanner
135 % \showbottombanner
136 % \hidebottombanner
137 % \showprogress
138 % \hideprogress
139
140 % \setfontsizetopbanner{...}
141 % \setfontsizebottombanner{...}
142
143 % \def\banneropacity{...}
144 % \def\topbanneropacity{...}
145 % \def\bottombanneropacity{...}
146 % \def\progressopacity{...}
147
148 % \newlength{\bannerheight}
149 % \setlength{\bannerheight}{...}
150 % \newlength{\topbannerheight}
151 % \setlength{\topbannerheight}{...}
152 % \newlength{\bottombannerheight}
153 % \setlength{\bottombannerheight}{...}
154 % \newlength{\progressheight}
155 % \setlength{\progressheight}{...}
156
157 % \colorlet{banner}{...}
158 % \colorlet{topbanner}{...}
159 % \colorlet{bottombanner}{...}
160 % \colorlet{progress}{...}
161
162 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
163 %%% Customizing the banner text %%%
164 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
165
166 % \showbannertext
167 % \hidebannertext
168 % \showbannerheader
169 % \hidebannerheader
170 % \showbannertitle
171 % \hidebannertitle
172 % \showbannerauthor
173 % \hidebannerauthor
174 % \showbannersection
175 % \hidebannersection
176 % \showbannernumber
177 % \hidebannernumber
178
179 % \def\bannerheaderalign{...}
180 % \def\bannertitlealign{...}
181 % \def\bannerauthoralign{...}
182 % \def\bannersectionalign{...}
183 % \def\bannernumberalign{...}
184
185 % \colorlet{bannertext}{...}
186 % \colorlet{bannerheader}{...}
187 % \colorlet{bannertitle}{...}
188 % \colorlet{bannerauthor}{...}
189 % \colorlet{bannersection}{...}
190 % \colorlet{bannernumber}{...}
191
192
193
194 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
195 %%% Customizing the table of contents %%%
196 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
197
198 % \showtoc
199 % \hidetoc
200
201 % \def\tocopacity{...}
202
203 % \newlength{\tocy}
204 % \setlength{\tocy}{...}
205 % \newlength{\tocheight}
206 % \setlength{\tocheight}{...}
207
208 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
209 %%% Customizing the section %%%
210 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
211
212 % \showsection
213 % \hidesection
214
215 % \setfontsizesection{...}
216
217 % \def\sectionalign{...}
218 % \def\sectionanchor{...}
219
220 % \newlength{\sectionx}
221 % \setlength{\sectionx}{...}
222
223 % \colorlet{section}{...}
224 % \colorlet{tosection}{...}
225
226 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
227 %%% Customizing the symbol %%%
228 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
229
230 % \showsymbol
231 % \hidesymbol
232
233 % \setfontsizesymbol{...}
234
235 % \def\symbolalign{...}
236 % \def\symbolanchor{...}
237
238 % \newlength{\symbolx}
239 % \setlength{\symbolx}{...}
240
241 % \colorlet{symbol}{...}
242
243
244
245 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
246 %%% Customizing the general content %%%
247 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
248
249 % \setfontsizecontent{...}
250 % \setfontsizeref{...}
251
252 % \def\contentalign{...}
253 % \def\contentopacity{...}
254
255 % \setlength{\contentmargin}{...}
256
257 % \colorlet{item}{...}
258 % \colorlet{framing}{...}
259 % \colorlet{ref}{...}
260 % \colorlet{final}{...}
261
262 % \spliton
263 % \splitoff
264
265
266
267 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
268 %%% Fundamental commands %%%
269 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
270
271 \background{path/to/file.png}
272 \hidebackground % comment out to show the background
273
274 \logo{path/to/file.png}
275 \hidelogo % comment out to show the logo
276
277 \title{Title of the slides}
278 \subtitle{The subtitle of the slides}
279 \author{Author Name}
280 \info{Extra information}
281
282 \addsection[\textbf{1.}]{First section: basic commands}
283 \addsection[\textbf{2.}]{Second section: framed environments}
284 \addsection[\textbf{3.}]{Third section: references and links}
285 \addsection[\textbf{4.}]{Fourth section: splitting the slides}
286
287 \addref{1}{Author(s)}{Year}{Title}{Journal}
288 \addref{2}{Author(s)}{Year}{Title}{Journal}
289 \addref{3}{Author(s)}{Year}{Title}{Journal}
290 \addref{4}{Author(s)}{Year}{Title}{Journal}
291 \addref{5}{Author(s)}{Year}{Title}{Journal}
292
293
294
295 \begin{document}
296
297 \titleslide
298
299 \toc%[Title of table of contents]
300
301 \section
302
303 \begin{tikzslide}[A tikzslide]
304 \draw (\paperwidth/2, \paperheight/2) circle (5cm);
305 \content{
306 Some text within the tikzslide.
307 }
308 \end{tikzslide}
309
310 \begin{slide}[A standard text slide]
311 You can easily create a list.
312 \begin{itemize}
313 \fillitem A first element.
314 \fillitem[second] A second element.
315 \begin{itemize}
316 \emptyitem A first sub-element.
317 \emptyitem[second] A second sub-element.
318 \end{itemize}
319 \citem[third]{\textbf{?}} A third and different element.
320 \end{itemize}
321 \end{slide}
322
323 \begin{slide}[A slide with useful environments]
324 \begin{alert}%[...]
325 An important information in the alert environment.
326 \end{alert}
327
328 \spacing
329
330 \begin{remark}%[...]
331 Something worth knowing in the remark environment.
332 \end{remark}
333
334 \spacing
335
336 \begin{pointer}%[...]
337 A highlighted information in the pointer environment.
338 \end{pointer}
339
340 \spacing
341
342 \begin{question}%[...]
343 A question in the question environment.
344 \end{question}
345 \end{slide}
346
347 \section
348
349 \begin{slide}[A slide with basic framed environments]
350 \begin{definition}%[...]
351 An important definition
352 \end{definition}
353 \begin{theorem}%[...]
354 The statement of a related theorem.
355 \end{theorem}
356 \end{slide}
357
358 \begin{slide}[A slide with a more advanced framed environments]
359 \begin{theorem}[Your Initial, 2025]
360 The statement of your new theorem.
361 \end{theorem}
362 \begin{problem}%[...]
363 Something still unknown.
364 \end{problem}
365 \end{slide}
366
367 \begin{slide}[A slide with the most general framed environment]
368 \begin{result}{Proposition}{}
369 A proposition related to your presentation.
370 \end{result}
371 \begin{result}{Corollary}{From previous proposition}
372 A corollary based on your previous proposition.
373 \end{result}
374 \end{slide}
375
376 \section
377
378 \begin{slide}[References and links]
379 You can easily create hyperlinks to various parts of the slides.
380 \begin{itemize}
381 \fillitem Some references, such as the first one\citeref{1}, the second one\citeref{2}, etc.
382 \fillitem Your current section, also called \tosection{}.
383 \fillitem Other sections: \tosection{1} or \tosection{4}.
384 \fillitem It is also worth mentioning other implemented links within the slides.
385 \begin{itemize}
386 \emptyitem Clicking on the title (usually bottom left) brings back to the title page.
387 \emptyitem Clicking on the author (usually bottom right) brings to the final page (if defined).
388 \emptyitem Clicking on the section (usually bottom center) brings to the beginning of the section.
389 \emptyitem Clicking on the sections in the table of contents brings to their beginnings.
390 \emptyitem Clicking on a reference within a slide brings to the reference page (if defined).
391 \emptyitem Clicking on a reference within the reference slide brings you to the first use of the reference (if defined).
392 \end{itemize}
393 \end{itemize}
394 \end{slide}
395
396 \section
397
398 \begin{slide}[A linear slide]
399 One might want to create a slide where points appear after each other.
400 \begin{itemize}
401 \break\fillitem This appears first.
402 \break\fillitem Then this appears second.
403 \break\fillitem And finally this appears at the end.
404 \end{itemize}
405
406 \spacing
407
408 It is also worth noting the existence of a default space command to break the page.
409
410 \spacing[2]
411
412 This spacing can also be customized.
413 \end{slide}
414
415 \begin{slide}[A breaking slide]
416 You can split a single slide to create effects and keep the presentation flowing.
417 \begin{itemize}
418 \makeon[1]{\fillitem Some text not taking space when not on the slide.}
419 \showon[-2]{\fillitem Some text taking space even when not on the slide.}
420 \fillitem Some text on all slides to show its interaction with the other parts.
421 \end{itemize}
422 \showon[3]{}
423 \end{slide}
424
425 \refslide%[Title of reference page]
426
427 \finalslide%[Final message]
428
429 \end{document}