Directory macros/latex/contrib/catppuccinpalette
Catppuccin for LaTeX
## Previews
<details> <summary>🌻 Latte</summary>
</details> <details> <summary>🪴 Frappé</summary>
</details> <details> <summary>🌺 Macchiato</summary>
</details> <details> <summary>🌿 Mocha</summary>
</details>
Usage
Importing the theme file
- The catppuccinPalette package is present on CTAN, but probably not included in your TeX Live installation. Follow the steps below to install it manually:
- Shortcut: If you set up your local
texmf
you should be able to simply install by executingmake install
(this installs the package locally for the current user) - If you don't like installing the package locally for the current user you might also execue
l3build unpack
and move the generated.sty
filebuild/unpacked/catppuccinpalette.sty
to the root directory of your project. - If you don't have
l3build
available, you can also download thecatppuccinpalette.sty
file from the latest GitHub release and move the file to your project root.
- Shortcut: If you set up your local
- Import the package by adding
\usepackage[FLAVOR]{catppuccinpalette}
, replacingFLAVOR
with the flavor of your choice. i.e.\usepackage[macchiato]{catppuccinpalette}
. Valid options are: mocha (default), latte, frappe, and macchiato.- If you want the package not only to add color definitions, you can also pass
textcolor=true
and/orpagecolor=true
to thecatppuccinpalette
package. - Also note that in the pdf containing the documentation, the available options are described in more detail and also the defined colors are listed and shown.
- If you want the package not only to add color definitions, you can also pass
Color Naming Conventions
All Catppuccin palette colors, across all flavors, follow the same naming convention. This theme set prefixes all Catppuccin colors with Ctp
, i.e. CtpPeach
, or CtpBlue
.
Examples
Please refer to the examples for full demonstrations, with LaTeX sources and their outputs, on theme usage and code highlighting.
💝 Thanks to
Copyright © 2021-present Catppuccin Org
Download the contents of this package in one zip archive (219.8k).
catppuccinPalette – Provides (x)colors of catppuccin theme
“Catppuccin” is a nice pastel theme in four flavours/styles (Latte, Frappé, Macchiato, Mocha). This package defines these themes as xcolor colors.
Package | catppuccinPalette |
Bug tracker | https://github.com/catppuccin/latex/issues |
Repository | https://github.com/catppuccin/latex |
Version | 1.1.0 2024-08-13 |
Licenses | MIT License |
Copyright | 2024 Catppuccin |
Maintainer | Goudham Lukas Heindl |
Contained in | TeX Live as catppuccinpalette MiKTeX as catppuccinpalette |
Topics | Colour |