Celestia theme
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.
\documentclass{beamer}
\usetheme{Celestia}
\title{My presentation}
\author{John Doe}
\date{\today}
\begin{document}
\maketitle
\end{document}
The Celestia theme is designed to be compiled with lualatex or xelatex for full font management through fontspec. A pdflatex compatibility mode is also available.
Version 2.0 changed the default look: 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 mast mark or a ruled title) and one color per type of block; code takes a hairline (hairline) and its lines are numbered in wide blocks. Version 2.3 lightens the code: a faint background (soft), a hairline only with line numbers, no background in blocks, and the code, code* and results environments; the native beamer blocks take a thin frame (framed). The default palette (nordic) and the colors of the palettes are unchanged, with one exception: the block color of 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:
\usetheme[
frametitle=subtle, block=sober,
codestyle=bar, codenumbers=false,
titlesize=LargeLARGE, sectiontitlesize=LARGE,
titleweight=bfseries, motif=false
]{Celestia}
language optionSets the presentation language, which is automatically passed to the babel package. In french mode, the names of mathematical environments (theorem, definition, etc.) and code listing captions are automatically translated.
Default: english
Without this option, the theme follows the language of the document: that of babel or polyglossia, loaded before or after the theme, or the class option (\documentclass[french]{beamer}). It loads babel itself only when the document does not. When neither language nor the class option names the language, this loading waits for the end of the preamble: to use a babel command there (\frenchsetup, \addto\captionsenglish), load babel yourself or give the language option.
\usetheme[language=french]{Celestia}
style optionThe theme provides preset styles that automatically configure several options (palette, frametitle, footerstyle, block) for a cohesive look.
celestia
modern
signature
executive
sober
stage\usetheme[style=signature]{Celestia}
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:
\usetheme[style=modern, palette=petrol]{Celestia}
The eight other styles of versions 1.x are still accepted, with their settings and their colors: minimal, studio, academic, design, simple, editorial, lumiere and chalk.
The theme ships with ten palettes. Each palette automatically defines six colors: primary (main), accent, standard block (blockcolor), example (examplecolor), alert (alertcolor), and background (background).
palette optionDefault: nordic
nordic
palatial
petrol
terracotta
velvet
forest
burgundy
graphite
midnight
dusk\usetheme[palette=petrol]{Celestia}
Note: the midnight and dusk palettes use a dark background. They work well for presentations projected in dimly lit rooms.
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: chalk, copper, horizon, imperial, lumiere, manuscript, mineral, obsidian, oxford, prestige, royal, sakura, sapphire, steel and velours.
custompalette optionDefines a fully custom palette by specifying six hex color codes (without the #) in order: primary, accent, standard block, example block, alert block, background.
\usetheme[
custompalette={2C3E50,E74C3C,3498DB,27AE60,E67E22,ECF0F1}
]{Celestia}
For a dark palette, add light=false: only the dark palettes provided switch the text to the regular weight by themselves.
For finer control, each color can be overridden individually (hex codes without the #):
\usetheme[
maincolor=045549,
accentcolor=E63946,
backgroundcolor=FAFAFA,
blockcolor=1A3B52
]{Celestia}
The background of a type of block is always computed from its color, so it follows a redefined color.
The colors of the active palette are exposed globally as LaTeX color names, directly usable in TikZ, \color{...}, \textcolor{...}, etc. Their value automatically follows the selected palette: there is no need to copy the hexadecimal code by hand.
main: primary color;accent: secondary color;background: slide background color;blockcolor, examplecolor, alertcolor: colors of the standard blocks, the examples and the alerts;remarkcolor, methodcolor: colors of remarks and methods;blockbackground, examplebackground, alertbackground: interior background colors of the standard blocks, the examples and the alerts, computed from the active block style;emphasis, decoration: colors resolved according to the emphasis and decoration options;accenttext: the accent color, darkened (or lightened on a dark background) just enough for legible text;emphasistint: the pale tint of the section pages and of the discs, matched to emphasis.\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}
unicolor optionEnables a monochromatic mode in which the accent color is used for all elements (blocks, items, decorations). Only alerts keep their color.
\usetheme[unicolor]{Celestia}
emphasis and decoration optionsThese two options control the colors used for emphasis elements (headings, items) and decorations (rules, ornaments), respectively.
emphasis optionDefault: main
accent;decoration optionDefault: follows the value of emphasis
Allows the decoration color to be set independently (main or accent).
\usetheme[emphasis=accent, decoration=main]{Celestia}
List marks and enumeration numbers take the decoration color. The numbers are set in the weight of the text; to make them bold:
\setbeamerfont{enumerate item}{series=\bfseries}
literata by default);fontspec options for the serif font;inter by default);Scale=0.88 and a light weight depending on the engine);plex-mono by default);fontspec options for the mono font.\usetheme[
serifface=EB Garamond,
seriffaceoptions={Scale=1.1},
sansface=Montserrat,
monoface=Fira Code
]{Celestia}
To disable serif font loading entirely: serifface=none.
With pdfLaTeX, serifface, sansface and monoface name a font package, which receives the options seriffaceoptions, sansfaceoptions and monofaceoptions. Some packages replace the font only with an option: sansface=lato, sansfaceoptions=defaultsans.
LuaLaTeX and XeLaTeX both use fontspec, but their font discovery mechanisms differ. LuaLaTeX maintains its own font database (luaotfload) and reliably finds fonts by family name (e.g. Source Sans 3). 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:
sansface=SourceSans3-Regular.otf;fc-list | grep "Source";allserif optionUses the serif main font as the default body font and activates Beamer's serif font theme.
\usetheme[allserif]{Celestia}
semibold optionEnables semibold (weight 600) as the bold series for the main and sans-serif fonts. With pdflatex, this uses \DeclareFontSeriesDefault. With LuaLaTeX or XeLaTeX, the option BoldFeatures={Weight=600} is added to the fontspec options.
Default: true
When light=false is given explicitly, the default becomes false: bold text is set in Bold (weight 700), which keeps the same contrast between text and bold as with the light weight. The semibold option, given explicitly, restores the semibold weight.
\usetheme[semibold=false]{Celestia}
light optionUses lighter font weights for the body text (weight 300 for the sans-serif font with LuaLaTeX/XeLaTeX, or the light option for Inter with pdflatex). Also applies a lighter weight to the monospaced font.
Default: true
With the dark palettes of the theme, the text is set in the regular weight, which reads better in light on dark. The light option, when given explicitly, restores the light weight there.
The light weight suits reading on a screen; for projection in a classroom, light=false sets the text, the monospaced font and the formulas in the regular weight, and bold text in Bold (see the semibold option).
\usetheme[light=false]{Celestia}
mathface optionSets 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 light option), with the three engines. The other symbols remain those of Computer Modern. For the other presets, LuaLaTeX and XeLaTeX use unicode-math; with pdflatex, legacy packages are loaded instead.
Default: inter. The theme falls back to iwona with the allserif option, with a sans-serif font other than Inter, or when the Type 1 fonts of the inter package are not installed.
mathpazo with pdflatex);newtxmath with pdflatex);stix2 with pdflatex);libertinust1math with pdflatex);iwona with pdflatex);iwona with pdflatex);mtpro2 package with both engines).Any other value is passed directly to \setmathfont (LuaLaTeX/XeLaTeX) or \RequirePackage (pdflatex).
\usetheme[mathface=pagella]{Celestia}
mathfaceoptions optionAdditional options passed to \setmathfont (LuaLaTeX/XeLaTeX only).
\usetheme[mathface=pagella, mathfaceoptions={Scale=1.05}]{Celestia}
margin optionSets the left and right margin of the slide content area.
Default: 2em
\usetheme[margin=1.5em]{Celestia}
frametitle optionSets the visual style of each slide's frame title.
Default: ruled
ruled
subtle
plainrule
plain
cosmic
line
gradient
clean
elegant
leftbar\usetheme[frametitle=elegant]{Celestia}
Every style supports a subtitle via \framesubtitle{...}.
Two options, frametitlepadding and 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.
dim: internal padding (top and bottom) of the title box. Default depends on the style (1.35em for most).dim: \vskip added after the title, typically negative (pulls content up). Default -1em for most styles, adjusted for clean when a subtitle is present to preserve breathing room. The more negative the value, the smaller the space after the title. An explicit user-supplied value takes priority over all defaults.\usetheme[frametitle=subtle, frametitlepadding=0.5em,
frametitlebottomskip=-1.5em]{Celestia}
Note: the effect of 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 [t] option of \begin{frame} or of the class.
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.
titlealign optionSets the alignment of the title page content.
Default: left
Available values: left, center, right
\usetheme[titlealign=center]{Celestia}
left
center
righttitlebackground optionSpecifies a background image (displayed at reduced opacity) for the title page.
\usetheme[titlebackground=images/background.jpg]{Celestia}
\subject commandDefines a subject line displayed in spaced capitals above the main title on the title page and embedded in the PDF metadata.
\subject{Computer Science}
\title{Introduction to Graph Theory}
\titlegraphic commandPlaces an image, a logo for instance, on the title page: top right, or above the subject when the content is centered.
\titlegraphic{\includegraphics[height=1.2cm]{logo}}
motif optionDraws 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 titlebackground replaces it.
Default: true
\usetheme[motif=false]{Celestia}
headstyle optionSets the font family used for headings.
Default: sffamily
Available values: sffamily (sans-serif), rmfamily (serif)
headshape optionSets the font shape for headings.
Default: normal
Available values: normal, sc (small caps), it (italic)
headweight optionSets the font weight of frame titles.
Default: bfseries
Available values: bfseries (bold), mdseries (medium)
titleweight optionSets the font weight of the large titles: the title of the title page and the titles of the section and subsection pages.
Default: mdseries
Available values: mdseries (the weight of the text, light by default), bfseries (bold)
blocktitleweight optionSets the font weight for tcolorbox block titles.
Default: bfseries
Available values: bfseries (bold), mdseries (medium)
The theme allows each heading element to be sized independently. In addition to the standard LaTeX sizes, Celestia defines intermediate sizes for finer control:
Huge by default);normalsize by default);huge by default);large by default);tiny by default).The standard LaTeX sizes are available: tiny, scriptsize, footnotesize, small, normalsize, large, Large, LARGE, huge, Huge.
Celestia adds an intermediate size between each consecutive pair:
tinyscriptsize (between tiny and scriptsize);scriptsizefootnotesize (between scriptsize and footnotesize);footnotesizesmall (between footnotesize and small);smallnormalsize (between small and normalsize);normalsizelarge (between normalsize and large);largeLarge (between large and Large);LargeLARGE (between Large and LARGE);LARGEhuge (between LARGE and huge);hugeHuge (between huge and Huge).\usetheme[
titlesize=hugeHuge,
frametitlesize=large,
sectiontitlesize=LARGEhuge,
footertextsize=scriptsize
]{Celestia}
\usetheme[
headstyle=rmfamily,
headshape=sc,
headweight=mdseries,
titleweight=bfseries,
blocktitleweight=bfseries
]{Celestia}
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.
compacttoc optionReduces the vertical spacing between entries in the table of contents.
\usetheme[compacttoc]{Celestia}
twocoltoc optionAutomatically distributes sections across two columns.
\usetheme[twocoltoc]{Celestia}
\twocolumntoc commandProvides manual control over the two-column distribution by specifying section ranges.
\twocolumntoc[1][5][10]
This example places sections 1 through 4 in the left column and sections 5 through 10 in the right column.
Three Beamer block types are available, each associated with a semantic color:
\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}
block optionSets the design of blocks.
Default: roles
With the value 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.
callout
line
soft
shaded
ruled
underline
discs
plain
card
ribbon
framed
mast
masthead
mastbox
bracket
legend
legendbox
outline
badge
softbadge\usetheme[block=line]{Celestia}
blockfill optionAdds or removes the tinted background of blocks. Each style has its natural value: the line, plain, ribbon, framed and outline styles have no background; the callout, card, soft, shaded, ruled, underline, discs, badge and softbadge styles have one. The option blockfill (or blockfill=true) adds the background, blockfill=false removes it. The discs style always keeps its background; the mast, masthead, mastbox, bracket, legend and legendbox styles never have one.
\usetheme[blockfill=false]{Celestia}
\usetheme[block=ruled, blockfill=false]{Celestia}
\usetheme[block=line, blockfill]{Celestia}
blockcorners optionSets the shape of the corners of the callout, plain, card, framed and outline styles: rounded (the natural value of plain) or sharp (the natural value of the other four). With callout, the sidebar follows the rounding.
\usetheme[blockcorners=rounded]{Celestia}
\usetheme[block=plain, blockcorners=sharp]{Celestia}
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 blockcolor, examplecolor and alertcolor of the palette. Remarks and methods receive two colors designed for each palette, remarkcolor and methodcolor. With a custom palette, remarks take the text color and methods the accent color.
The following names are still accepted: bar (line with a background), fullbar (ribbon with a background), noback (soft without a background) and sober (soft).
native
native-shadow
native-defaultThese three styles rely on the blocks of Beamer and not on tcolorbox: the blockfill and blockcorners options do not apply to them.
\usetheme[block=native]{Celestia}
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 auto, the default, each palette keeps the background designed for it:
shaded style (0.30 gives the look of versions 1.x);sober style (0.18 gives the look of versions 1.x);soft style (0.18 gives the look of versions 1.x);bar style (0.05 gives the look of versions 1.x).\usetheme[block=sober, soberblockopacity=0.25]{Celestia}
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 block=roles, the default, the families receive the styles of the last column.
| Family | Option | Color | Environments | Style |
|---|---|---|---|---|
| Definitions | definitionblock |
examplecolor |
definition |
callout |
| Results | theoremblock |
blockcolor |
theorem, proposition, property, lemma, corollary |
callout |
| Methods | methodblock |
methodcolor |
method |
callout |
| Alerts | alertblock |
alertcolor |
alertblock |
framed |
| Standard blocks | standardblock |
blockcolor |
block |
framed |
| Example blocks | nativeexampleblock |
examplecolor |
exampleblock |
framed |
| Proofs | proofblock |
blockcolor |
proof |
mast |
| Examples | exampleblock |
examplecolor |
example |
mast |
| Remarks | remarkblock |
remarkcolor |
remark |
mast |
| Activities | activityblock |
methodcolor |
activity, application |
mast |
| Exercises | exerciseblock |
methodcolor |
exercise |
ruled |
| Summaries | summaryblock |
blockcolor |
summary |
card |
Four designs thus share the page. What must be known sits on a pale panel with a side bar for definitions, results and methods (callout), which only the color tells apart; alerts and standard blocks have their title on a pale band, within a thin frame (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 (mast). Exercises have a rule under the title, with no background (ruled with the word nofill). The summary, which closes a part, is the only block to receive a frame with a solid band, on a pale panel (card).
The three native blocks of beamer (block, exampleblock and alertblock) share this frame with a title band, each in its own color. Each has its own option: standardblock, nativeexampleblock and alertblock. The exampleblock option, for its part, only sets the example environment. The plural environments, such as definitions or exercises, follow their family. An environment created with \newtheorem follows the family of results, or that of examples when it is declared after \theoremstyle{example}.
A family option takes the name of a tcolorbox style from the list above. It overrides the block option.
\usetheme[theoremblock=ruled, proofblock=masthead]{Celestia}
\usetheme[block=line, summaryblock=shaded]{Celestia}
The first line keeps the default distribution and changes two families. The second gives the 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 fill and nofill add or remove the background, the words rounded and sharp set the corners. Without these words, the family follows the blockfill and blockcorners options.
\usetheme[theoremblock={ruled, nofill}, alertblock={callout, rounded}]{Celestia}
The value auto returns a family to the general setting, given by the block option:
\celestiaset{theoremblock=auto}
The family options have no effect with the native Beamer blocks.
The 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.
\usetheme{Celestia}
\begin{frame}[standout]
Key takeaway
\vspace{1em}
\large --- Quote
\end{frame}
The quote frame option sets a centered quotation, in a large size, on a tinted background, without title or footer.
\begin{frame}[quote]
The text of the quotation.\\[0.6em]
{\small Its author}
\end{frame}
\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 frame environment.
\imagepage[Site model, scale 1:200.]{images/model.jpg}
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.
Defaults: sectionpage=true, sectionnumber=false, subsectionpage=false
\usetheme[sectionpage=false]{Celestia}
\usetheme[sectionnumber]{Celestia}
\usetheme[subsectionpage]{Celestia}
The \sectionpage and \subsectionpage commands typeset these slides on demand, inside a frame.
To disable section slides manually within the document:
\AtBeginSection{}
The command \celestiaset{sectionpage=false} does the same from the place where it is given, and \celestiaset{sectionpage} brings the section slides back.
The sectiontoc option recalls the outline of the presentation on every section slide: the audience sees where the talk stands. It comes in two forms.
sectiontoc (or 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.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.Default: false
\usetheme[sectiontoc, sectionnumber]{Celestia}
\usetheme[sectiontoc=dots]{Celestia}
sectionnumber
sectiontoc
sectiontoc=dotsWhen 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 dots form by itself. The outline needs two compilations.
codehandler optionSets the syntax highlighting backend.
Default: listings
Available values: listings (the listings package) or minted (the minted package, requires Pygments)
\usetheme[codehandler=minted]{Celestia}
In french mode, code listing captions are automatically relabeled to Programme.
codestyle optionSets the visual style of code blocks.
Default: soft
soft
minimal
hairline
tint
bar
frame
macos
box\usetheme[codestyle=minimal]{Celestia}
In a block (block, definition, example, etc.), code never has a background: the block already frames it. With soft, minimal, hairline and 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 (tint has no hairline, hairline keeps its own even without numbers). The other styles keep their frame or their bar. The name of the language is left out.
code, code* and results environmentsThe theme provides three environments, with listings as with minted:
The mandatory argument of code and code* gives the language: a listings style (python, latex) or language (C, SQL), a minted lexer (python, c). The optional argument takes the options of the code handler, for instance caption=... with listings.
\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}
code and resultsA document that already defines its own code or results environment keeps it. The lstlisting and minted environments remain available; their numbers follow the codenumbers option.
Controls the tcolorbox wrapping around code blocks.
Default: codebox=true (wrapping enabled)
codebox=false to disable);tcolorbox wrapper but removes the visible border (frame, macos and box code styles; the soft, minimal, hairline, tint and bar styles have no frame).\usetheme[codebox=false]{Celestia}
codelabel optionWith 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 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.
Default: true
\usetheme[codelabel=false]{Celestia}
codenumbers optionNumbers the lines of the code. With 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.
Default: auto
codenumbers alone does the same;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 (style=python, language=C) or when an \lstset has set it, and always with minted. The code and code* environments override this option, and so does a block marked numbers=none (listings) or linenos=false (minted). Inline code and the results environment are never numbered.
\usetheme[codenumbers=false]{Celestia}
soft
minimal
hairline
tint
bar
frame
macos
boxBoth options can be changed in the course of the document, for instance to number the code of a single slide:
\begin{frame}[fragile, celestia={codenumbers}]{Program}
...
\end{frame}
listings\begin{lstlisting}[style=python]
def fibonacci(n):
if n <= 1:
return n
return fibonacci(n-1) + fibonacci(n-2)
\end{lstlisting}
A python style is provided out of the box. Keywords are set in bold in the legible accent color (accenttext), built-in functions (print, len, range, etc.) in the color of methods, the constants True, False and None in the color of remarks, and strings in the color of examples. language=Python gives the same colors.
\texttt{text}: monospaced font, slightly smaller than the text;\alert{text}: text in the alert color;\mathterm{x}: formats a mathematical term (bold, block color);\mathdef{x}: formats a mathematical definition (italic, example color);\cverb|code|: inline coloured LaTeX code, used like \verb in a fragile frame.boldurl optionRenders URLs in bold within hyperlinks.
\usetheme[boldurl]{Celestia}
The theme defines the \source, \keyfigure, \tablehead and \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.
\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{frame}{Population}
...
\source{Source: Eurostat, 2025.}
\end{frame}
\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{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}
Table rules take a softened tint of the primary color. \tablehead{...} formats a header cell.
\begin{tabular}{lr}
\hline
\tablehead{Variant} & \tablehead{Area} \\
\hline
Strip & 312 \\
Terraces & 298 \\
\hline
\end{tabular}
The theme defines theorem-like environments with a streamlined syntax built on tcolorbox. Each environment accepts key-value options in brackets: title for a subtitle and label for cross-referencing. The style of each environment is that of its family (see “Styles per family of blocks”).
theorem: theorem;lemma: lemma;proposition: proposition;corollary: corollary;property / properties: property / properties;proof: proof (Beamer environment, unnumbered; the title is set without a final period);summary: summary, titled “Key points”, unnumbered.definition / definitions: definition / definitions;example / examples: example / examples.remark / remarks: remark / remarks, in the remarkcolor color;method: method, in the methodcolor color;activity / activities: activity / activities, in the methodcolor color;application / applications: application / applications, in the methodcolor color;exercise / exercises: exercise / exercises, in the methodcolor color.If the document or another package already defines an exercise environment, the theme keeps that definition.
The alert color is reserved for alertblock blocks.
The summary environment typesets the summary of a part, under the title “Key points” (“À retenir” in French). The title option adds a precision in parentheses.
\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}
\begin{theorem}[title=Pythagorean theorem, label=th:pyth]
In a right triangle, $a^2 + b^2 = c^2$.
\end{theorem}
This key-value syntax applies to all tcolorbox-based block styles (the default). With the native styles (native, native-shadow and native-default), the environments accept [title=...] alone, without label or tcolorbox options, as well as the usual Beamer syntax:
\begin{theorem}[Pythagorean theorem]
In a right triangle, $a^2 + b^2 = c^2$.
\end{theorem}
Warning: with tcolorbox blocks, writing [Pythagorean theorem] without title= causes a compilation error.
Each environment also has a starred (unnumbered) variant:
\begin{definition*}[title=Prime number]
A prime number is a natural number that has exactly
two distinct divisors.
\end{definition*}
Additional tcolorbox options can be passed directly:
\begin{remark}[title=Important, colback=red!5]
Content with local customization.
\end{remark}
Each environment accepts a Beamer overlay specification between angle brackets, placed immediately after the name:
\begin{definition}<2->[title=Natural numbers]
The set $\mathbb{N}$ appears from the second overlay.
\end{definition}
The environment counter is frozen across overlays of the same frame, whether you use the <...> syntax or the \pause command. Numbering therefore remains stable from one overlay to the next.
quiz environmentThe quiz environment creates multiple-choice questions with the correct answer revealed on the second overlay.
\begin{quiz}
\item Answer A
\item Answer B
\correct{Answer C (correct answer)}
\item Answer D
\end{quiz}
The \correct{...} command marks the correct answer, which is highlighted in the alert color on <2>.
The theme provides automatic support for biblatex and natbib. Bibliography entry colors are configured to match the active palette.
\usepackage[backend=biber]{biblatex}
\addbibresource{references.bib}
\begin{frame}{References}
\printbibliography
\end{frame}
The options of the theme are given to \usetheme and hold for the whole document. The \celestiaset command and the celestia frame option change a setting for a part of the document or for a single slide. They take the same options as \usetheme, with the same values.
Placed between two slides, the \celestiaset command applies to all the slides that follow, until the next change.
\begin{frame}{Lesson}
...
\end{frame}
\celestiaset{block=shaded, footerstyle=minimalist}
\begin{frame}{Exercises}
...
\end{frame}
As any LaTeX setting, it stays within the group where it is given: between braces, it ends at the closing brace.
{\celestiaset{palette=oxford}
\begin{frame}{First slide in oxford}
...
\end{frame}
\begin{frame}{Second slide in oxford}
...
\end{frame}
}
The 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 (fragile, plain, standout, etc.).
\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}
In the body of a slide, \celestiaset acts on what follows, until the end of the slide (or of the column, or of the group, where the command stands).
\begin{frame}{Two block styles}
\begin{block}{Reminder}
...
\end{block}
\celestiaset{block=ruled}
\begin{block}{Key point}
...
\end{block}
\end{frame}
The title, the background and the footer of a slide are typeset apart, after its content: to change them, use the celestia frame option, or the \celestiaset command placed before the slide. A warning in the log recalls it.
| Area | Options |
|---|---|
| Blocks | block, blockfill, blockcorners, blocktitleweight, |
theoremblock, definitionblock, proofblock, exampleblock, |
|
remarkblock, methodblock, activityblock, exerciseblock, |
|
alertblock, standardblock, nativeexampleblock, summaryblock |
|
| Preset style | style |
| Colors | palette, custompalette, maincolor, accentcolor, backgroundcolor, |
blockcolor, examplecolor, alertcolor, remarkcolor, methodcolor, |
|
codebackgroundcolor, emphasis, decoration, unicolor |
|
| Frame title | frametitle, frametitlesize, frametitlepadding, |
frametitlebottomskip, headstyle, headshape, headweight |
|
| Footer | footerstyle, footertextsize, progressbar |
| Title page | motif, titlealign, titlebackground, titlesize, subtitlesize, |
titleweight |
|
| Section slides | sectionpage, subsectionpage, sectionnumber, sectiontoc, |
sectiontitlesize |
|
| Code | codelabel, codenumbers |
The other options are set once and for all in \usetheme: the fonts (sansface, serifface, monoface, mathface, allserif, light, 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 \celestiaset, they are left aside and reported by a warning, and so is an unknown value.
light=false option gives the regular weight to the whole document.block=native), the block style cannot be changed in the course of the document. Their colors follow the palette.| Option | Default | Description |
|---|---|---|
allserif |
false |
Use serif font throughout |
semibold |
true |
Use semibold (weight 600) as the bold series |
light |
true |
Use light font weights for body text |
unicolor |
false |
Monochromatic mode |
compacttoc |
false |
Compact table of contents |
twocoltoc |
false |
Two-column table of contents |
codebox |
true |
Wrap code blocks in tcolorbox |
nocodeframe |
false |
Keep tcolorbox wrapper, hide border |
codelabel |
true |
Language name in the corner of the code block |
codenumbers |
auto |
Line numbers of the code |
shownavigation |
false |
Show Beamer navigation symbols |
boldurl |
false |
Render URLs in bold |
sectionpage |
true |
Automatic section divider slides |
sectionnumber |
false |
Number before the section title |
subsectionpage |
false |
Automatic subsection slides |
motif |
true |
Motif of the title page and section slides |
progressbar |
false |
Footer progress bar |
| Option | Default | Description |
|---|---|---|
language |
english |
Document language |
palette |
nordic |
Color palette |
style |
— | Preset style |
block |
roles |
Block style |
blockfill |
(depends on the style) | Tinted background of blocks |
blockcorners |
(depends on the style) | Block corners |
theoremblock |
auto |
Style of theorems and other results |
definitionblock |
auto |
Style of definitions |
proofblock |
auto |
Style of proofs |
exampleblock |
auto |
Style of examples (example environment) |
nativeexampleblock |
auto |
Style of exampleblock blocks |
remarkblock |
auto |
Style of remarks |
methodblock |
auto |
Style of methods |
activityblock |
auto |
Style of activities and applications |
exerciseblock |
auto |
Style of exercises |
alertblock |
auto |
Style of alert blocks |
standardblock |
auto |
Style of standard blocks |
summaryblock |
auto |
Style of summaries |
frametitle |
ruled |
Frame title style |
footerstyle |
info |
Footer style |
codestyle |
soft |
Code block style |
codehandler |
listings |
Syntax highlighting backend |
titlealign |
left |
Title page alignment |
sectiontoc |
false |
Outline on the section slides |
emphasis |
main |
Emphasis color |
decoration |
(follows emphasis) | Decoration color |
margin |
2em |
Slide margins |
titlebackground |
(empty) | Title page background image |
| Option | Default | Description |
|---|---|---|
custompalette |
(empty) | Custom palette (6 hex colors) |
maincolor |
(palette) | Main color |
accentcolor |
(palette) | Accent color |
backgroundcolor |
(palette) | Background color |
blockcolor |
(palette) | Standard block color |
examplecolor |
(palette) | Example block color |
alertcolor |
(palette) | Alert block color |
remarkcolor |
(palette) | Remark color |
methodcolor |
(palette) | Method color |
codebackgroundcolor |
(empty) | Code background color |
shadedblockopacity |
auto |
Opacity for the shaded style (1.x background) |
soberblockopacity |
auto |
Opacity for the sober style (1.x background) |
softblockopacity |
auto |
Opacity for the soft style (1.x background) |
barblockopacity |
auto |
Opacity for the bar style (1.x background) |
| Option | Default | Description |
|---|---|---|
serifface |
literata |
Serif font |
sansface |
inter |
Sans-serif font |
monoface |
plex-mono |
Monospaced font |
seriffaceoptions |
(empty) | Serif font options |
sansfaceoptions |
(empty) | Sans-serif font options |
monofaceoptions |
(empty) | Monospaced font options |
mathface |
inter |
Math font |
mathfaceoptions |
(empty) | Math font options |
headstyle |
sffamily |
Heading font family |
headshape |
normal |
Heading font shape |
headweight |
bfseries |
Frame title font weight |
titleweight |
mdseries |
Large title font weight |
blocktitleweight |
bfseries |
Block title font weight |
titlesize |
Huge |
Main title size |
frametitlesize |
normalsize |
Frame title size |
sectiontitlesize |
huge |
Section title size |
subtitlesize |
large |
Subtitle size |
footertextsize |
tiny |
Footer text size |
The theme exposes the following color names for use anywhere in the document:
main: primary color;accent: accent color;background: background color;emphasis: emphasis color (depends on the emphasis option);decoration: decoration color (depends on the decoration option);blockcolor: standard block color;examplecolor: example block color;alertcolor: alert block color;remarkcolor: color of remarks;methodcolor: color of methods, activities, applications and exercises;blockbackground: interior background color of standard blocks;examplebackground: interior background color of example blocks;alertbackground: interior background color of alert blocks;codebackground: code background color.The three ...background colors match exactly the background painted inside the standard blocks, the examples and the alerts, and follow the style of these three families.
\textcolor{accent}{Text in the accent color}
\colorlet{myCustom}{blockcolor!50!background}