Debian Codegraph @

texmf-dist/doc/latex/beamertheme-geode/beamertheme-geode-doc.tex

raw
1 \documentclass{article}
2
3 % #-----------------------------------------------------#
4 % beamertheme-geode package
5 % by Camille Jaret
6 % under the LaTeX Project Public License 1.3c
7 % #-----------------------------------------------------#
8
9 \usepackage[hidelinks]{hyperref}
10 \usepackage{graphicx}
11 \usepackage{xcolor}
12
13
14 \title{\textbf{\emph{beamertheme-geode} package documentation}}
15 \author{Camille Jaret (\textcolor{blue}{\href{mailto:[email protected]}{[email protected]}})}
16 \date{16 May 2026}
17
18
19
20 \begin{document}
21 \maketitle
22 \tableofcontents
23 \section*{Introduction}
24 \emph{geode} is a beamer package aiming to change the default theme to a new, modern look with a diversity of colour tones. All illustrations are derivatives from the \texttt{geode-example.tex} file provided along the package.
25 \section{Installation}
26 \emph{geode} can be installed on \LaTeX \ like any other package using \texttt{\textbackslash usepackage\{beamertheme-geode\}}.
27 \section{Dependencies}
28 \emph{geode} requires the following packages to work properly :
29 \begin{itemize}
30 \item Tikz
31 \item xcolor
32 \item helvet
33 \end{itemize}
34 \section{Subthemes}
35 \emph{geode} currently offers two ways to modify the default look of beamers using the following options : resolution and colour.
36 \subsection{Resolution}
37 The resolution determine the amount of polygons of the background and surrounding elements. Three settings are available at this time :
38 \begin{itemize}
39 \item \texttt{default} - the default value, for a better visual effect;
40 \item \texttt{lowpoly} - a simplified background for a more minimalistic aspect;
41 \item \texttt{ultralowpoly} - a very simplified effect (fastest compilation time);
42 \item \texttt{highpoly} - a more complex tesselation (may increase processing time).
43 \end{itemize}
44 \begin{center}
45 \begin{minipage}{5.5cm}
46 \begin{center}
47 \includegraphics[scale=0.3]{geode-amethyst_title.png}\\
48 \footnotesize{default setting}
49 \end{center}
50 \end{minipage}
51 \hfill
52 \begin{minipage}{5.5cm}
53 \begin{center}
54 \includegraphics[scale=0.3]{geode-highpoly.png}
55 \footnotesize{\texttt{highpoly} setting}
56 \end{center}
57 \end{minipage}
58 \\
59 \vfill
60 \begin{minipage}{5.5cm}
61 \begin{center}
62 \includegraphics[scale=0.3]{geode-lowpoly.png}
63 \footnotesize{\texttt{lowpoly} setting}
64 \end{center}
65 \end{minipage}
66 \hfill
67 \begin{minipage}{5.5cm}
68 \begin{center}
69 \includegraphics[scale=0.3]{geode-ultralowpoly.png}
70 \footnotesize{\texttt{ultralowpoly} setting}
71 \end{center}
72 \end{minipage}
73 \end{center}
74
75 \subsection{Colour palettes}
76 The currently available colour palettes are showcased below along the name of their option.
77 \begin{center}
78 \begin{minipage}{5.5cm}
79 \begin{center}
80 \includegraphics[scale=0.3]{geode-amethyst_page.png}\\
81 \footnotesize{\texttt{amethyst} palette}
82 \end{center}
83 \end{minipage}
84 \hfill
85 \begin{minipage}{5.5cm}
86 \begin{center}
87 \includegraphics[scale=0.3]{geode-obs_page.png}\\
88 \footnotesize{\texttt{obs} palette}
89 \end{center}
90 \end{minipage}
91 \vfill
92 \begin{minipage}{5.5cm}
93 \begin{center}
94 \includegraphics[scale=0.3]{geode-phos_page.png}\\
95 \footnotesize{\texttt{phos} palette}
96 \end{center}
97 \end{minipage}
98 \hfill
99 \begin{minipage}{5.5cm}
100 \begin{center}
101 \includegraphics[scale=0.3]{geode-citrine_page.png}\\
102 \footnotesize{\texttt{citrine} palette}
103 \end{center}
104 \end{minipage}
105 \vfill
106 \begin{minipage}{5.5cm}
107 \begin{center}
108 \includegraphics[scale=0.3]{geode-diamond_page.png}\\
109 \footnotesize{\texttt{diamond} palette}
110 \end{center}
111 \end{minipage}
112 \hfill
113 \begin{minipage}{5.5cm}
114 \begin{center}
115 \includegraphics[scale=0.3]{geode-pinkquartz_page.png}\\
116 \footnotesize{\texttt{pquartz} palette}
117 \end{center}
118 \end{minipage}
119 \end{center}
120 The colours of the presentation can be accessed through their names : \texttt{bg1},\texttt{bg2},\texttt{bg3},\texttt{bg4} correspond to background colour in order of brightness, \texttt{accent} is the colour of titles, and \texttt{geode} is the colour of some background elements.
121 \\Further customisation is available through the \texttt{\textbackslash custompalette} macro detailed in the next section.
122 \section{Macros}
123 \subsection{Presentation}
124 Presentation macros are meant to make your life slightly easier when giving form to your beamer document.
125 \begin{itemize}
126 \item \texttt{\textbackslash geotitle} - inserts a title card in your presenation;
127 \item \texttt{\textbackslash geosection} - inserts a section card in your presenation;
128 \item \texttt{\textbackslash geosubsec} - inserts a subsection card in your presenation.
129 \end{itemize}
130 \subsection{Custom colour palette}
131 In order to modify key colours of the presentation theme, the following macros are available :
132 \begin{itemize}
133 \item \texttt{\textbackslash custompalette\{element\}\{r\}\{g\}\{b\}} - the \texttt{r,g,b} commponents will affect the hue of the desired \texttt{element} of the current palette. \emph{Note that the rgb chanels take values between 0 and 1}
134 \end{itemize}
135 The editable elements are defined as follows, disinguished in two categories : \\
136 \begin{itemize}
137 \item Overall modifiers :
138 \begin{itemize}
139 \item \texttt{background} - hue of the background tesselation
140 \item \texttt{tone} - hue of the important texts, as well as headline and footline
141 \end{itemize}
142 \item Specific modifiers :
143 \begin{itemize}
144 \item \texttt{bg1}, \texttt{bg2}, \texttt{bg3}, \texttt{bg4} - colours for the background. (\texttt{bg1} is highlighted in yellow bellow).
145 \item \texttt{accent} - colour of the most important text
146 \item \texttt{geode} - colour of some background elements
147 \item \texttt{dots} - colour of the bullet points (set to \texttt{accent} by default, and should be changed if the latter is set to a light colour)
148 \end{itemize}
149 \end{itemize}
150
151 \begin{center}
152 \includegraphics[scale=0.6]{geode-title_c1_highlight.png}
153 \end{center}
154
155 The sleleton for a color theme is as follows : \\
156
157 \texttt{
158 \% Theme colours \\
159 \textbackslash definecolor\{accent\}\{rgb\}\{0,0,0\} \\
160 \textbackslash definecolor\{geode\}\{rgb\}\{0,0,0\} \\
161 \textbackslash definecolor\{dot\}\{rgb\}\{0,0,0\} \\
162 \\
163 \% Background \\
164 \textbackslash definecolor\{bg1\}\{rgb\}\{0,0,0\} \\
165 \textbackslash definecolor\{bg2\}\{rgb\}\{0,0,0\} \\
166 \textbackslash definecolor\{bg3\}\{rgb\}\{0,0,0\} \\
167 \textbackslash definecolor\{bg4\}\{rgb\}\{0,0,0\} \\
168 }
169
170 By naming the file \texttt{beamercolorthemegeode-mytheme.sty}, it can be called within a beamer document using \texttt{\textbackslash usecolortheme\{geode-mytheme\}} to more easily use the same layout over multiple documents.
171 Additionally, the package's \textcolor{blue}{\href{https://github.com/camillejaret/geode/tree/main}{Github page}} feature a 'palette submissions' folder where custom palettes can be added, so that they can be implemented in latter versions of the package.
172
173 \end{document}