Debian Codegraph @

texmf-dist/doc/latex/beamertheme-csh/example-csh.tex

raw
1 % Example presentation using CSH theme
2 \documentclass[aspectratio=169]{beamer}
3 \usetheme{csh}
4
5 \title{Example Presentation}
6 \subtitle{Using the CSH Beamer Theme}
7 \author{Your Name}
8 \institute{Complexity Science Hub}
9 \date{\today}
10
11 \begin{document}
12
13 \begin{frame}
14 \titlepage
15 \end{frame}
16
17 \begin{frame}{Overview}
18 \tableofcontents
19 \end{frame}
20
21 \section{Introduction}
22
23 \begin{frame}{Welcome}
24 This is an example presentation using the \textbf{CSH theme}.
25
26 \begin{itemize}
27 \item First point
28 \item Second point
29 \item Third point
30 \end{itemize}
31 \end{frame}
32
33 \begin{frame}{Features}
34 \begin{block}{Block Title}
35 This is a block with some content.
36 \end{block}
37
38 \begin{alertblock}{Alert Block}
39 This is an alert block.
40 \end{alertblock}
41
42 \begin{exampleblock}{Example Block}
43 This is an example block.
44 \end{exampleblock}
45 \end{frame}
46
47 \section{Content}
48
49 \begin{frame}{Enumeration and Math}
50 \begin{enumerate}
51 \item First item
52 \item Second item
53 \item Third item
54 \end{enumerate}
55
56 \vspace{1em}
57
58 Some inline math: $E = mc^2$
59
60 \[
61 \sum_{i=1}^{n} i = \frac{n(n+1)}{2}
62 \]
63 \end{frame}
64
65 \begin{frame}{Figures}
66 \begin{figure}
67 \centering
68 \includegraphics[width=0.3\textwidth]{csh-logo-web}
69 \caption{Example figure with caption}
70 \end{figure}
71 \end{frame}
72
73 \begin{frame}{Tables}
74 \begin{table}
75 \centering
76 \begin{tabular}{lcc}
77 \hline
78 \textbf{Method} & \textbf{Accuracy} & \textbf{Runtime} \\
79 \hline
80 Baseline & 0.72 & 1.2s \\
81 Our approach & \textbf{0.89} & 0.8s \\
82 \hline
83 \end{tabular}
84 \caption{Comparison of methods}
85 \end{table}
86 \end{frame}
87
88 \begin{frame}{Two-Column Layout}
89 \begin{columns}
90 \begin{column}{0.48\textwidth}
91 \textbf{Pros}
92 \begin{itemize}
93 \item Fast convergence
94 \item Low memory usage
95 \item Easy to implement
96 \end{itemize}
97 \end{column}
98 \begin{column}{0.48\textwidth}
99 \textbf{Cons}
100 \begin{itemize}
101 \item Limited scalability
102 \item Requires tuning
103 \item Sensitive to noise
104 \end{itemize}
105 \end{column}
106 \end{columns}
107 \end{frame}
108
109 \begin{frame}[fragile]{Code Listings}
110 \begin{verbatim}
111 def hello_world():
112 print("Hello, World!")
113 return 42
114 \end{verbatim}
115 \end{frame}
116
117 \begin{frame}{Source Citation}
118 You can add source citations (e.g., links to websites) to your slides.
119
120 \source{Source: Your citation here}
121 \end{frame}
122
123 \begin{frame}{References}
124 \begin{thebibliography}{9}
125 \bibitem{thurner2018}
126 S.~Thurner, R.~Hanel, and P.~Klimek.
127 \textit{Introduction to the Theory of Complex Systems}.
128 Oxford University Press, 2018.
129
130 \bibitem{battiston2016}
131 S.~Battiston et al.
132 Complexity theory and financial regulation.
133 \textit{Science}, 351(6275):818--819, 2016.
134 \end{thebibliography}
135 \end{frame}
136
137 % Closing slide
138 \cshclosingslide{Your Name}{[email protected]}{https://csh.ac.at}
139
140 \end{document}