\documentclass[
compacttoc,
twocoltoc,
% monotoc,
]{neoschool}

\title{The Celestia theme for Beamer}
\author{Version: 2.4.0 \quad\textemdash{}\quad Author: Razik Ikhlef\\[\baselineskip]
  {\normalfont\href{https://edulatex.xyz/celestia/}{https://edulatex.xyz/celestia/}}\\[\baselineskip]
  {\normalfont\href{mailto:razik.ikhlef@csilyon.fr}{razik.ikhlef@csilyon.fr}}}
\date{\today}

\newcommand{\figures}{en}
\newlength{\viewwidth}
\newcommand{\cropfull}{}
\newcommand{\croptop}{trim=0 187 0 0, clip,}
\newcommand{\cropbottom}{trim=0 0 0 224, clip,}
\newenvironment{gallery}[1]{%
  \par\medskip\noindent
  \setlength{\viewwidth}{\dimexpr(\linewidth-3mm*(#1-1))/#1-0.1pt\relax}%
  \setlength{\lineskip}{2.5mm}\setlength{\parfillskip}{0pt plus 1fil}\raggedright\ignorespaces}{\par\medskip}
\newcommand{\view}[4][full]{%
  \begin{minipage}[t]{\viewwidth}\raggedright
    \edef\viewoptions{\csname crop#1\endcsname page=#3, width=\the\dimexpr\viewwidth-0.6pt\relax}%
    {\setlength{\fboxsep}{0pt}\setlength{\fboxrule}{0.3pt}%
     \fcolorbox{black!22}{white}{\expandafter\includegraphics\expandafter[\viewoptions]{celestia-figures/#2-\figures}}}\\[0.6mm]
    {\small #4\strut}
  \end{minipage}\hspace{3mm}\ignorespaces}

\begin{document}

\maketitle

\vspace*{-0.4cm}

\begin{gallery}{3}
  \view{slides}{1}{Title page}
  \view{sections}{3}{Section page with the outline}
  \view{slides}{2}{Theorem, proof, example}
  \view{slides}{3}{Source code}
  \view{slides}{4}{Key figures}
  \view{slides}{5}{Dark palette}
\end{gallery}

\tableofcontents

\section{Introduction}

The Celestia theme is a modern, elegant Beamer theme designed to produce professional and visually appealing presentations. It offers extensive customization while remaining straightforward to use.

Its settings are given when the theme is loaded; most of them can also be changed in the course of the document, for a single slide or for a whole part.

\begin{itemize}
    \item \textbf{Blocks arranged by role}: a panel for what must be known, a mark for what goes with it, a rule for exercises. The theme has 23 block styles, adjustable per family.
    \item \textbf{Environments for teaching}: definitions, theorems, methods, activities, exercises, summaries, multiple-choice questions, source code.
    \item \textbf{Ready-made sets}: 7 color palettes, 6 preset styles, 10 frame title styles, 11 footer styles.
    \item \textbf{Three engines}: LuaLaTeX, XeLaTeX and pdfLaTeX.
\end{itemize}

\subsection{Basic usage}

\begin{code}{latex}
\documentclass{beamer}
\usetheme{Celestia}

\title{My presentation}
\author{John Doe}
\date{\today}

\begin{document}
\maketitle
\end{document}
\end{code}

\subsection{Compilation}

The Celestia theme is designed to be compiled with \texttt{lualatex} or \texttt{xelatex} for full font management through \texttt{fontspec}. A \texttt{pdflatex} compatibility mode is also available.

\subsection{Coming from version 1.2}

Version 2.0 changed the default look: \texttt{ruled} frame titles, large light titles and a motif of discs on the title page and the section pages. Version 2.1 gives each family of blocks a style suited to its role (a pale panel, a \texttt{mast} mark or a \texttt{ruled} title) and one color per type of block; code takes a hairline (\texttt{hairline}) and its lines are numbered in wide blocks. Version 2.3 lightens the code: a faint background (\texttt{soft}), a hairline only with line numbers, no background in blocks, and the \texttt{code}, \texttt{code*} and \texttt{results} environments; the native \texttt{beamer} blocks take a thin frame (\texttt{framed}). The default palette (\texttt{nordic}) and the colors of the palettes are unchanged, with one exception: the block color of \texttt{velvet}, now a plum. The theme now presents ten palettes and six preset styles; the others are still accepted. The following settings give the look closest to version 1.2:

\begin{code}{latex}
\usetheme[
    frametitle=subtle, block=sober,
    codestyle=bar, codenumbers=false,
    titlesize=LargeLARGE, sectiontitlesize=LARGE,
    titleweight=bfseries, motif=false
]{Celestia}
\end{code}

\section{Language}

\subsection{The \texttt{language} option}

Sets the presentation language, which is automatically passed to the \texttt{babel} package. In \texttt{french} mode, the names of mathematical environments (theorem, definition, etc.) and code listing captions are automatically translated.

\textbf{Default:} \texttt{english}

Without this option, the theme follows the language of the document: that of \texttt{babel} or \texttt{polyglossia}, loaded before or after the theme, or the class option (\verb|\documentclass[french]{beamer}|). It loads \texttt{babel} itself only when the document does not. When neither \texttt{language} nor the class option names the language, this loading waits for the end of the preamble: to use a \texttt{babel} command there (\verb|\frenchsetup|, \verb|\addto\captionsenglish|), load \texttt{babel} yourself or give the \texttt{language} option.

\begin{code}{latex}
\usetheme[language=french]{Celestia}
\end{code}

\section{Preset styles}

\subsection{The \texttt{style} option}

The theme provides preset styles that automatically configure several options (palette, frametitle, footerstyle, block) for a cohesive look.

\subsubsection*{Available styles}
\begin{itemize}
    \item \textbf{celestia}: palette nordic, frametitle ruled, footerstyle info, block roles (the default look);
    \item \textbf{modern}: palette nordic, frametitle subtle, footerstyle info, block sober;
    \item \textbf{signature}: palette petrol, frametitle cosmic, footerstyle cosmic, block fullbar;
    \item \textbf{executive}: palette palatial, frametitle leftbar, footerstyle fullbar, block fullbar;
    \item \textbf{sober}: palette terracotta, frametitle gradient, footerstyle info, block sober;
    \item \textbf{stage}: dark palette midnight, frametitle ruled, footerstyle minimalist, block ribbon, emphasis accent, larger frame titles.
\end{itemize}

\begin{gallery}{3}
  \view{slides}{9}{\texttt{celestia}}
  \view{slides}{10}{\texttt{modern}}
  \view{slides}{11}{\texttt{signature}}
  \view{slides}{12}{\texttt{executive}}
  \view{slides}{13}{\texttt{sober}}
  \view{slides}{14}{\texttt{stage}}
\end{gallery}

\begin{code}{latex}
\usetheme[style=signature]{Celestia}
\end{code}

Individual options can be added to the style for further customization. An option given explicitly always overrides the setting of the style, whatever the order of the options:

\begin{code}{latex}
\usetheme[style=modern, palette=petrol]{Celestia}
\end{code}

\subsubsection*{Styles of versions 1.x}

The eight other styles of versions 1.x are still accepted, with their settings and their colors: \texttt{minimal}, \texttt{studio}, \texttt{academic}, \texttt{design}, \texttt{simple}, \texttt{editorial}, \texttt{lumiere} and \texttt{chalk}.

\section{Color palettes}

\subsection{Built-in palettes}

The theme ships with ten palettes. Each palette automatically defines six colors: primary (\texttt{main}), accent, standard block (\texttt{blockcolor}), example (\texttt{examplecolor}), alert (\texttt{alertcolor}), and background (\texttt{background}).

\subsubsection{The \texttt{palette} option}

\textbf{Default:} \texttt{nordic}

\subsubsection*{Available palettes}
\begin{itemize}
    \item \textbf{nordic}: icy Scandinavian blues (default);
    \item \textbf{palatial}: midnight blue with gold accents;
    \item \textbf{petrol}: petrol greens with brass accents;
    \item \textbf{terracotta}: warm terracotta tones;
    \item \textbf{velvet}: dark plum with gold accents;
    \item \textbf{forest}: forest green with copper accents;
    \item \textbf{burgundy}: burgundy with gold accents;
    \item \textbf{graphite}: graphite grey with an orange accent;
    \item \textbf{midnight}: light text on a deep indigo background;
    \item \textbf{dusk}: light text on a dark teal background.
\end{itemize}

\begin{gallery}{4}
  \view{slides}{15}{\texttt{nordic}}
  \view{slides}{16}{\texttt{palatial}}
  \view{slides}{17}{\texttt{petrol}}
  \view{slides}{18}{\texttt{terracotta}}
  \view{slides}{19}{\texttt{velvet}}
  \view{slides}{20}{\texttt{forest}}
  \view{slides}{21}{\texttt{burgundy}}
  \view{slides}{22}{\texttt{graphite}}
  \view{slides}{23}{\texttt{midnight}}
  \view{slides}{24}{\texttt{dusk}}
\end{gallery}

\begin{code}{latex}
\usetheme[palette=petrol]{Celestia}
\end{code}

\textbf{Note:} the \textbf{midnight} and \textbf{dusk} palettes use a dark background. They work well for presentations projected in dimly lit rooms.

\subsubsection*{Palettes of versions 1.x}

The fifteen other palettes of versions 1.x are still accepted, so that existing presentations and the preset styles that use them keep their colors: \texttt{chalk}, \texttt{copper}, \texttt{horizon}, \texttt{imperial}, \texttt{lumiere}, \texttt{manuscript}, \texttt{mineral}, \texttt{obsidian}, \texttt{oxford}, \texttt{prestige}, \texttt{royal}, \texttt{sakura}, \texttt{sapphire}, \texttt{steel} and \texttt{velours}.

\subsection{Custom palette}

\subsubsection{The \texttt{custompalette} option}

Defines a fully custom palette by specifying six hex color codes (without the \texttt{\#}) in order: primary, accent, standard block, example block, alert block, background.

\begin{code}{latex}
\usetheme[
    custompalette={2C3E50,E74C3C,3498DB,27AE60,E67E22,ECF0F1}
]{Celestia}
\end{code}

For a dark palette, add \texttt{light=false}: only the dark palettes provided switch the text to the regular weight by themselves.

\subsection{Individual colors}

For finer control, each color can be overridden individually (hex codes without the \texttt{\#}):

\begin{itemize}
    \item \textbf{maincolor}: primary color for text and headings;
    \item \textbf{accentcolor}: secondary color for decorative elements;
    \item \textbf{backgroundcolor}: slide background color;
    \item \textbf{codebackgroundcolor}: background color for code blocks;
    \item \textbf{blockcolor}: color for standard blocks (theorem, property, etc.);
    \item \textbf{examplecolor}: color for example blocks (definition, example, etc.);
    \item \textbf{alertcolor}: color for alert blocks;
    \item \textbf{remarkcolor}: color for remarks;
    \item \textbf{methodcolor}: color for methods, activities, applications and exercises.
\end{itemize}

\begin{code}{latex}
\usetheme[
    maincolor=045549,
    accentcolor=E63946,
    backgroundcolor=FAFAFA,
    blockcolor=1A3B52
]{Celestia}
\end{code}

The background of a type of block is always computed from its color, so it follows a redefined color.

\subsection{Accessible named colors}

The colors of the active palette are exposed globally as \LaTeX{} color names, directly usable in \texttt{TikZ}, \verb|\color{...}|, \verb|\textcolor{...}|, etc. Their value automatically follows the selected palette: there is no need to copy the hexadecimal code by hand.

\begin{itemize}
    \item \texttt{main}: primary color;
    \item \texttt{accent}: secondary color;
    \item \texttt{background}: slide background color;
    \item \texttt{blockcolor}, \texttt{examplecolor}, \texttt{alertcolor}: colors of the standard blocks, the examples and the alerts;
    \item \texttt{remarkcolor}, \texttt{methodcolor}: colors of remarks and methods;
    \item \texttt{blockbackground}, \texttt{examplebackground}, \texttt{alertbackground}: interior background colors of the standard blocks, the examples and the alerts, computed from the active block style;
    \item \texttt{emphasis}, \texttt{decoration}: colors resolved according to the \texttt{emphasis} and \texttt{decoration} options;
    \item \texttt{accenttext}: the accent color, darkened (or lightened on a dark background) just enough for legible text;
    \item \texttt{emphasistint}: the pale tint of the section pages and of the discs, matched to \texttt{emphasis}.
\end{itemize}

\begin{code}{latex}
\begin{tikzpicture}
    \fill[background] (0,0) rectangle (2,1);
    \draw[main, thick] (0,0) -- (2,1);
    \node[fill=accent, text=background] at (1,0.5) {Text};
\end{tikzpicture}
\end{code}

\subsection{The \texttt{unicolor} option}

Enables a monochromatic mode in which the accent color is used for all elements (blocks, items, decorations). Only alerts keep their color.

\begin{code}{latex}
\usetheme[unicolor]{Celestia}
\end{code}

\subsection{The \texttt{emphasis} and \texttt{decoration} options}

These two options control the colors used for emphasis elements (headings, items) and decorations (rules, ornaments), respectively.

\subsubsection{The \texttt{emphasis} option}

\textbf{Default:} \texttt{main}

\begin{itemize}
    \item \textbf{main}: headings and items use the primary color. The decoration color is then automatically set to \texttt{accent};
    \item \textbf{accent}: headings and items use the accent color, darkened if needed to stay legible (a contrast of at least 4.5:1); the section pages and the discs take a pale tint of the accent.
\end{itemize}

\subsubsection{The \texttt{decoration} option}

\textbf{Default:} follows the value of \texttt{emphasis}

Allows the decoration color to be set independently (\texttt{main} or \texttt{accent}).

\begin{code}{latex}
\usetheme[emphasis=accent, decoration=main]{Celestia}
\end{code}

List marks and enumeration numbers take the decoration color. The numbers are set in the weight of the text; to make them bold:

\begin{code}{latex}
\setbeamerfont{enumerate item}{series=\bfseries}
\end{code}

\section{Fonts}

\subsection{Default fonts}

\begin{itemize}
    \item \textbf{Serif font (main):} Literata (fallback: TeX Gyre Pagella);
    \item \textbf{Sans-serif font:} Inter with light weights (fallback: TeX Gyre Heros);
    \item \textbf{Monospaced font:} IBM Plex Mono (fallback: TeX Gyre Cursor).
\end{itemize}

\subsection{Font customization}

\begin{itemize}
    \item \textbf{serifface}: main serif font (\texttt{literata} by default);
    \item \textbf{seriffaceoptions}: \texttt{fontspec} options for the serif font;
    \item \textbf{sansface}: sans-serif font (\texttt{inter} by default);
    \item \textbf{sansfaceoptions}: options for the sans-serif font (empty by default; the theme automatically applies \texttt{Scale=0.88} and a light weight depending on the engine);
    \item \textbf{monoface}: monospaced font for code (\texttt{plex-mono} by default);
    \item \textbf{monofaceoptions}: \texttt{fontspec} options for the mono font.
\end{itemize}

\begin{code}{latex}
\usetheme[
    serifface=EB Garamond,
    seriffaceoptions={Scale=1.1},
    sansface=Montserrat,
    monoface=Fira Code
]{Celestia}
\end{code}

To disable serif font loading entirely: \texttt{serifface=none}.

With pdfLaTeX, \texttt{serifface}, \texttt{sansface} and \texttt{monoface} name a font package, which receives the options \texttt{seriffaceoptions}, \texttt{sansfaceoptions} and \texttt{monofaceoptions}. Some packages replace the font only with an option: \texttt{sansface=lato, sansfaceoptions=defaultsans}.

\subsubsection*{Engine differences for font lookup}

LuaLaTeX and XeLaTeX both use \texttt{fontspec}, but their font discovery mechanisms differ. \textbf{LuaLaTeX} maintains its own font database (\texttt{luaotfload}) and reliably finds fonts by family name (e.g. \texttt{Source Sans 3}). \textbf{XeLaTeX} relies on the system libraries (fontconfig on Linux, Core Text on macOS), which may not recognize the same name.

If a custom font is not found, the theme falls back to the TeX Gyre family and emits a warning. To avoid the fallback on XeLaTeX, you can:

\begin{itemize}
    \item use the exact file name instead of the family name: \texttt{sansface=SourceSans3-Regular.otf};
    \item check the name registered in fontconfig with \verb+fc-list | grep "Source"+;
    \item prefer \textbf{LuaLaTeX} for the most reliable font discovery.
\end{itemize}

\subsection{The \texttt{allserif} option}

Uses the serif main font as the default body font and activates Beamer's \texttt{serif} font theme.

\begin{code}{latex}
\usetheme[allserif]{Celestia}
\end{code}

\subsection{The \texttt{semibold} option}

Enables semibold (weight 600) as the bold series for the main and sans-serif fonts. With \texttt{pdflatex}, this uses \verb|\DeclareFontSeriesDefault|. With LuaLaTeX or XeLaTeX, the option \texttt{BoldFeatures=\{Weight=600\}} is added to the \texttt{fontspec} options.

\textbf{Default:} \texttt{true}

Whenever the text is in the regular weight (\texttt{light=false}, dark palettes, \texttt{allserif} option), the default becomes \texttt{false}: bold text is set in Bold (weight 700), which keeps the same contrast between text and bold as with the light weight. The \texttt{semibold} option, given explicitly, restores the semibold weight.

\begin{code}{latex}
\usetheme[semibold=false]{Celestia}
\end{code}

\subsection{The \texttt{light} option}

Uses lighter font weights for the body text (weight 300 for the sans-serif font with LuaLaTeX/XeLaTeX, or the \texttt{light} option for Inter with pdflatex). Also applies a lighter weight to the monospaced font.

\textbf{Default:} \texttt{true}

With the dark palettes of the theme, the text is set in the regular weight, which reads better in light on dark, and bold text in Bold. The \texttt{light} option, when given explicitly, restores the light weight there.

The light weight suits reading on a screen; for projection in a classroom, \texttt{light=false} sets the text, the monospaced font and the formulas in the regular weight, and bold text in Bold (see the \texttt{semibold} option).

\begin{code}{latex}
\usetheme[light=false]{Celestia}
\end{code}

\subsection{Math font}

\subsubsection{The \texttt{mathface} option}

Sets the math font. By default, formulas are set in Inter, the text font: letters, digits and Greek letters take the weight of the text (light or regular, depending on the \texttt{light} option), with the three engines. The other symbols remain those of Computer Modern. For the other presets, LuaLaTeX and XeLaTeX use \texttt{unicode-math}; with \texttt{pdflatex}, legacy packages are loaded instead.

\textbf{Default:} \texttt{inter}. The theme falls back to \texttt{iwona} with the \texttt{allserif} option, with a sans-serif font other than Inter, or when the Type~1 fonts of the \texttt{inter} package are not installed.

\subsubsection*{Built-in presets}
\begin{itemize}
    \item \textbf{inter}: Inter, the text font (default);
    \item \textbf{iwona}: Iwona math font;
    \item \textbf{kurier}: Kurier math font;
    \item \textbf{pagella}: TeX Gyre Pagella Math (\texttt{mathpazo} with pdflatex);
    \item \textbf{termes}: TeX Gyre Termes Math (\texttt{newtxmath} with pdflatex);
    \item \textbf{stix}: STIX Two Math (\texttt{stix2} with pdflatex);
    \item \textbf{libertinus}: Libertinus Math (\texttt{libertinust1math} with pdflatex);
    \item \textbf{fira}: Fira Math (LuaLaTeX and XeLaTeX; \texttt{iwona} with pdflatex);
    \item \textbf{noto}: Noto Sans Math (LuaLaTeX and XeLaTeX; \texttt{iwona} with pdflatex);
    \item \textbf{mtpro2}: MathTime Professional 2 (loaded via the \texttt{mtpro2} package with both engines).
\end{itemize}

Any other value is passed directly to \verb|\setmathfont| (LuaLaTeX/XeLaTeX) or \verb|\RequirePackage| (pdflatex).

\begin{code}{latex}
\usetheme[mathface=pagella]{Celestia}
\end{code}

\subsubsection{The \texttt{mathfaceoptions} option}

Additional options passed to \verb|\setmathfont| (LuaLaTeX/XeLaTeX only).

\begin{code}{latex}
\usetheme[mathface=pagella, mathfaceoptions={Scale=1.05}]{Celestia}
\end{code}

\section{Layout}

\subsection{Margins}

\subsubsection{The \texttt{margin} option}

Sets the left and right margin of the slide content area.

\textbf{Default:} \texttt{2em}

\begin{code}{latex}
\usetheme[margin=1.5em]{Celestia}
\end{code}

\subsection{Lists}

\subsubsection{The \texttt{listflush} option}

A list opening a slide, a block or a column has its bullet or number on the margin, in line with the title. A list introduced by a sentence, a nested list and a quotation keep their indent. The \texttt{quiz} environment follows the same rule.

\textbf{Default:} \texttt{true}

With \texttt{listflush=false}, every list keeps the indent of the previous versions. The option can also be set for the rest of the document, with \verb|\celestiaset{listflush=false}|, or for one slide, with the frame option \texttt{celestia=\{listflush=false\}}.

\begin{code}{latex}
\usetheme[listflush=false]{Celestia}
\end{code}

In columns, the \texttt{[T]} option of \verb|\begin{columns}| aligns the first line of each column. With \texttt{[t]}, a list at the top of a column starts one line lower than the text of the next column: this is how Beamer works.

\subsection{Frame title style}

\subsubsection{The \texttt{frametitle} option}

Sets the visual style of each slide's frame title.

\textbf{Default:} \texttt{ruled}

\subsubsection*{Available values}
\begin{itemize}
    \item \textbf{ruled}: short rule under the title, continued by a hairline across the text width (default);
    \item \textbf{subtle}: title with a short underline rule;
    \item \textbf{plainrule}: title with a hairline across the text width;
    \item \textbf{plain}: simple left-aligned title with no decoration;
    \item \textbf{cosmic}: title with a horizontal decorative rule and diamond ornament;
    \item \textbf{line}: title with a full-width horizontal rule;
    \item \textbf{gradient}: title on a pale full-width band;
    \item \textbf{clean}: colored vertical bar to the left of the title;
    \item \textbf{elegant}: title on a full-width colored background, in the weight of the \texttt{headweight} option;
    \item \textbf{leftbar}: vertical bar on the left edge of the page, spanning the full height of the title.
\end{itemize}

\begin{gallery}{2}
  \view[top]{slides}{25}{\texttt{ruled}}
  \view[top]{slides}{26}{\texttt{subtle}}
  \view[top]{slides}{27}{\texttt{plainrule}}
  \view[top]{slides}{28}{\texttt{plain}}
  \view[top]{slides}{29}{\texttt{cosmic}}
  \view[top]{slides}{30}{\texttt{line}}
  \view[top]{slides}{31}{\texttt{gradient}}
  \view[top]{slides}{32}{\texttt{clean}}
  \view[top]{slides}{33}{\texttt{elegant}}
  \view[top]{slides}{34}{\texttt{leftbar}}
\end{gallery}

\begin{code}{latex}
\usetheme[frametitle=elegant]{Celestia}
\end{code}

Every style supports a subtitle via \verb|\framesubtitle{...}|.

\subsubsection{Title spacing}

Two options, \texttt{frametitlepadding} and \texttt{frametitlebottomskip}, fine-tune the title spacing regardless of the selected style. They are useful for compacting the title area to gain vertical space without changing the style's aesthetics.

\begin{itemize}
    \item \textbf{frametitlepadding}=\texttt{dim}: internal padding (top and bottom) of the title box. Default depends on the style (\texttt{1.35em} for most).
    \item \textbf{frametitlebottomskip}=\texttt{dim}: \verb|\vskip| added after the title, typically negative (pulls content up). The default depends on the style: the content starts one line of text under the title with the ten styles. The more negative the value, the smaller the space after the title. An explicit user-supplied value takes priority over all defaults.
\end{itemize}

\begin{code}{latex}
\usetheme[frametitle=subtle, frametitlepadding=0.5em,
          frametitlebottomskip=-1.5em]{Celestia}
\end{code}

\textbf{Note:} the effect of \texttt{frametitlebottomskip} can be masked on short frames, where beamer vertically centers the content. The theme sets this content a little above the middle: one third of the free space above, two thirds below. For strict top alignment, use the \texttt{[t]} option of \verb|\begin{frame}| or of the class.

\subsection{Title page}

The title page shows the subject, the title in a large size and the subtitle. A rule separates them from the author, the institute and the date; it is not drawn when these three fields are empty.

A title longer than three lines takes the whole text width. If it is still longer than three lines, or if the page cannot hold it, it gets smaller, down to half its size. At 14pt, the subtitle, the author, the institute and the date fill most of the page: keep the title under three lines there.

\subsubsection{The \texttt{titlealign} option}

Sets the alignment of the title page content.

\textbf{Default:} \texttt{left}

\textbf{Available values:} \texttt{left}, \texttt{center}, \texttt{right}

\begin{code}{latex}
\usetheme[titlealign=center]{Celestia}
\end{code}

\begin{gallery}{3}
  \view{slides}{1}{\texttt{left}}
  \view{slides}{48}{\texttt{center}}
  \view{slides}{49}{\texttt{right}}
\end{gallery}

\subsubsection{The \texttt{titlebackground} option}

Specifies a background image (displayed at reduced opacity) for the title page.

\begin{code}{latex}
\usetheme[titlebackground=images/background.jpg]{Celestia}
\end{code}

\subsubsection{The \texttt{\textbackslash subject} command}

Defines a subject line displayed in spaced capitals above the main title on the title page and embedded in the PDF metadata.

\begin{code}{latex}
\subject{Computer Science}
\title{Introduction to Graph Theory}
\end{code}

\subsubsection{The \texttt{\textbackslash titlegraphic} command}

Places an image, a logo for instance, on the title page: top right, or above the subject when the content is centered.

\begin{code}{latex}
\titlegraphic{\includegraphics[height=1.2cm]{logo}}
\end{code}

\subsubsection{The \texttt{motif} option}

Draws a motif of pale discs in the bottom right corner of the title page, of the section and subsection pages and of the standout slides. On the title page, an image given with \texttt{titlebackground} replaces it.

\textbf{Default:} \texttt{true}

\begin{code}{latex}
\usetheme[motif=false]{Celestia}
\end{code}

\section{Heading style}

\subsection{Font family}

\subsubsection{The \texttt{headstyle} option}

Sets the font family used for headings.

\textbf{Default:} \texttt{sffamily}

\textbf{Available values:} \texttt{sffamily} (sans-serif), \texttt{rmfamily} (serif)

\subsection{Font shape}

\subsubsection{The \texttt{headshape} option}

Sets the font shape for headings.

\textbf{Default:} \texttt{normal}

\textbf{Available values:} \texttt{normal}, \texttt{sc} (small caps), \texttt{it} (italic)

\subsection{Font weight}

\subsubsection{The \texttt{headweight} option}

Sets the font weight of frame titles.

\textbf{Default:} \texttt{bfseries}

\textbf{Available values:} \texttt{bfseries} (bold), \texttt{mdseries} (medium)

\subsubsection{The \texttt{titleweight} option}

Sets the font weight of the large titles: the title of the title page and the titles of the section and subsection pages.

\textbf{Default:} \texttt{mdseries}

\textbf{Available values:} \texttt{mdseries} (the weight of the text, light by default), \texttt{bfseries} (bold)

\subsection{Block title weight}

\subsubsection{The \texttt{blocktitleweight} option}

Sets the font weight for tcolorbox block titles.

\textbf{Default:} \texttt{bfseries}

\textbf{Available values:} \texttt{bfseries} (bold), \texttt{mdseries} (medium)

\subsection{Heading sizes}

The theme allows each heading element to be sized independently. In addition to the standard LaTeX sizes, Celestia defines intermediate sizes for finer control:

\begin{itemize}
    \item \textbf{titlesize}: main title on the title page (\texttt{Huge} by default);
    \item \textbf{frametitlesize}: frame title (\texttt{normalsize} by default);
    \item \textbf{sectiontitlesize}: section title (\texttt{huge} by default);
    \item \textbf{subtitlesize}: subtitle (\texttt{large} by default);
    \item \textbf{footertextsize}: footer text (\texttt{tiny} by default).
\end{itemize}

\subsubsection*{Available sizes}

The standard LaTeX sizes are available: \texttt{tiny}, \texttt{scriptsize}, \texttt{footnotesize}, \texttt{small}, \texttt{normalsize}, \texttt{large}, \texttt{Large}, \texttt{LARGE}, \texttt{huge}, \texttt{Huge}.

Celestia adds an intermediate size between each consecutive pair:

\begin{itemize}
    \item \texttt{tinyscriptsize} (between tiny and scriptsize);
    \item \texttt{scriptsizefootnotesize} (between scriptsize and footnotesize);
    \item \texttt{footnotesizesmall} (between footnotesize and small);
    \item \texttt{smallnormalsize} (between small and normalsize);
    \item \texttt{normalsizelarge} (between normalsize and large);
    \item \texttt{largeLarge} (between large and Large);
    \item \texttt{LargeLARGE} (between Large and LARGE);
    \item \texttt{LARGEhuge} (between LARGE and huge);
    \item \texttt{hugeHuge} (between huge and Huge).
\end{itemize}

\begin{code}{latex}
\usetheme[
    titlesize=hugeHuge,
    frametitlesize=large,
    sectiontitlesize=LARGEhuge,
    footertextsize=scriptsize
]{Celestia}
\end{code}

\subsection{Full example}

\begin{code}{latex}
\usetheme[
    headstyle=rmfamily,
    headshape=sc,
    headweight=mdseries,
    titleweight=bfseries,
    blocktitleweight=bfseries
]{Celestia}
\end{code}

\section{Footer}

\subsection{The \texttt{footerstyle} option}

Sets the footer style (hidden on the title slide).

\textbf{Default:} \texttt{info}

\subsubsection*{Available values}
\begin{itemize}
    \item \textbf{info}: author and title on the left, slide number on the right (default);
    \item \textbf{minimalist}: discreet slide number in the bottom-right corner;
    \item \textbf{prestige}: three columns (author, title, slide number) separated by middle dots;
    \item \textbf{cosmic}: three columns separated by diamond ornaments;
    \item \textbf{badge}: slide number in a colored tag on the bottom right, author and title on the bottom left;
    \item \textbf{classic}: bar divided into four alternating colored zones (author / title / date / slide number);
    \item \textbf{fullbar}: fully colored bar, four entries separated by dots;
    \item \textbf{ruled}: three columns under a hairline drawn across the text width;
    \item \textbf{framed}: three columns under a hairline drawn across the full page width;
    \item \textbf{boxed}: three columns, slide number in a tinted tag;
    \item \textbf{boxedruled}: hairline across the text width and slide number in a tinted tag.
\end{itemize}

In the footers with several columns, a long author and title can touch: give them a short form in the optional argument of \verb|\author| and \verb|\title|.

\begin{gallery}{2}
  \view[bottom]{slides}{35}{\texttt{info}}
  \view[bottom]{slides}{36}{\texttt{minimalist}}
  \view[bottom]{slides}{37}{\texttt{prestige}}
  \view[bottom]{slides}{38}{\texttt{cosmic}}
  \view[bottom]{slides}{39}{\texttt{badge}}
  \view[bottom]{slides}{40}{\texttt{classic}}
  \view[bottom]{slides}{41}{\texttt{fullbar}}
  \view[bottom]{slides}{42}{\texttt{ruled}}
  \view[bottom]{slides}{43}{\texttt{framed}}
  \view[bottom]{slides}{44}{\texttt{boxed}}
  \view[bottom]{slides}{45}{\texttt{boxedruled}}
\end{gallery}

The slide number reads ``12 / 40'' (current slide, then total), except in the \texttt{minimalist} style, which gives the current number only.

\begin{code}{latex}
\usetheme[footerstyle=info]{Celestia}
\end{code}

\subsection{The \texttt{progressbar} option}

Adds a progress bar at the bottom of each slide. For the \texttt{info} and \texttt{minimalist} styles, the bar is natively integrated into the footer. For other styles, it is overlaid at the bottom of the page.

\textbf{Default:} \texttt{false}

\begin{code}{latex}
\usetheme[progressbar]{Celestia}
\end{code}

\subsection{Appendix}

Slides placed after the \verb|\appendix| command do not count in the displayed total: the slide number and the progress bar refer to the main part, and the appendix slides are numbered separately. Corrections or extra material can thus be placed at the end of a presentation without distorting the numbering.

\begin{code}{latex}
\begin{frame}{Conclusion}
    ...
\end{frame}

\appendix

\begin{frame}{Corrections}
    ...
\end{frame}
\end{code}

\subsection{The \texttt{shownavigation} option}

Displays the Beamer navigation symbols above the footer, on the right (disabled by default).

\begin{code}{latex}
\usetheme[shownavigation]{Celestia}
\end{code}

\section{Table of contents}

Section numbers sit in a column of fixed width, so that the titles line up. The space between two sections shrinks by itself when the list is long.

\subsection{The \texttt{compacttoc} option}

Reduces the vertical spacing between entries in the table of contents.

\begin{code}{latex}
\usetheme[compacttoc]{Celestia}
\end{code}

\subsection{The \texttt{twocoltoc} option}

Automatically distributes sections across two columns.

\begin{code}{latex}
\usetheme[twocoltoc]{Celestia}
\end{code}

\subsection{The \texttt{\textbackslash twocolumntoc} command}

Provides manual control over the two-column distribution by specifying section ranges.

\begin{code}{latex}
\twocolumntoc[1][5][10]
\end{code}

This example places sections 1 through 4 in the left column and sections 5 through 10 in the right column.

\section{Blocks}

\subsection{Block types}

Three Beamer block types are available, each associated with a semantic color:

\begin{code}{latex}
\begin{block}{Block title}
    Standard block content (blockcolor)
\end{block}

\begin{exampleblock}{Example}
    Example block content (examplecolor)
\end{exampleblock}

\begin{alertblock}{Warning}
    Alert block content (alertcolor)
\end{alertblock}
\end{code}

\subsection{Block style}

\subsubsection{The \texttt{block} option}

Sets the design of blocks.

\textbf{Default:} \texttt{roles}

With the value \texttt{roles}, each family of blocks receives the style suited to its role in the talk: a panel for definitions and theorems, a mark beside the title for examples, remarks and activities, a rule under the title for exercises (see ``Styles per family of blocks''). Any other value gives the same style to all blocks.

\subsubsection*{tcolorbox styles}
\begin{itemize}
    \item \textbf{callout}: sidebar in the block color, colored title and text on a pale panel;
    \item \textbf{line}: the same sidebar, colored title, no background;
    \item \textbf{soft}: colored title on a pale background in the hue of the block;
    \item \textbf{shaded}: title on a strong band, text on a pale background of the same hue;
    \item \textbf{ruled}: headed rule under the title, as under the frame titles, on a pale background;
    \item \textbf{underline}: title underlined by a rule of its own length, on a pale background;
    \item \textbf{discs}: three discs in the corner of the block, echoing the motif of the title page, on a pale background;
    \item \textbf{plain}: frame in the block color, title on a solid band;
    \item \textbf{card}: the same frame with square corners, text on a pale background;
    \item \textbf{ribbon}: sidebar, title on a pale band, text on the page background;
    \item \textbf{framed}: title on a pale band, thin frame in the same color as the band;
    \item \textbf{mast}: thick stroke beside the title, continued by a hairline that runs along the text and ends in a hook under the last line, no background;
    \item \textbf{masthead}: the thick stroke beside the title, alone;
    \item \textbf{mastbox}: the thick stroke beside the title and a hairline that frames the whole block;
    \item \textbf{bracket}: thin bracket along the left edge of the block, no background;
    \item \textbf{legend}: thin frame, title set on the line of the frame;
    \item \textbf{legendbox}: the same, with the title in a small box;
    \item \textbf{outline}: thin frame around the title and the text, no background;
    \item \textbf{badge}: title in a solid label, astride the edge of a framed pale panel;
    \item \textbf{softbadge}: title in a pale label, astride the edge of a pale panel with no frame.
\end{itemize}

\begin{gallery}{3}
  \view{blocks}{1}{\texttt{callout}}
  \view{blocks}{2}{\texttt{line}}
  \view{blocks}{3}{\texttt{soft}}
  \view{blocks}{4}{\texttt{shaded}}
  \view{blocks}{5}{\texttt{ruled}}
  \view{blocks}{6}{\texttt{underline}}
  \view{blocks}{7}{\texttt{discs}}
  \view{blocks}{8}{\texttt{plain}}
  \view{blocks}{9}{\texttt{card}}
  \view{blocks}{10}{\texttt{ribbon}}
  \view{blocks}{11}{\texttt{framed}}
  \view{blocks}{12}{\texttt{mast}}
  \view{blocks}{13}{\texttt{masthead}}
  \view{blocks}{20}{\texttt{mastbox}}
  \view{blocks}{14}{\texttt{bracket}}
  \view{blocks}{15}{\texttt{legend}}
  \view{blocks}{16}{\texttt{legendbox}}
  \view{blocks}{17}{\texttt{outline}}
  \view{blocks}{18}{\texttt{badge}}
  \view{blocks}{19}{\texttt{softbadge}}
\end{gallery}

\begin{code}{latex}
\usetheme[block=line]{Celestia}
\end{code}

\subsubsection{The \texttt{blockfill} option}

Adds or removes the tinted background of blocks. Each style has its natural value: the \texttt{line}, \texttt{plain}, \texttt{ribbon}, \texttt{framed} and \texttt{outline} styles have no background; the \texttt{callout}, \texttt{card}, \texttt{soft}, \texttt{shaded}, \texttt{ruled}, \texttt{underline}, \texttt{discs}, \texttt{badge} and \texttt{softbadge} styles have one. The option \texttt{blockfill} (or \texttt{blockfill=true}) adds the background, \texttt{blockfill=false} removes it. The \texttt{discs} style always keeps its background; the \texttt{mast}, \texttt{masthead}, \texttt{mastbox}, \texttt{bracket}, \texttt{legend} and \texttt{legendbox} styles never have one.

\begin{code}{latex}
\usetheme[blockfill=false]{Celestia}
\usetheme[block=ruled, blockfill=false]{Celestia}
\usetheme[block=line, blockfill]{Celestia}
\end{code}

\subsubsection{The \texttt{blockcorners} option}

Sets the shape of the corners of the \texttt{callout}, \texttt{plain}, \texttt{card}, \texttt{framed} and \texttt{outline} styles: \texttt{rounded} (the natural value of \texttt{plain}) or \texttt{sharp} (the natural value of the other four). With \texttt{callout}, the sidebar follows the rounding.

\begin{code}{latex}
\usetheme[blockcorners=rounded]{Celestia}
\usetheme[block=plain, blockcorners=sharp]{Celestia}
\end{code}

\subsubsection*{Block colors}

Each type of block has its own color, the same in every style: it shows in the title, the bar or the band, and the background of the block is a pale tint of it: the block color mixed into the page background, at 7\,\% under the text and 26\,\% in the title bands. Standard blocks, examples and alerts take the \texttt{blockcolor}, \texttt{examplecolor} and \texttt{alertcolor} of the palette. Remarks and methods receive two colors designed for each palette, \texttt{remarkcolor} and \texttt{methodcolor}. With a custom palette, remarks take the text color and methods the accent color.

\subsubsection*{Names from earlier versions}

The following names are still accepted: \texttt{bar} (\texttt{line} with a background), \texttt{fullbar} (\texttt{ribbon} with a background), \texttt{noback} (\texttt{soft} without a background) and \texttt{sober} (\texttt{soft}).

\subsubsection*{Native Beamer styles}
\begin{itemize}
    \item \textbf{native}: native Beamer rounded blocks with a colored background;
    \item \textbf{native-shadow}: native Beamer rounded blocks with a drop shadow;
    \item \textbf{native-default}: default Beamer blocks (rectangular).
\end{itemize}

\begin{gallery}{3}
  \view{blocks}{21}{\texttt{native}}
  \view{blocks}{22}{\texttt{native-shadow}}
  \view{blocks}{23}{\texttt{native-default}}
\end{gallery}

These three styles rely on the blocks of Beamer and not on \texttt{tcolorbox}: the \texttt{blockfill} and \texttt{blockcorners} options do not apply to them.

\begin{code}{latex}
\usetheme[block=native]{Celestia}
\end{code}

\subsubsection{Block opacity options}

Giving a value to one of the following options restores, for the style concerned, the background of versions 1.x: the block color mixed with the page background in the given proportion (decimal value between 0 and 1). With \texttt{auto}, the default, each palette keeps the background designed for it:

\begin{itemize}
    \item \textbf{shadedblockopacity}: opacity of the title band for the \texttt{shaded} style (\texttt{0.30} gives the look of versions 1.x);
    \item \textbf{soberblockopacity}: opacity for the \texttt{sober} style (\texttt{0.18} gives the look of versions 1.x);
    \item \textbf{softblockopacity}: opacity for the \texttt{soft} style (\texttt{0.18} gives the look of versions 1.x);
    \item \textbf{barblockopacity}: opacity for the \texttt{bar} style (\texttt{0.05} gives the look of versions 1.x).
\end{itemize}

\begin{code}{latex}
\usetheme[block=sober, soberblockopacity=0.25]{Celestia}
\end{code}

\subsection{Styles per family of blocks}

The blocks and the environments of the theme fall into twelve families, according to their role in the talk. Each family has its own option. With \texttt{block=roles}, the default, the families receive the styles of the last column.

\begin{tabular}{lll>{\raggedright\arraybackslash}p{4.6cm}l}
    \textbf{Family} & \textbf{Option} & \textbf{Color} & \textbf{Environments} & \textbf{Style} \\
    \hline
    Definitions & \texttt{definitionblock} & \texttt{examplecolor} & \texttt{definition} & \texttt{callout} \\
    Results & \texttt{theoremblock} & \texttt{blockcolor} & \texttt{theorem}, \texttt{proposition}, \texttt{property}, \texttt{lemma}, \texttt{corollary} & \texttt{callout} \\
    Methods & \texttt{methodblock} & \texttt{methodcolor} & \texttt{method} & \texttt{callout} \\
    Alerts & \texttt{alertblock} & \texttt{alertcolor} & \texttt{alertblock} & \texttt{framed} \\
    Standard blocks & \texttt{standardblock} & \texttt{blockcolor} & \texttt{block} & \texttt{framed} \\
    Example blocks & \texttt{nativeexampleblock} & \texttt{examplecolor} & \texttt{exampleblock} & \texttt{framed} \\
    Proofs & \texttt{proofblock} & \texttt{blockcolor} & \texttt{proof} & \texttt{mast} \\
    Examples & \texttt{exampleblock} & \texttt{examplecolor} & \texttt{example} & \texttt{mast} \\
    Remarks & \texttt{remarkblock} & \texttt{remarkcolor} & \texttt{remark} & \texttt{mast} \\
    Activities & \texttt{activityblock} & \texttt{methodcolor} & \texttt{activity}, \texttt{application} & \texttt{mast} \\
    Exercises & \texttt{exerciseblock} & \texttt{methodcolor} & \texttt{exercise} & \texttt{ruled} \\
    Summaries & \texttt{summaryblock} & \texttt{blockcolor} & \texttt{summary} & \texttt{card} \\
\end{tabular}

\begin{gallery}{3}
  \view{slides}{6}{Panel and marks}
  \view{slides}{7}{Method, activity, exercise}
  \view{slides}{8}{Summary}
\end{gallery}

\vspace{0.5\baselineskip}

Four designs thus share the page. What must be known sits on a pale panel with a side bar for definitions, results and methods (\texttt{callout}), which only the color tells apart; alerts and standard blocks have their title on a pale band, within a thin frame (\texttt{framed}). What goes with it (examples, remarks, proofs, activities, applications) only has a mark beside the title, continued by a hairline that ends in a hook under the text (\texttt{mast}). Exercises have a rule under the title, with no background (\texttt{ruled} with the word \texttt{nofill}). The summary, which closes a part, is the only block to receive a frame with a solid band, on a pale panel (\texttt{card}).

The three native blocks of \texttt{beamer} (\texttt{block}, \texttt{exampleblock} and \texttt{alertblock}) share this frame with a title band, each in its own color. Each has its own option: \texttt{standardblock}, \texttt{nativeexampleblock} and \texttt{alertblock}. The \texttt{exampleblock} option, for its part, only sets the \texttt{example} environment. The plural environments, such as \texttt{definitions} or \texttt{exercises}, follow their family. An environment created with \verb|\newtheorem| follows the family of results, or that of examples when it is declared after \verb|\theoremstyle{example}|.

A family option takes the name of a \texttt{tcolorbox} style from the list above. It overrides the \texttt{block} option.

\begin{code}{latex}
\usetheme[theoremblock=ruled, proofblock=masthead]{Celestia}
\usetheme[block=line, summaryblock=shaded]{Celestia}
\end{code}

The first line keeps the default distribution and changes two families. The second gives the \texttt{line} style to all blocks except the summaries.

The background and the corners can also be set per family. After the name of the style, in braces, the words \texttt{fill} and \texttt{nofill} add or remove the background, the words \texttt{rounded} and \texttt{sharp} set the corners. Without these words, the family follows the \texttt{blockfill} and \texttt{blockcorners} options.

\begin{code}{latex}
\usetheme[theoremblock={ruled, nofill}, alertblock={callout, rounded}]{Celestia}
\end{code}

The value \texttt{auto} returns a family to the general setting, given by the \texttt{block} option:

\begin{code}{latex}
\celestiaset{theoremblock=auto}
\end{code}

The family options have no effect with the native Beamer blocks.

\section{Special slides}

\subsection{Standout slides}

The \texttt{standout} frame option turns a slide into a highlight page with an inverted colored background, without title or footer. It is a frame option only: it is not meant to be passed in the theme options.

\begin{code}{latex}
\usetheme{Celestia}

\begin{frame}[standout]
    Key takeaway

    \vspace{1em}
    \large --- Quote
\end{frame}
\end{code}

\subsection{Quote slides}

The \texttt{quote} frame option sets a centered quotation, in a large size, on a tinted background, without title or footer.

\begin{code}{latex}
\begin{frame}[quote]
    The text of the quotation.\\[0.6em]
    {\small Its author}
\end{frame}
\end{code}

\begin{gallery}{3}
  \view{slides}{46}{Emphasis page}
  \view{slides}{47}{Quotation page}
\end{gallery}

\subsection{Image slides}

\verb|\imagepage[caption]{file}| creates a slide whose image covers the whole page. The optional caption is shown at the bottom left. The command is used outside of any \texttt{frame} environment.

\begin{code}{latex}
\imagepage[Site model, scale 1:200.]{images/model.jpg}
\end{code}

\subsection{Section slides}

\subsubsection{Section slide options}

Controls the automatic display of section divider slides. The section title is set in a large size, on a tinted background, under the title of the presentation recalled in spaced capitals.

\textbf{Defaults:} \texttt{sectionpage=true}, \texttt{sectionnumber=false}, \texttt{subsectionpage=false}

\begin{itemize}
    \item \textbf{sectionpage}: enables or disables automatic section divider slides;
    \item \textbf{sectionnumber}: puts the section number before the title;
    \item \textbf{subsectionpage}: adds a slide at the start of every subsection; the section name is recalled above the subsection title.
\end{itemize}

\begin{code}{latex}
\usetheme[sectionpage=false]{Celestia}
\usetheme[sectionnumber]{Celestia}
\usetheme[subsectionpage]{Celestia}
\end{code}

The \verb|\sectionpage| and \verb|\subsectionpage| commands typeset these slides on demand, inside a \texttt{frame}.

To disable section slides manually within the document:

\begin{code}{latex}
\AtBeginSection{}
\end{code}

The command \verb|\celestiaset{sectionpage=false}| does the same from the place where it is given, and \verb|\celestiaset{sectionpage}| brings the section slides back.

\subsubsection{Outline on the section slide}

The \texttt{sectiontoc} option recalls the outline of the presentation on every section slide: the audience sees where the talk stands. It comes in two forms.

\begin{itemize}
    \item \texttt{sectiontoc} (or \texttt{sectiontoc=list}): the list of sections takes the place of the title. The section that starts is set in a large size, the others in a small size and dimmed. Every line is a link to its section.
    \item \texttt{sectiontoc=dots}: the section title stays alone, followed by a row of dots, one per section. The sections already seen are filled, the sections to come are hollow and the section that starts carries its number.
\end{itemize}

\textbf{Default:} \texttt{false}

\begin{code}{latex}
\usetheme[sectiontoc, sectionnumber]{Celestia}
\usetheme[sectiontoc=dots]{Celestia}
\end{code}

\begin{gallery}{4}
  \view{sections}{1}{Default}
  \view{sections}{2}{\texttt{sectionnumber}}
  \view{sections}{3}{\texttt{sectiontoc}}
  \view{sections}{4}{\texttt{sectiontoc=dots}}
\end{gallery}

When the list is too long to fit on the slide (beyond a dozen sections, or with titles running over several lines), the theme switches to the \texttt{dots} form by itself. The outline needs two compilations.

\section{Source code}

\subsection{Code handler}

\subsubsection{The \texttt{codehandler} option}

Sets the syntax highlighting backend.

\textbf{Default:} \texttt{listings}

\textbf{Available values:} \texttt{listings} (the \texttt{listings} package) or \texttt{minted} (the \texttt{minted} package, requires Pygments)

\begin{code}{latex}
\usetheme[codehandler=minted]{Celestia}
\end{code}

In \texttt{french} mode, code listing captions are automatically relabeled to \emph{Programme}.

\subsection{Code block style}

\subsubsection{The \texttt{codestyle} option}

Sets the visual style of code blocks.

\textbf{Default:} \texttt{soft}

\subsubsection*{Available values}
\begin{itemize}
    \item \textbf{soft}: a faint background and the name of the language on the right; with line numbers, a hairline in a light shade of the accent color separates the numbers from the code (default);
    \item \textbf{minimal}: no background and no hairline, the code on the text margin; with line numbers, the same hairline separates the numbers from the code;
    \item \textbf{hairline}: pale neutral background and a hairline on the left;
    \item \textbf{tint}: pale neutral background, no frame and no bar;
    \item \textbf{bar}: colored sidebar on the left;
    \item \textbf{frame}: thin border with rounded corners;
    \item \textbf{macos}: macOS-style window chrome with three colored dots;
    \item \textbf{box}: box with a colored top bar.
\end{itemize}

\begin{gallery}{4}
  \view{code}{1}{\texttt{soft}}
  \view{code}{2}{\texttt{minimal}}
  \view{code}{3}{\texttt{hairline}}
  \view{code}{4}{\texttt{tint}}
  \view{code}{5}{\texttt{bar}}
  \view{code}{6}{\texttt{frame}}
  \view{code}{7}{\texttt{macos}}
  \view{code}{8}{\texttt{box}}
\end{gallery}

\begin{code}{latex}
\usetheme[codestyle=minimal]{Celestia}
\end{code}

\subsubsection*{Code in a block}

In a block (\texttt{block}, \texttt{definition}, \texttt{example}, etc.), code never has a background: the block already frames it. With \texttt{soft}, \texttt{minimal}, \texttt{hairline} and \texttt{tint}, it lines up with the text of the block; its numbers start from the text margin and a hairline in the color of the block separates them from the code (\texttt{tint} has no hairline, \texttt{hairline} keeps its own even without numbers). The other styles keep their frame or their bar. The name of the language is left out.

\begin{gallery}{3}
  \view{code}{17}{In a block}
  \view{code}{18}{In a block, with line numbers}
\end{gallery}

\subsection{The \texttt{code}, \texttt{code*} and \texttt{results} environments}

The theme provides three environments, with \texttt{listings} as with \texttt{minted}:

\begin{itemize}
    \item \textbf{code}: a code block that is always numbered;
    \item \textbf{code*}: a code block that is never numbered;
    \item \textbf{results}: console output, in a monospaced font in the color of the text, with no background, hairline, highlighting or numbers, whatever the code style.
\end{itemize}

The mandatory argument of \texttt{code} and \texttt{code*} gives the language: a \texttt{listings} style (\texttt{python}, \texttt{latex}) or language (\texttt{C}, \texttt{SQL}), a \texttt{minted} lexer (\texttt{python}, \texttt{c}). The optional argument takes the options of the code handler, for instance \texttt{caption=...} with \texttt{listings}.

\begin{code*}{latex}
\begin{code}{python}
for n in range(1, 4):
    print(f"{n} squared is {n * n}")
\end{code}
\begin{results}
1 squared is 1
2 squared is 4
3 squared is 9
\end{results}
\end{code*}

\begin{gallery}{3}
  \view{code}{19}{\texttt{code} and \texttt{results}}
\end{gallery}

A document that already defines its own \texttt{code} or \texttt{results} environment keeps it. The \texttt{lstlisting} and \texttt{minted} environments remain available; their numbers follow the \texttt{codenumbers} option.

\subsection{Code framing}

\subsubsection{Frame options}

Controls the \texttt{tcolorbox} wrapping around code blocks.

\textbf{Default:} \texttt{codebox=true} (wrapping enabled)

\begin{itemize}
    \item \textbf{codebox}: enables the code wrapper (on by default; use \texttt{codebox=false} to disable);
    \item \textbf{nocodeframe}: keeps the \texttt{tcolorbox} wrapper but removes the visible border (\texttt{frame}, \texttt{macos} and \texttt{box} code styles; the \texttt{soft}, \texttt{minimal}, \texttt{hairline}, \texttt{tint} and \texttt{bar} styles have no frame).
\end{itemize}

\begin{code}{latex}
\usetheme[codebox=false]{Celestia}
\end{code}

\subsection{Language name and line numbers}

\subsubsection{The \texttt{codelabel} option}

With \texttt{listings}, the name of the language is shown in small capitals in the upper right corner of the code block, with the styles that have a background. It is left out with \texttt{minimal}, which has no background to hold it, inside a block, in narrow blocks, which take up at most 45\,\% of the width of the slide (one column out of two, for instance), and when the first line of the code is long enough to reach it.

\textbf{Default:} \texttt{true}

\begin{code}{latex}
\usetheme[codelabel=false]{Celestia}
\end{code}

\subsubsection{The \texttt{codenumbers} option}

Numbers the lines of the code. With \texttt{minimal} and inside a block, the numbers are right-aligned from the text margin; with the styles that have a background, they are centered in a gutter, on the left of the block. The column of numbers takes the width of the largest number: it is exact from the second compilation on.

\textbf{Default:} \texttt{auto}

\subsubsection*{Available values}
\begin{itemize}
    \item \textbf{auto}: numbers the wide code blocks whose language is known (default);
    \item \textbf{true}: numbers every block; \texttt{codenumbers} alone does the same;
    \item \textbf{false}: numbers no block.
\end{itemize}

A block is wide when it takes up more than 45\,\% of the width of the slide: a block across the full width is, a block in one column out of two is not. The language is known when the block gives it (\texttt{style=python}, \texttt{language=C}) or when an \verb|\lstset| has set it, and always with \texttt{minted}. The \texttt{code} and \texttt{code*} environments override this option, and so does a block marked \texttt{numbers=none} (\texttt{listings}) or \texttt{linenos=false} (\texttt{minted}). Inline code and the \texttt{results} environment are never numbered.

\begin{code}{latex}
\usetheme[codenumbers=false]{Celestia}
\end{code}

\begin{gallery}{4}
  \view{code}{9}{\texttt{soft}}
  \view{code}{10}{\texttt{minimal}}
  \view{code}{11}{\texttt{hairline}}
  \view{code}{12}{\texttt{tint}}
  \view{code}{13}{\texttt{bar}}
  \view{code}{14}{\texttt{frame}}
  \view{code}{15}{\texttt{macos}}
  \view{code}{16}{\texttt{box}}
\end{gallery}

Both options can be changed in the course of the document, for instance to number the code of a single slide:

\begin{code}{latex}
\begin{frame}[fragile, celestia={codenumbers}]{Program}
    ...
\end{frame}
\end{code}

\subsection{Usage with \texttt{listings}}

\begin{code}{latex}
\begin{lstlisting}[style=python]
def fibonacci(n):
    if n <= 1:
        return n
    return fibonacci(n-1) + fibonacci(n-2)
\end{lstlisting}
\end{code}

A \texttt{python} style is provided out of the box. Keywords are set in bold in the legible accent color (\texttt{accenttext}), built-in functions (\texttt{print}, \texttt{len}, \texttt{range}, etc.) in the color of methods, the constants \texttt{True}, \texttt{False} and \texttt{None} in the color of remarks, and strings in the color of examples. \texttt{language=Python} gives the same colors.

\section{Text formatting}

\subsection{Special commands}

\begin{itemize}
    \item \verb|\texttt{text}|: monospaced font, slightly smaller than the text;
    \item \verb|\alert{text}|: text in the alert color;
    \item \verb|\mathterm{x}|: formats a mathematical term (bold, block color);
    \item \verb|\mathdef{x}|: formats a mathematical definition (italic, example color);
    \item \verb+\cverb|code|+: inline coloured \LaTeX{} code, used like \verb|\verb| in a \texttt{fragile} frame.
\end{itemize}

\subsection{The \texttt{boldurl} option}

Renders URLs in bold within hyperlinks.

\begin{code}{latex}
\usetheme[boldurl]{Celestia}
\end{code}

\section{Components}

The theme defines the \verb|\source|, \verb|\keyfigure|, \verb|\tablehead| and \verb|\imagepage| commands only if the document does not already define a command of the same name: in that case, the command of the document is kept.

\subsection{Source line}

\verb|\source{...}| writes a source line in a small size, above the footer, on the left margin. It takes the place of footnotes: do not use it on a slide that has one.

\begin{code}{latex}
\begin{frame}{Population}
    ...
    \source{Source: Eurostat, 2025.}
\end{frame}
\end{code}

\subsection{Key figure}

\verb|\keyfigure{number}{label}| sets a number in a large size, followed by its label. The command takes the width of the column it is placed in.

\begin{code}{latex}
\begin{columns}
    \begin{column}{0.3\textwidth}
        \keyfigure{298}{square metres}
    \end{column}
    \begin{column}{0.3\textwidth}
        \keyfigure{3}{terraced houses}
    \end{column}
\end{columns}
\end{code}

\begin{gallery}{3}
  \view{slides}{4}{Key figures and source}
\end{gallery}

\subsection{Tables}

Table rules take a softened tint of the primary color. \verb|\tablehead{...}| formats a header cell.

\begin{code}{latex}
\begin{tabular}{lr}
    \hline
    \tablehead{Variant} & \tablehead{Area} \\
    \hline
    Strip & 312 \\
    Terraces & 298 \\
    \hline
\end{tabular}
\end{code}

\section{Math environments}

The theme defines theorem-like environments with a streamlined syntax built on \texttt{tcolorbox}. Each environment accepts key-value options in brackets: \texttt{title} for a subtitle and \texttt{label} for cross-referencing. The style of each environment is that of its family (see ``Styles per family of blocks'').

\subsection{Block-type environments}

\begin{itemize}
    \item \texttt{theorem}: theorem;
    \item \texttt{lemma}: lemma;
    \item \texttt{proposition}: proposition;
    \item \texttt{corollary}: corollary;
    \item \texttt{property} / \texttt{properties}: property / properties;
    \item \texttt{proof}: proof (Beamer environment, unnumbered; the title is set without a final period);
    \item \texttt{summary}: summary, titled ``Key points'', unnumbered.
\end{itemize}

\subsection{Example-type environments}

\begin{itemize}
    \item \texttt{definition} / \texttt{definitions}: definition / definitions;
    \item \texttt{example} / \texttt{examples}: example / examples.
\end{itemize}

\subsection{Other environments}

\begin{itemize}
    \item \texttt{remark} / \texttt{remarks}: remark / remarks, in the \texttt{remarkcolor} color;
    \item \texttt{method}: method, in the \texttt{methodcolor} color;
    \item \texttt{activity} / \texttt{activities}: activity / activities, in the \texttt{methodcolor} color;
    \item \texttt{application} / \texttt{applications}: application / applications, in the \texttt{methodcolor} color;
    \item \texttt{exercise} / \texttt{exercises}: exercise / exercises, in the \texttt{methodcolor} color.
\end{itemize}

If the document or another package already defines an \texttt{exercise} environment, the theme keeps that definition.

The alert color is reserved for \texttt{alertblock} blocks.

\subsection{Summary}

The \texttt{summary} environment typesets the summary of a part, under the title ``Key points'' (``À retenir'' in French). The \texttt{title} option adds a precision in parentheses.

\begin{code}{latex}
\begin{summary}
    \begin{itemize}
        \item A geometric sequence with ratio $q$ satisfies $u_{n+1} = q \times u_n$.
        \item Its general term is $u_n = u_0 \times q^n$.
    \end{itemize}
\end{summary}
\end{code}

\subsection{Syntax}

\begin{code}{latex}
\begin{theorem}[title=Pythagorean theorem, label=th:pyth]
    In a right triangle, $a^2 + b^2 = c^2$.
\end{theorem}
\end{code}

This key-value syntax applies to all \texttt{tcolorbox}-based block styles (the default). With the native styles (\texttt{native}, \texttt{native-shadow} and \texttt{native-default}), the environments accept \texttt{[title=...]} alone, without \texttt{label} or \texttt{tcolorbox} options, as well as the usual Beamer syntax:

\begin{code}{latex}
\begin{theorem}[Pythagorean theorem]
    In a right triangle, $a^2 + b^2 = c^2$.
\end{theorem}
\end{code}

\textbf{Warning:} with tcolorbox blocks, writing \texttt{[Pythagorean theorem]} without \texttt{title=} causes a compilation error.

Each environment also has a starred (unnumbered) variant:

\begin{code}{latex}
\begin{definition*}[title=Prime number]
    A prime number is a natural number that has exactly
    two distinct divisors.
\end{definition*}
\end{code}

Additional \texttt{tcolorbox} options can be passed directly:

\begin{code}{latex}
\begin{remark}[title=Important, colback=red!5]
    Content with local customization.
\end{remark}
\end{code}

\subsection{Overlay specifications}

Each environment accepts a Beamer overlay specification between angle brackets, placed immediately after the name:

\begin{code}{latex}
\begin{definition}<2->[title=Natural numbers]
    The set $\mathbb{N}$ appears from the second overlay.
\end{definition}
\end{code}

The environment counter is frozen across overlays of the same frame, whether you use the \verb|<...>| syntax or the \verb|\pause| command. Numbering therefore remains stable from one overlay to the next.

\section{The \texttt{quiz} environment}

The \texttt{quiz} environment creates multiple-choice questions with the correct answer revealed on the second overlay.

\begin{code}{latex}
\begin{quiz}
    \item Answer A
    \item Answer B
    \correct{Answer C (correct answer)}
    \item Answer D
\end{quiz}
\end{code}

The \verb|\correct{...}| command marks the correct answer, which is highlighted in the alert color on \texttt{<2>}.

\begin{gallery}{3}
  \view{slides}{50}{Correct answer revealed}
\end{gallery}

\section{Bibliography}

The theme provides automatic support for \texttt{biblatex} and \texttt{natbib}. Bibliography entry colors are configured to match the active palette.

\begin{code}{latex}
\usepackage[backend=biber]{biblatex}
\addbibresource{references.bib}

\begin{frame}{References}
    \printbibliography
\end{frame}
\end{code}

\section{Settings in the course of the document}

The options of the theme are given to \verb|\usetheme| and hold for the whole document. The \verb|\celestiaset| command and the \texttt{celestia} frame option change a setting for a part of the document or for a single slide. They take the same options as \verb|\usetheme|, with the same values.

\subsection{For the rest of the document}

Placed between two slides, the \verb|\celestiaset| command applies to all the slides that follow, until the next change.

\begin{code}{latex}
\begin{frame}{Lesson}
    ...
\end{frame}

\celestiaset{block=shaded, footerstyle=minimalist}

\begin{frame}{Exercises}
    ...
\end{frame}
\end{code}

As any \LaTeX{} setting, it stays within the group where it is given: between braces, it ends at the closing brace.

\begin{code}{latex}
{\celestiaset{palette=oxford}
\begin{frame}{First slide in oxford}
    ...
\end{frame}
\begin{frame}{Second slide in oxford}
    ...
\end{frame}
}
\end{code}

\subsection{For a single slide}

The \texttt{celestia} frame option applies to a whole slide: title, content, background and footer. The next slide gets the settings of the document back. The option combines with the other frame options (\texttt{fragile}, \texttt{plain}, \texttt{standout}, etc.).

\begin{code}{latex}
\begin{frame}[celestia={block=plain, blockfill}]{Summary}
    ...
\end{frame}

\begin{frame}[celestia={palette=midnight}]{A dark slide}
    ...
\end{frame}

\begin{frame}[fragile, celestia={style=stage}]{Program}
    ...
\end{frame}
\end{code}

\subsection{Inside a slide}

In the body of a slide, \verb|\celestiaset| acts on what follows, until the end of the slide (or of the column, or of the group, where the command stands).

\begin{code}{latex}
\begin{frame}{Two block styles}
    \begin{block}{Reminder}
        ...
    \end{block}
    \celestiaset{block=ruled}
    \begin{block}{Key point}
        ...
    \end{block}
\end{frame}
\end{code}

The title, the background and the footer of a slide are typeset apart, after its content: to change them, use the \texttt{celestia} frame option, or the \verb|\celestiaset| command placed before the slide. A warning in the log recalls it.

\subsection{Settings that can be changed}

\begin{tabular}{ll}
    \textbf{Area} & \textbf{Options} \\
    \hline
    Blocks & \texttt{block}, \texttt{blockfill}, \texttt{blockcorners}, \texttt{blocktitleweight}, \\
     & \texttt{theoremblock}, \texttt{definitionblock}, \texttt{proofblock}, \texttt{exampleblock}, \\
     & \texttt{remarkblock}, \texttt{methodblock}, \texttt{activityblock}, \texttt{exerciseblock}, \\
     & \texttt{alertblock}, \texttt{standardblock}, \texttt{nativeexampleblock}, \texttt{summaryblock} \\
    Preset style & \texttt{style} \\
    Colors & \texttt{palette}, \texttt{custompalette}, \texttt{maincolor}, \texttt{accentcolor}, \texttt{backgroundcolor}, \\
     & \texttt{blockcolor}, \texttt{examplecolor}, \texttt{alertcolor}, \texttt{remarkcolor}, \texttt{methodcolor}, \\
     & \texttt{codebackgroundcolor}, \texttt{emphasis}, \texttt{decoration}, \texttt{unicolor} \\
    Frame title & \texttt{frametitle}, \texttt{frametitlesize}, \texttt{frametitlepadding}, \\
     & \texttt{frametitlebottomskip}, \texttt{headstyle}, \texttt{headshape}, \texttt{headweight} \\
    Footer & \texttt{footerstyle}, \texttt{footertextsize}, \texttt{progressbar} \\
    Title page & \texttt{motif}, \texttt{titlealign}, \texttt{titlebackground}, \texttt{titlesize}, \texttt{subtitlesize}, \\
     & \texttt{titleweight} \\
    Section slides & \texttt{sectionpage}, \texttt{subsectionpage}, \texttt{sectionnumber}, \texttt{sectiontoc}, \\
     & \texttt{sectiontitlesize} \\
    Code & \texttt{codelabel}, \texttt{codenumbers} \\
    Lists & \texttt{listflush} \\
\end{tabular}

\vspace{0.5\baselineskip}

The other options are set once and for all in \verb|\usetheme|: the fonts (\texttt{sansface}, \texttt{serifface}, \texttt{monoface}, \texttt{mathface}, \texttt{allserif}, \texttt{light}, \texttt{semibold}), the language, the margins, the table of contents, the style and the handler of the code, and the choice of the native Beamer blocks. Given to \verb|\celestiaset|, they are left aside and reported by a warning, and so is an unknown value.

\subsection{Notes}

\begin{itemize}
    \item A preset style given in the course of the document first resets the settings that a style governs (emphasis, size and alignment of the titles, background and corners of the blocks, styles per family), then applies its own. The options written in the same call override the style.
    \item The weight of the text is set when the theme is loaded: a dark palette chosen in the course of the document keeps the light weight of the rest of the presentation. The \texttt{light=false} option gives the regular weight to the whole document.
    \item With the native Beamer blocks (\texttt{block=native}), the block style cannot be changed in the course of the document. Their colors follow the palette.
\end{itemize}

\section{Options reference}

\subsection{Boolean options}

\begin{tabular}{lll}
    \textbf{Option} & \textbf{Default} & \textbf{Description} \\
    \hline
    \texttt{allserif} & \texttt{false} & Use serif font throughout \\
    \texttt{semibold} & \texttt{true} & Use semibold (weight 600) as the bold series \\
    \texttt{light} & \texttt{true} & Use light font weights for body text \\
    \texttt{unicolor} & \texttt{false} & Monochromatic mode \\
    \texttt{compacttoc} & \texttt{false} & Compact table of contents \\
    \texttt{twocoltoc} & \texttt{false} & Two-column table of contents \\
    \texttt{codebox} & \texttt{true} & Wrap code blocks in tcolorbox \\
    \texttt{nocodeframe} & \texttt{false} & Keep tcolorbox wrapper, hide border \\
    \texttt{codelabel} & \texttt{true} & Language name in the corner of the code block \\
    \texttt{codenumbers} & \texttt{auto} & Line numbers of the code \\
    \texttt{shownavigation} & \texttt{false} & Show Beamer navigation symbols \\
    \texttt{boldurl} & \texttt{false} & Render URLs in bold \\
    \texttt{sectionpage} & \texttt{true} & Automatic section divider slides \\
    \texttt{sectionnumber} & \texttt{false} & Number before the section title \\
    \texttt{subsectionpage} & \texttt{false} & Automatic subsection slides \\
    \texttt{motif} & \texttt{true} & Motif of the title page and section slides \\
    \texttt{listflush} & \texttt{true} & Mark on the margin for a list at the top \\
    \texttt{progressbar} & \texttt{false} & Footer progress bar \\
\end{tabular}

\subsection{Key-value options}

\begin{tabular}{lll}
    \textbf{Option} & \textbf{Default} & \textbf{Description} \\
    \hline
    \texttt{language} & \texttt{english} & Document language \\
    \texttt{palette} & \texttt{nordic} & Color palette \\
    \texttt{style} & --- & Preset style \\
    \texttt{block} & \texttt{roles} & Block style \\
    \texttt{blockfill} & (depends on the style) & Tinted background of blocks \\
    \texttt{blockcorners} & (depends on the style) & Block corners \\
    \texttt{theoremblock} & \texttt{auto} & Style of theorems and other results \\
    \texttt{definitionblock} & \texttt{auto} & Style of definitions \\
    \texttt{proofblock} & \texttt{auto} & Style of proofs \\
    \texttt{exampleblock} & \texttt{auto} & Style of examples (\texttt{example} environment) \\
    \texttt{nativeexampleblock} & \texttt{auto} & Style of \texttt{exampleblock} blocks \\
    \texttt{remarkblock} & \texttt{auto} & Style of remarks \\
    \texttt{methodblock} & \texttt{auto} & Style of methods \\
    \texttt{activityblock} & \texttt{auto} & Style of activities and applications \\
    \texttt{exerciseblock} & \texttt{auto} & Style of exercises \\
    \texttt{alertblock} & \texttt{auto} & Style of alert blocks \\
    \texttt{standardblock} & \texttt{auto} & Style of standard blocks \\
    \texttt{summaryblock} & \texttt{auto} & Style of summaries \\
    \texttt{frametitle} & \texttt{ruled} & Frame title style \\
    \texttt{footerstyle} & \texttt{info} & Footer style \\
    \texttt{codestyle} & \texttt{soft} & Code block style \\
    \texttt{codehandler} & \texttt{listings} & Syntax highlighting backend \\
    \texttt{titlealign} & \texttt{left} & Title page alignment \\
    \texttt{sectiontoc} & \texttt{false} & Outline on the section slides \\
    \texttt{emphasis} & \texttt{main} & Emphasis color \\
    \texttt{decoration} & (follows emphasis) & Decoration color \\
    \texttt{margin} & \texttt{2em} & Slide margins \\
    \texttt{titlebackground} & (empty) & Title page background image \\
\end{tabular}

\subsection{Color options}

\begin{tabular}{lll}
    \textbf{Option} & \textbf{Default} & \textbf{Description} \\
    \hline
    \texttt{custompalette} & (empty) & Custom palette (6 hex colors) \\
    \texttt{maincolor} & (palette) & Main color \\
    \texttt{accentcolor} & (palette) & Accent color \\
    \texttt{backgroundcolor} & (palette) & Background color \\
    \texttt{blockcolor} & (palette) & Standard block color \\
    \texttt{examplecolor} & (palette) & Example block color \\
    \texttt{alertcolor} & (palette) & Alert block color \\
    \texttt{remarkcolor} & (palette) & Remark color \\
    \texttt{methodcolor} & (palette) & Method color \\
    \texttt{codebackgroundcolor} & (empty) & Code background color \\
    \texttt{shadedblockopacity} & \texttt{auto} & Opacity for the shaded style (1.x background) \\
    \texttt{soberblockopacity} & \texttt{auto} & Opacity for the sober style (1.x background) \\
    \texttt{softblockopacity} & \texttt{auto} & Opacity for the soft style (1.x background) \\
    \texttt{barblockopacity} & \texttt{auto} & Opacity for the bar style (1.x background) \\
\end{tabular}

\subsection{Font and title options}

\begin{tabular}{lll}
    \textbf{Option} & \textbf{Default} & \textbf{Description} \\
    \hline
    \texttt{serifface} & \texttt{literata} & Serif font \\
    \texttt{sansface} & \texttt{inter} & Sans-serif font \\
    \texttt{monoface} & \texttt{plex-mono} & Monospaced font \\
    \texttt{seriffaceoptions} & (empty) & Serif font options \\
    \texttt{sansfaceoptions} & (empty) & Sans-serif font options \\
    \texttt{monofaceoptions} & (empty) & Monospaced font options \\
    \texttt{mathface} & \texttt{inter} & Math font \\
    \texttt{mathfaceoptions} & (empty) & Math font options \\
    \texttt{headstyle} & \texttt{sffamily} & Heading font family \\
    \texttt{headshape} & \texttt{normal} & Heading font shape \\
    \texttt{headweight} & \texttt{bfseries} & Frame title font weight \\
    \texttt{titleweight} & \texttt{mdseries} & Large title font weight \\
    \texttt{blocktitleweight} & \texttt{bfseries} & Block title font weight \\
    \texttt{titlesize} & \texttt{Huge} & Main title size \\
    \texttt{frametitlesize} & \texttt{normalsize} & Frame title size \\
    \texttt{sectiontitlesize} & \texttt{huge} & Section title size \\
    \texttt{subtitlesize} & \texttt{large} & Subtitle size \\
    \texttt{footertextsize} & \texttt{tiny} & Footer text size \\
\end{tabular}

\section{Available color names}

The theme exposes the following color names for use anywhere in the document:

\begin{itemize}
    \item \texttt{main}: primary color;
    \item \texttt{accent}: accent color;
    \item \texttt{background}: background color;
    \item \texttt{emphasis}: emphasis color (depends on the \texttt{emphasis} option);
    \item \texttt{decoration}: decoration color (depends on the \texttt{decoration} option);
    \item \texttt{blockcolor}: standard block color;
    \item \texttt{examplecolor}: example block color;
    \item \texttt{alertcolor}: alert block color;
    \item \texttt{remarkcolor}: color of remarks;
    \item \texttt{methodcolor}: color of methods, activities, applications and exercises;
    \item \texttt{blockbackground}: interior background color of standard blocks;
    \item \texttt{examplebackground}: interior background color of example blocks;
    \item \texttt{alertbackground}: interior background color of alert blocks;
    \item \texttt{codebackground}: code background color.
\end{itemize}

The three \texttt{...background} colors match exactly the background painted inside the standard blocks, the examples and the alerts, and follow the style of these three families.

\begin{code}{latex}
\textcolor{accent}{Text in the accent color}
\colorlet{myCustom}{blockcolor!50!background}
\end{code}

\end{document}
