| 1 |
\documentclass[11pt]{article} |
| 2 |
|
| 3 |
\usepackage[a4paper,margin=2.5cm]{geometry} |
| 4 |
\usepackage{hyperref} |
| 5 |
\usepackage{enumitem} |
| 6 |
\usepackage{xcolor} |
| 7 |
\usepackage{listings} |
| 8 |
\usepackage{titlesec} |
| 9 |
\usepackage{graphicx} |
| 10 |
|
| 11 |
\hypersetup{ |
| 12 |
colorlinks=true, |
| 13 |
linkcolor=black, |
| 14 |
urlcolor=blue |
| 15 |
} |
| 16 |
|
| 17 |
\titleformat{\section}{\Large\bfseries}{\thesection}{1em}{} |
| 18 |
\titleformat{\subsection}{\large\bfseries}{\thesubsection}{1em}{} |
| 19 |
|
| 20 |
\lstset{ |
| 21 |
basicstyle=\ttfamily\small, |
| 22 |
breaklines=true, |
| 23 |
frame=single, |
| 24 |
backgroundcolor=\color{gray!5} |
| 25 |
} |
| 26 |
|
| 27 |
\title{\textbf{Durham Beamer Theme}\\User Manual} |
| 28 |
\author{Suhail Rizwan} |
| 29 |
% Keep the manual date aligned with the package release date. |
| 30 |
\date{23 February 2026} |
| 31 |
|
| 32 |
\begin{document} |
| 33 |
|
| 34 |
\maketitle |
| 35 |
\tableofcontents |
| 36 |
\newpage |
| 37 |
|
| 38 |
% ========================================================== |
| 39 |
\section{Introduction} |
| 40 |
|
| 41 |
The \textbf{Durham Beamer Theme} is a minimalist, structured, and accessibility-aware presentation theme built from scratch. It is designed around the philosophy of: |
| 42 |
|
| 43 |
\begin{itemize} |
| 44 |
\item Clear structural navigation |
| 45 |
\item Calm visual hierarchy |
| 46 |
\item Cognitive restraint |
| 47 |
\item High contrast accessibility support |
| 48 |
\item API-stable user commands |
| 49 |
\end{itemize} |
| 50 |
|
| 51 |
The theme separates: |
| 52 |
\begin{itemize} |
| 53 |
\item Visual design (theme layer) |
| 54 |
\item Presentation content (your slides) |
| 55 |
\end{itemize} |
| 56 |
|
| 57 |
Users interact with a small, stable, and clearly defined set of commands. |
| 58 |
|
| 59 |
% ========================================================== |
| 60 |
\section{Installation} |
| 61 |
|
| 62 |
The Durham theme is distributed via \textbf{CTAN} and is included in \textbf{TeX Live}. |
| 63 |
Users may install it automatically or manually. |
| 64 |
|
| 65 |
\subsection*{Option 1: Automatic Installation (Recommended)} |
| 66 |
|
| 67 |
If you are using TeX Live (or MiKTeX with package manager), the theme can be installed directly via your package manager. |
| 68 |
|
| 69 |
Then simply load it in your presentation: |
| 70 |
|
| 71 |
\begin{lstlisting} |
| 72 |
\documentclass{beamer} |
| 73 |
\usetheme{durham} |
| 74 |
\end{lstlisting} |
| 75 |
|
| 76 |
No manual file copying is required. |
| 77 |
|
| 78 |
\subsection*{Option 2: Download from CTAN} |
| 79 |
|
| 80 |
Download the official package archive (.zip) from CTAN. |
| 81 |
|
| 82 |
The archive contains: |
| 83 |
|
| 84 |
\begin{itemize} |
| 85 |
\item \texttt{beamerthemedurham.sty} |
| 86 |
\item Documentation |
| 87 |
\item Example files |
| 88 |
\end{itemize} |
| 89 |
|
| 90 |
\subsection*{Local Installation (Project-Level)} |
| 91 |
|
| 92 |
Place the file: |
| 93 |
|
| 94 |
\begin{lstlisting} |
| 95 |
beamerthemedurham.sty |
| 96 |
\end{lstlisting} |
| 97 |
|
| 98 |
in the same directory as your \texttt{.tex} presentation file. |
| 99 |
|
| 100 |
Then use: |
| 101 |
|
| 102 |
\begin{lstlisting} |
| 103 |
\usetheme{durham} |
| 104 |
\end{lstlisting} |
| 105 |
|
| 106 |
\subsection*{TDS Installation (Advanced)} |
| 107 |
|
| 108 |
For system-wide installation, place the file in your local TeX tree: |
| 109 |
|
| 110 |
\begin{lstlisting} |
| 111 |
tex/latex/durham/ |
| 112 |
\end{lstlisting} |
| 113 |
|
| 114 |
Then refresh the TeX filename database (e.g., \texttt{texhash}). |
| 115 |
|
| 116 |
\subsection*{Overleaf Users} |
| 117 |
|
| 118 |
Upload \texttt{beamerthemedurham.sty} into your project directory, |
| 119 |
or rely on TeX Live if the theme is already available. |
| 120 |
|
| 121 |
Then use: |
| 122 |
|
| 123 |
\begin{lstlisting} |
| 124 |
\usetheme{durham} |
| 125 |
\end{lstlisting} |
| 126 |
|
| 127 |
% ========================================================== |
| 128 |
|
| 129 |
% ========================================================== |
| 130 |
\section{Compilation Engine (LuaLaTeX Requirement)} |
| 131 |
|
| 132 |
The Durham Beamer Theme is designed to be compiled with: |
| 133 |
|
| 134 |
\begin{itemize} |
| 135 |
\item \textbf{LuaLaTeX} (recommended and expected) |
| 136 |
\item XeLaTeX (generally compatible) |
| 137 |
\end{itemize} |
| 138 |
|
| 139 |
The theme uses professional font settings and modern font packages. |
| 140 |
For consistent typography and correct font rendering, compile your |
| 141 |
presentation using \textbf{LuaLaTeX}. |
| 142 |
|
| 143 |
Compilation with pdfLaTeX may lead to missing fonts or unexpected font |
| 144 |
substitutions and is not officially supported. |
| 145 |
|
| 146 |
|
| 147 |
\section{Basic Usage} |
| 148 |
|
| 149 |
Minimal working example: |
| 150 |
|
| 151 |
\begin{lstlisting} |
| 152 |
\documentclass{beamer} |
| 153 |
\usetheme{durham} |
| 154 |
|
| 155 |
\title{My Presentation} |
| 156 |
\author{Author Name} |
| 157 |
\date{\today} |
| 158 |
|
| 159 |
\begin{document} |
| 160 |
|
| 161 |
\maketitle |
| 162 |
\makeoutline |
| 163 |
|
| 164 |
\section{Introduction} |
| 165 |
\begin{frame}{Slide Title} |
| 166 |
Content |
| 167 |
\end{frame} |
| 168 |
|
| 169 |
|
| 170 |
\makethankyou{Thank You!}{Questions • Feedback • Collaboration} |
| 171 |
\makereferences |
| 172 |
|
| 173 |
\end{document} |
| 174 |
\end{lstlisting} |
| 175 |
|
| 176 |
% ========================================================== |
| 177 |
\section{Core Commands} |
| 178 |
|
| 179 |
The theme provides four primary page commands. |
| 180 |
|
| 181 |
\subsection{\texttt{\textbackslash maketitle}} |
| 182 |
|
| 183 |
Standard Beamer title page, styled automatically. |
| 184 |
|
| 185 |
\subsection{\texttt{\textbackslash makeoutline}} |
| 186 |
|
| 187 |
Creates the Outline (Table of Contents) slide. |
| 188 |
|
| 189 |
Default usage: |
| 190 |
|
| 191 |
\begin{lstlisting} |
| 192 |
\makeoutline |
| 193 |
\end{lstlisting} |
| 194 |
|
| 195 |
Custom title: |
| 196 |
|
| 197 |
\begin{lstlisting} |
| 198 |
\makeoutline[Plan de la présentation] |
| 199 |
\end{lstlisting} |
| 200 |
|
| 201 |
Features: |
| 202 |
\begin{itemize} |
| 203 |
\item Top 20\% colored strap |
| 204 |
\item Title inside strap (auto wrapping) |
| 205 |
\item Bullet-based TOC (no numbering) |
| 206 |
\item Math-safe section handling |
| 207 |
\end{itemize} |
| 208 |
|
| 209 |
\subsection{\texttt{\textbackslash makereferences}} |
| 210 |
|
| 211 |
Creates a dedicated References slide using the theme's built-in layout. |
| 212 |
|
| 213 |
Usage: |
| 214 |
|
| 215 |
\begin{lstlisting} |
| 216 |
\makereferences |
| 217 |
\end{lstlisting} |
| 218 |
|
| 219 |
This command: |
| 220 |
|
| 221 |
\begin{itemize} |
| 222 |
\item Automatically generates a slide titled “References” |
| 223 |
\item Uses consistent Durham typography and spacing |
| 224 |
\item Preserves structural alignment with the rest of the deck |
| 225 |
\item Works with BibTeX or BibLaTeX workflows |
| 226 |
\end{itemize} |
| 227 |
|
| 228 |
Example with BibTeX: |
| 229 |
|
| 230 |
\begin{lstlisting} |
| 231 |
\bibliographystyle{apalike} |
| 232 |
\bibliography{references} |
| 233 |
\makereferences |
| 234 |
\end{lstlisting} |
| 235 |
|
| 236 |
Example with biblatex: |
| 237 |
|
| 238 |
\begin{lstlisting} |
| 239 |
\printbibliography |
| 240 |
\makereferences |
| 241 |
\end{lstlisting} |
| 242 |
|
| 243 |
The theme does not override citation styles — it controls layout only. |
| 244 |
|
| 245 |
\subsection{\texttt{\textbackslash makethankyou}} |
| 246 |
|
| 247 |
Creates the final slide with two customizable lines. |
| 248 |
|
| 249 |
Usage: |
| 250 |
|
| 251 |
\begin{lstlisting} |
| 252 |
\makethankyou{Thank You!}{Questions • Feedback • Collaboration} |
| 253 |
\end{lstlisting} |
| 254 |
|
| 255 |
First argument: |
| 256 |
\begin{itemize} |
| 257 |
\item Large primary line |
| 258 |
\end{itemize} |
| 259 |
|
| 260 |
Second argument: |
| 261 |
\begin{itemize} |
| 262 |
\item Subtitle line under separator rule |
| 263 |
\end{itemize} |
| 264 |
|
| 265 |
% ========================================================== |
| 266 |
\section{Theme Color Customization} |
| 267 |
|
| 268 |
The theme uses a central color variable: |
| 269 |
|
| 270 |
\begin{lstlisting} |
| 271 |
Theme_Color |
| 272 |
\end{lstlisting} |
| 273 |
|
| 274 |
Default: |
| 275 |
\begin{lstlisting} |
| 276 |
#68236D |
| 277 |
\end{lstlisting} |
| 278 |
|
| 279 |
Override: |
| 280 |
|
| 281 |
\begin{lstlisting} |
| 282 |
\definecolor{Theme_Color}{HTML}{1F4E79} |
| 283 |
\usetheme{durham} |
| 284 |
\end{lstlisting} |
| 285 |
|
| 286 |
All structural elements update automatically: |
| 287 |
\begin{itemize} |
| 288 |
\item Headline |
| 289 |
\item Outline strap |
| 290 |
\item Section bullets |
| 291 |
\item References page |
| 292 |
\item Thank you page |
| 293 |
\item Progress indicators |
| 294 |
\end{itemize} |
| 295 |
|
| 296 |
% ========================================================== |
| 297 |
\section{Theme Modes: Accessibility, Plain, and Invert} |
| 298 |
|
| 299 |
Durham provides optional theme modes that modify contrast and layout behavior. |
| 300 |
These modes are enabled when loading the theme via \texttt{\textbackslash usetheme}. |
| 301 |
|
| 302 |
The three supported configurations are: |
| 303 |
|
| 304 |
\begin{itemize} |
| 305 |
\item \texttt{accessibility} |
| 306 |
\item \texttt{plain} |
| 307 |
\item \texttt{plain,invert} |
| 308 |
\end{itemize} |
| 309 |
|
| 310 |
% ---------------------------------------------------------- |
| 311 |
\subsection{1. Accessibility Mode (High-Contrast Palette, Same Layout)} |
| 312 |
|
| 313 |
Enable: |
| 314 |
|
| 315 |
\begin{lstlisting} |
| 316 |
\usetheme[accessibility]{durham} |
| 317 |
\end{lstlisting} |
| 318 |
|
| 319 |
Accessibility mode keeps the Durham layout unchanged, but switches the theme into a strict |
| 320 |
high-contrast black/white design. |
| 321 |
|
| 322 |
It: |
| 323 |
|
| 324 |
\begin{itemize} |
| 325 |
\item Forces \texttt{Theme\_Color} to \textbf{black}. |
| 326 |
\item Sets the theme's structural elements (headline/footline accents, rules, progress marks, etc.) |
| 327 |
to use black/white contrast. |
| 328 |
\item Preserves the standard Durham layout (headline, footline, progress indicator, section pages, |
| 329 |
outline page). |
| 330 |
\end{itemize} |
| 331 |
|
| 332 |
Accessibility mode may be combined with \texttt{plain}: |
| 333 |
|
| 334 |
\begin{lstlisting} |
| 335 |
\usetheme[accessibility,plain]{durham} |
| 336 |
\end{lstlisting} |
| 337 |
|
| 338 |
This produces a minimal layout with the same high-contrast palette. |
| 339 |
|
| 340 |
Note: In accessibility mode, any user-defined \texttt{Theme\_Color} is overridden to ensure |
| 341 |
reliable contrast. |
| 342 |
|
| 343 |
% ---------------------------------------------------------- |
| 344 |
\subsection{2. Plain Mode (Minimal Layout)} |
| 345 |
|
| 346 |
Enable: |
| 347 |
|
| 348 |
\begin{lstlisting} |
| 349 |
\usetheme[plain]{durham} |
| 350 |
\end{lstlisting} |
| 351 |
|
| 352 |
Plain mode removes structural navigation elements to maximize usable slide space: |
| 353 |
|
| 354 |
\begin{itemize} |
| 355 |
\item Headline is removed. |
| 356 |
\item Footline is removed. |
| 357 |
\item The vertical progress indicator (attached to the footline) is not shown. |
| 358 |
\end{itemize} |
| 359 |
|
| 360 |
Plain mode affects layout only --- it does not change the color palette by itself. |
| 361 |
|
| 362 |
% ---------------------------------------------------------- |
| 363 |
\subsection{3. Plain + Invert (Dark Minimal Mode)} |
| 364 |
|
| 365 |
Enable: |
| 366 |
|
| 367 |
\begin{lstlisting} |
| 368 |
\usetheme[plain,invert]{durham} |
| 369 |
\end{lstlisting} |
| 370 |
|
| 371 |
This configuration produces a dark minimal layout: |
| 372 |
|
| 373 |
\begin{itemize} |
| 374 |
\item Background becomes black. |
| 375 |
\item Text becomes white. |
| 376 |
\item Structural accents adjust for legibility on a dark canvas. |
| 377 |
\item The deck remains in the minimal (plain) layout without headline or footline. |
| 378 |
\end{itemize} |
| 379 |
|
| 380 |
\textbf{Note:} Your bibliography toolchain (BibTeX/Biber) depends on the citation package you choose. The Durham theme remains neutral and only provides the \texttt{\textbackslash makereferences} slide wrapper. |
| 381 |
|
| 382 |
\section{References and Bibliography} |
| 383 |
|
| 384 |
\subsection{Using \texttt{\textbackslash makereferences}} |
| 385 |
|
| 386 |
The theme provides a dedicated references slide command that does not count |
| 387 |
toward slide numbering or progress indicators. |
| 388 |
|
| 389 |
\begin{itemize} |
| 390 |
\item Choose your preferred citation package in the preamble (e.g., \texttt{natbib} or \texttt{biblatex}). |
| 391 |
\item Place \texttt{\textbackslash makereferences\{<bibfile>\}} near the end of the document. |
| 392 |
\end{itemize} |
| 393 |
|
| 394 |
Example with BibTeX: |
| 395 |
|
| 396 |
\begin{lstlisting} |
| 397 |
\usepackage{natbib} |
| 398 |
\bibliographystyle{apalike} |
| 399 |
|
| 400 |
... |
| 401 |
|
| 402 |
\makereferences{references} % uses references.bib |
| 403 |
\end{lstlisting} |
| 404 |
|
| 405 |
The references slide will automatically break across multiple frames if needed. |
| 406 |
|
| 407 |
\section{Conclusion} |
| 408 |
|
| 409 |
The Durham theme is designed for: |
| 410 |
|
| 411 |
\begin{itemize} |
| 412 |
\item Academic lectures |
| 413 |
\item Research seminars |
| 414 |
\item Conferences |
| 415 |
\item Professional presentations |
| 416 |
\end{itemize} |
| 417 |
|
| 418 |
It prioritizes structure, clarity, accessibility, and long-term maintainability. |
| 419 |
|
| 420 |
\vfill |
| 421 |
\begin{center} |
| 422 |
\textit{Beamer Atelier} |
| 423 |
\end{center} |
| 424 |
|
| 425 |
\end{document} |