Debian Codegraph @

texmf-dist/doc/latex/beamertheme-cleaneasy/CleanEasy.tex

raw
1 %----------------------------------------------------------------------------------------
2 % PACKAGES AND THEMES
3 %----------------------------------------------------------------------------------------
4 \documentclass[aspectratio=169,xcolor=dvipsnames]{beamer}
5 \makeatletter
6 \def\input@path{{theme/}}
7 \makeatother
8 \usetheme{CleanEasy}
9 \usepackage[utf8]{inputenc}
10 \usepackage{lmodern}
11 \usepackage[T1]{fontenc}
12 % \usepackage[brazil]{babel}
13 \usepackage{fix-cm}
14 \usepackage{amsmath}
15 \usepackage{mathtools}
16 \usepackage{listings}
17 \usepackage{xcolor}
18 \usepackage{hyperref}
19 \usepackage{graphicx} % Allows including images
20 \usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
21 \usepackage{tikz}
22 \usetikzlibrary{positioning, shapes, arrows, calc, decorations.pathreplacing, arrows.meta, backgrounds, patterns, overlay-beamer-styles}
23 \usepackage{etoolbox}
24 \usepackage{animate}
25
26 %----------------------------------------------------------------------------------------
27 % LAYOUT CONFIGURATION
28 %----------------------------------------------------------------------------------------
29 \input{configs/configs}
30 %----------------------------------------------------------------------------------------
31 % TITLE PAGE
32 %----------------------------------------------------------------------------------------
33 \input{configs/title_page}
34 %----------------------------------------------------------------------------------------
35
36
37 \begin{document}
38
39 \begin{frame}[plain]
40 \titlepage
41 \end{frame}
42
43 \begin{frame}[plain]{Contents}
44 \tableofcontents
45 \end{frame}
46
47 \section{Introduction}
48 \begin{frame}{Introduction}
49 The CleanEasy Beamer theme provides a clean, professional look for academic and business presentations.
50
51 \vspace{0.3cm}
52
53 Key features:
54 \begin{itemize}
55 \item Clean, minimalist design
56 \item Carefully chosen color scheme
57 \item Professional typography
58 \item Flexible block environments
59 \item Customizable footers and section pages
60 \end{itemize}
61
62 \begin{block}{About this template}
63 This presentation serves as both documentation and demonstration, showing the various elements and features available in the CleanEasy theme.
64 \end{block}
65 \end{frame}
66
67 \begin{frame}{Block environments}
68
69 \begin{exampleblock}{Example block}
70 Example blocks can be used to showcase code, examples, or case studies.
71 \end{exampleblock}
72
73 \begin{alertblock}{Alert block}
74 Alert blocks draw attention to critical information, warnings, or caveats.
75 \end{alertblock}
76
77 \begin{theorem}
78 In a right-angled triangle, the square of the hypotenuse equals the sum of squares of the other two sides.
79 \end{theorem}
80
81 \begin{definition}
82 A prime number is a natural number greater than 1 that cannot be formed by multiplying two smaller natural numbers.
83 \end{definition}
84 \end{frame}
85
86 \section{Methods}
87 \begin{frame}{Lists and Numbering}
88 \begin{columns}
89 \begin{column}{0.48\textwidth}
90 Bulleted list:
91 \begin{itemize}
92 \item First level item
93 \begin{itemize}
94 \item Second level item
95 \item Another second level
96 \begin{itemize}
97 \item Third level item
98 \end{itemize}
99 \end{itemize}
100 \item Another first level item
101 \end{itemize}
102 \end{column}
103 \begin{column}{0.48\textwidth}
104 Numbered list:
105 \begin{enumerate}
106 \item First step
107 \begin{enumerate}
108 \item Substep one
109 \item Substep two
110 \end{enumerate}
111 \item Second step
112 \item Third step
113 \end{enumerate}
114 \end{column}
115 \end{columns}
116 \end{frame}
117
118 \begin{frame}{Tables}
119 \begin{table}
120 \centering
121 \caption{Sample table with booktabs style}
122 \begin{tabular}{lcr}
123 \toprule
124 \textbf{Header 1} & \textbf{Header 2} & \textbf{Header 3} \\
125 \midrule
126 Row 1, Col 1 & Row 1, Col 2 & 123.45 \\
127 Row 2, Col 1 & Row 2, Col 2 & 67.89 \\
128 Row 3, Col 1 & Row 3, Col 2 & 456.78 \\
129 \bottomrule
130 \end{tabular}
131 \end{table}
132
133 \vspace{0.5cm}
134
135 \begin{block}{Table styling}
136 The CleanEasy theme works well with the booktabs package for professional-looking tables.
137 Simple color alterations make tables more readable without being distracting.
138 \end{block}
139 \end{frame}
140
141 \begin{frame}{Mathematical Equations}
142 The CleanEasy theme includes proper mathematical typesetting:
143
144 \begin{align}
145 E &= mc^2 \\
146 F &= G\frac{m_1 m_2}{r^2}
147 \end{align}
148
149 Maxwell's equations in differential form:
150 \begin{align}
151 \nabla \cdot \vec{E} &= \frac{\rho}{\varepsilon_0} \\
152 \nabla \cdot \vec{B} &= 0 \\
153 \nabla \times \vec{E} &= -\frac{\partial \vec{B}}{\partial t} \\
154 \nabla \times \vec{B} &= \mu_0 \vec{J} + \mu_0\varepsilon_0\frac{\partial \vec{E}}{\partial t}
155 \end{align}
156
157 Inline equations like $E = mc^2$ are also properly rendered.
158 \end{frame}
159
160 \begin{frame}[fragile]{Code Listings}
161 \begin{lstlisting}[language=Python]
162 # A simple Python function
163 def fibonacci(n):
164 """Return the nth Fibonacci number"""
165 if n <= 0:
166 return 0
167 elif n == 1:
168 return 1
169 else:
170 a, b = 0, 1
171 for _ in range(2, n + 1):
172 a, b = b, a + b
173 return b
174
175 # Calculate the 10th Fibonacci number
176 result = fibonacci(10)
177 print(f"The 10th Fibonacci number is {result}")
178 \end{lstlisting}
179 \end{frame}
180
181 \begin{frame}{Figures and Graphics}
182 \begin{columns}
183 \begin{column}{0.48\textwidth}
184 \centering
185 \begin{figure}
186 \centering
187 % Replace with actual image path
188 % \includegraphics[width=\textwidth]{figures/sample_image.png}
189 \tikz \fill[blue!30] (0,0) rectangle (3,2);
190 \caption{Sample placeholder image}
191 \end{figure}
192 \end{column}
193 \begin{column}{0.48\textwidth}
194 \centering
195 \begin{figure}
196 \begin{tikzpicture}
197 % Simple TikZ diagram
198 \draw[thick, ->] (0,0) -- (4,0) node[right] {$x$};
199 \draw[thick, ->] (0,0) -- (0,3) node[above] {$y$};
200 \draw[blue, thick] (0,0) .. controls (1,3) and (3,1) .. (4,2);
201 \node at (2,2.5) {$f(x)$};
202 \end{tikzpicture}
203 \caption{Simple TikZ diagram}
204 \label{fig:enter-label}
205 \end{figure}
206 \end{column}
207 \end{columns}
208 \end{frame}
209
210 \section{Results}
211 \begin{frame}{Overlays and Animations}
212 Beamer supports step-by-step revelations:
213
214 \begin{itemize}
215 \item<1-> First point appears on slide 1
216 \item<2-> Second point appears on slide 2
217 \item<3-> Third point appears on slide 3
218 \end{itemize}
219
220 \pause
221
222 This text appears after a pause.
223
224 \onslide<4->{
225 And this content appears on slide 4.
226 }
227
228 \begin{block}<5->{Delayed Block}
229 This entire block appears only on slide 5.
230 \end{block}
231 \end{frame}
232
233 \begin{frame}{Citations and References}
234 CleanEasy works well with bibliographies and citations:
235
236 \begin{block}{Sample citation}
237 According to Einstein \cite{einstein1905}, space and time are relative.
238 \end{block}
239
240 \begin{exampleblock}{Bibliography management}
241 The theme is compatible with BibTeX, BibLaTeX, and other bibliography management tools.
242 \end{exampleblock}
243
244 % Sample bibliography entries (not functional without .bib file)
245 % \begin{thebibliography}{9}
246 % \bibitem{einstein1905}
247 % Albert Einstein.
248 % \emph{On the Electrodynamics of Moving Bodies}.
249 % Annalen der Physik, 1905.
250 % \end{thebibliography}
251 \end{frame}
252
253 \begin{frame}{Custom TikZ Graphics}
254
255 \begin{figure}
256 \centering
257 \begin{tikzpicture}[scale=0.7]
258 % Coordinate axes
259 \draw[thick, ->] (-3,0) -- (3,0) node[right] {$x$};
260 \draw[thick, ->] (0,-3) -- (0,3) node[above] {$y$};
261
262 % Unit circle
263 \draw[blue!80, thick] (0,0) circle (2);
264
265 % Angle and point on circle
266 \filldraw[red] (60:2) circle (2pt);
267 \draw[red, thick] (0,0) -- (60:2);
268 \draw[red, thick, ->] (0.5,0) arc (0:60:0.5);
269 \node[red] at (30:0.7) {$\theta$};
270
271 % Coordinates
272 \draw[dashed] (60:2) -- (60:2 |- 0,0) node[below] {$\cos\theta$};
273 \draw[dashed] (60:2) -- (0,0 -| 60:2) node[left] {$\sin\theta$};
274 \end{tikzpicture}
275 \caption{The unit circle with trigonometric functions}
276 \label{fig:exampleTikz}
277 \end{figure}
278 \end{frame}
279
280 \section{Conclusions}
281 \begin{frame}{Theme Customization}
282 The CleanEasy theme can be easily customized:
283
284 \begin{itemize}
285 \item Edit \texttt{beamercolorthemeCleanEasy.sty} to change colors
286 \item Modify \texttt{beamerfontthemeCleanEasy.sty} for different fonts
287 \item Adjust \texttt{beamerinnerthemeCleanEasy.sty} for layout changes
288 \item Update \texttt{configs.tex} for footer and section page customization
289 \end{itemize}
290
291 \begin{alertblock}{Important Note}
292 Always maintain consistent design elements throughout your presentation for a professional look.
293 \end{alertblock}
294 \end{frame}
295
296 \begin{frame}{Final Thoughts}
297 \begin{block}{Benefits of CleanEasy}
298 \begin{itemize}
299 \item Professional appearance suitable for academic and business contexts
300 \item Careful attention to typography and spacing
301 \item High readability with suitable contrast ratios
302 \item Flexible design that works with different content types
303 \end{itemize}
304 \end{block}
305
306 \vspace{0.5cm}
307
308 \begin{center}
309 \large{The CleanEasy theme is designed to let your content shine without distractions}
310 \end{center}
311 \end{frame}
312
313 \begin{frame}[plain]
314 \centering
315 \Huge \textbf{Thank you!}
316
317 \vspace{1cm}
318 \normalsize
319 \href{mailto:[email protected]}{[email protected]}
320
321 \vspace{0.5cm}
322 \small
323 \texttt{https://someurl.com}
324 \end{frame}
325
326 % Sample bibliography (not shown in presentation, just for reference)
327 \begin{frame}{References}
328 \begin{thebibliography}{9}
329 \bibitem{einstein1905}
330 Albert Einstein.
331 \emph{On the Electrodynamics of Moving Bodies}.
332 Annalen der Physik, 1905.
333
334 \bibitem{beamer}
335 Till Tantau.
336 \emph{The Beamer Class}.
337 \url{https://ctan.org/pkg/beamer}
338 \end{thebibliography}
339 \end{frame}
340
341 % \begin{frame}{References}
342 % \bibliography{reference.bib}
343 % \bibliographystyle{apalike}
344 % \end{frame}
345
346 \end{document}