The Celestia Theme

Version 1.1.1 — Razik Ikhlef

Style file: beamerthemeCelestia.sty

PDF documentation: Celestia.pdf

LaTeX source: Celestia.tex

Table of Contents

Introduction

The Celestia theme is a modern and elegant Beamer theme designed to create professional and visually appealing presentations. It offers extensive customization flexibility while remaining simple to use.

Basic Usage

\documentclass{beamer}
\usetheme{Celestia}

\title{My Presentation}
\author{My Name}
\date{\today}

\begin{document}
\maketitle
% Your slides here
\end{document}

Language

\usetheme[language=french]{Celestia}

Color Palettes

Predefined Palettes

The theme provides 26 harmonious color palettes. Each palette automatically defines all colors (primary, accent, blocks, background).

The palette Option

Default value: midnight

Available Palettes

\usetheme[palette=ocean]{Celestia}

Custom Palette

The custompalette Option

Allows you to define a complete custom palette by specifying six colors in order: primary color, accent, standard block, example block, alert block, background.

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

Individual Colors

For finer customization, you can define each color separately (hexadecimal codes without the #).

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

The unicolor Option

Enables monochrome mode where the primary color is used for all text.

\usetheme[unicolor]{Celestia}

Fonts

Default Fonts

Font Customization

\usetheme[
    mainface=EB Garamond,
    mainfaceoptions={Scale=1.1},
    sansface=Montserrat,
    monoface=Fira Code
]{Celestia}

The allserif Option

Uses the main serif font for mathematics.

\usetheme[allserif]{Celestia}

Layout

Margins

The margin Option

Sets the content margin for slides.

Default value: 2em

\usetheme[margin=1.5em]{Celestia}

Frame Title Style

The frametitle Option

Defines the display style for each slide's title.

Default value: elegant

Available values:

\usetheme[frametitle=centered]{Celestia}

Decorative Elements

The decorative and nodecorative Options

Enables or disables decorative elements (gradients, triangles). Default: disabled

\usetheme[decorative]{Celestia}
% or
\usetheme[nodecorative]{Celestia}

The decorationstyle Option

Defines the visual style of decorations.

Default value: none

Available values:

\usetheme[decorationstyle=fancy]{Celestia}

The decorationopacity Option

Sets the opacity of decorative elements (value between 0 and 1). Default value: 0.15

\usetheme[
    decorationstyle=fancy,
    decorationopacity=0.15
]{Celestia}

Title Page

The titlealign Option

Sets the title alignment on the title page.

Default value: center

Available values: left, center, right

\usetheme[titlealign=right]{Celestia}

The titlebackground Option

Allows you to specify a background image for the title page.

\usetheme[titlebackground=background.jpg]{Celestia}

Typography

Title Styles

Title Sizes

Controls font sizes for different types of titles (standard LaTeX commands).

Available values are standard LaTeX size commands: tiny, scriptsize, footnotesize, small, normalsize, large, Large, LARGE, huge, Huge.

\usetheme[
    titlesize=Huge,
    frametitlesize=Large,
    sectiontitlesize=huge
]{Celestia}

Combined Example

\usetheme[
    headstyle=rmfamily,
    headshape=sc,
    headweight=mdseries
]{Celestia}

Source Code

Code Handler

The codehandler Option

Defines the code management system.

Default value: listings

Available values:

\usetheme[codehandler=minted]{Celestia}

Code Framing

The codebox, nocodebox, nocodeframe Options

Controls the framing of code blocks with tcolorbox. Default: codebox=true

\usetheme[nocodeframe]{Celestia}

Supported Languages

The theme supports syntax highlighting for many languages:

Programming languages: Python, Java, C++, JavaScript, SQL, Bash, Assembly, Lisp

Data formats: JSON, YAML, TOML, CSV

Others: LaTeX, Markdown

Usage

\begin{codeside}{python}
def fibonacci(n):
    if n <= 1:
        return n
    return fibonacci(n-1) + fibonacci(n-2)
\end{codeside}

The footerstyle Option

Defines the footer style.

Available Values

\usetheme[footerstyle=quartercircle]{Celestia}

The shownavigation Option

Displays Beamer navigation symbols (disabled by default).

\usetheme[shownavigation]{Celestia}

Table of Contents

The compacttoc Option

Reduces vertical spacing between table of contents entries.

\usetheme[compacttoc]{Celestia}

The twocolumntoc Option

Automatically distributes sections across two balanced columns.

\usetheme[twocolumntoc]{Celestia}

Custom Command

The \twocolumntoc command allows manual control of the two-column distribution.

% Sections 1-4 in left column, 5-10 in right column
\twocolumntoc[1][5][10]

Blocks

Block Types

Three types of blocks are available:

\begin{block}{Block Title}
    Standard block content
\end{block}

\begin{exampleblock}{Example}
    Example block content
\end{exampleblock}

\begin{alertblock}{Warning}
    Alert block content
\end{alertblock}

Block Styles

The soberblock, softblock, shadedblock, and nobackblock Options

Defines the visual style of blocks.

Default: title on colored background, body with 10% tinted background

\usetheme[soberblock]{Celestia}

Block Opacity Options

Allows control of colored background intensity for each block style (value between 0 and 1):

\usetheme[
    soberblock,
    soberblockopacity=0.20
]{Celestia}

Special Pages

Standout Pages

The standout frame option transforms a slide into an emphasis page for key moments: quotes, important messages, etc.

\begin{frame}[standout]
    \centering
    \Huge
    Important Message

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

Section Pages

The sectionpage and sectionnumber Options

Controls the automatic display of section pages.

Default: sectionpage=true, sectionnumber=false

\usetheme[
    sectionpage=false,
    sectionnumber=true
]{Celestia}

To manually disable in the document:

\AtBeginSection{}
\AtBeginSubsection{}

Text Formatting

Special Commands

The boldurl Option

Enables bold URLs in hyperlinks.

\usetheme[boldurl]{Celestia}

Predefined Schemes

The scheme Option

Applies a predefined scheme that automatically configures multiple parameters (decoration style, footer, frame title, blocks) to achieve a cohesive look.

Available Values

\usetheme[scheme=zen]{Celestia}

Note: Parameters defined by the scheme can be overridden by explicitly specifying other options.