The Celestia Theme
2025/07/20 — v1.0.4 — Razik Ikhlef
sty File: beamerthemeCelestia.sty
Documentation in PDF format: Celestia-en.pdf
LaTeX Source:
Celestia-en.tex
Contents
Language
-
language : Sets the document language (english
by default), which is passed to the babel
package loaded by the theme.
\usetheme[
language=french
]{Celestia}
Fonts
-
mainface: Main font for text and titles (Literata
by default)
-
mainfaceoptions: Options passed directly to
fontspec for the main font
-
sansface: Sans-serif font for structural elements (Inter
by default)
-
sansfaceoptions: Options passed to
fontspec for the sans-serif font
-
monoface: Monospace font for code (Roboto Mono
by default)
-
monofaceoptions: Options passed to
fontspec for the monospace font
-
allserif: Uses the main serif font for mathematics
\usetheme[
mainface=EB Garamond,
mainfaceoptions={Scale=1.1},
sansface=Montserrat,
monoface=Fira Code,
allserif
]{Celestia}
Colors
-
maincolor: Main color used for titles and accents
(svgname LaTeX code or HTML hexadecimal)
-
accentcolor: Secondary color for special elements
-
backgroundcolor: Slide background color (F7F9FC
by default)
-
codebackgroundcolor: Code block background color (F1F3F6
by default)
-
mainblue: Standard block color (045549 by
default)
-
maingreen: Example block color (054924 by
default)
-
mainred: Alert block color (490445 by default)
- unicolor: Uses the main color for all text
\usetheme[
maincolor=045549,
accentcolor=E63946,
backgroundcolor=FAFAFA,
codebackgroundcolor=F5F5F5
]{Celestia}
Layout
- margin: Content margin (2em by default)
-
frametitle: Title style (elegant,
plain, centered)
- decorative: Enables decorative elements
- nodecorative: Disables decorative elements
-
centeredtitle: Centers the title on the title page
- titleright: Right-aligns the title
\usetheme[
margin=1.5em,
frametitle=centered,
decorative,
centeredtitle
]{Celestia}
-
headstyle: Font family for titles:
rmfamily (serif) or sffamily (sans-serif)
-
headshape: Character style: sc (small caps),
it (italic),
normal
-
headweight: Title weight: bfseries (bold) or
mdseries (normal)
\usetheme[
headstyle=sffamily,
headshape=sc,
headweight=bfseries
]{Celestia}
Code
-
codebox: Enables code framing with
tcolorbox (true by default)
-
nocodebox: Completely disables tcolorbox code
framing
-
nocodeframe: Keeps tcolorbox but without
visible border
\usetheme[
nocodebox,
nocodeframe
]{Celestia}
-
nofooter: Completely removes the footer, except for the
slide number
-
quartercirclefooter: Displays only the number in a
quarter circle at the bottom right
-
fullbarfooter: Creates a complete bar with
author/title/date and number in a circle
\usetheme[
quartercirclefooter
]{Celestia}
Table of Contents
-
compacttoc: Reduces vertical spacing between table
entries
-
twocolumntoc: Automatically distributes sections across
two balanced columns
\usetheme[
compacttoc,
twocolumntoc
]{Celestia}
Blocks
- block: Standard block for normal content
- exampleblock: Block for examples
- alertblock: Block for alerts
Block Styles
-
soberblock: The title adopts the main block color
(mainblue/maingreen/mainred) on the general document background, while
the body keeps a slightly tinted background (10%)
-
softblock: The title and body share the same slightly
tinted background (10 %), with the title in the corresponding main color
\usetheme[
soberblock % Colored title on document background
]{Celestia}
% or
\usetheme[
softblock % Colored title on 10% background
]{Celestia}
Emphasis Pages
-
Principle: The standout option transforms a
slide into an emphasis page, ideal for key presentation moments:
striking quotes, essential figures, messages to remember
-
Visual effect:
- Slightly tinted background (accent tint at 10 %)
- Centered and bold text
\begin{frame}[standout]
Key message
to highlight
\end{frame}