Debian Codegraph @

texmf-dist/doc/latex/catppuccinpalette/README.md

raw symbols SCIP
1 <h3 align="center">
2 <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="100" alt="Logo"/><br/>
3 <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
4 Catppuccin for <a href="https://www.latex-project.org/">LaTeX</a>
5 <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
6 </h3>
7
8 <p align="center">
9 <a href="https://github.com/catppuccin/latex/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/latex?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
10 <a href="https://github.com/catppuccin/latex/issues"><img src="https://img.shields.io/github/issues/catppuccin/latex?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
11 <a href="https://github.com/catppuccin/latex/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/latex?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
12 </p>
13
14 <p align="center">
15 <img src="assets/preview.webp"/>
16 </p>
17
18 ## Previews
19
20 <details>
21 <summary>🌻 Latte</summary>
22 <img src="assets/latte.webp"/>
23 </details>
24 <details>
25 <summary>🪴 Frappé</summary>
26 <img src="assets/frappe.webp"/>
27 </details>
28 <details>
29 <summary>🌺 Macchiato</summary>
30 <img src="assets/macchiato.webp"/>
31 </details>
32 <details>
33 <summary>🌿 Mocha</summary>
34 <img src="assets/mocha.webp"/>
35 </details>
36
37 ## Usage
38
39 ### Importing the theme file
40 1. The [catppuccinPalette](https://www.ctan.org/pkg/catppuccinpalette) package is present on CTAN, but probably not included in your TeX Live installation. Follow the steps below to install it manually:
41 - Shortcut: If you set up your local `texmf` you should be able to simply install by executing `make install` (this installs the package locally for the current user)
42 - If you don't like installing the package locally for the current user you might also execue `l3build unpack` and move the generated `.sty` file `build/unpacked/catppuccinpalette.sty` to the root directory of your project.
43 - If you don't have `l3build` available, you can also download the `catppuccinpalette.sty` file from the [latest GitHub release](https://github.com/catppuccin/latex/releases/latest) and move the file to your project root.
44 2. Import the package by adding `\usepackage[FLAVOR]{catppuccinpalette}`, replacing `FLAVOR` with the flavor of your choice. i.e. `\usepackage[macchiato]{catppuccinpalette}`. Valid options are: mocha (default), latte, frappe, and macchiato.
45 - If you want the package not only to add color definitions, you can also pass `textcolor=true` and/or `pagecolor=true` to the `catppuccinpalette` package.
46 - 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.
47
48 ### Color Naming Conventions
49
50 All [Catppuccin palette colors](https://github.com/catppuccin/catppuccin#-palette), across all flavors, follow the same naming convention. This theme set prefixes all Catppuccin colors with `Ctp`, i.e. `CtpPeach`, or `CtpBlue`.
51
52 ### Support for special latex packages/classes
53 #### beamer
54 Catppuccinpalette also provides a colorscheme which can be loaded in latex
55 beamer e.g. via `\usecolortheme[style=Latte, accent=Blue]{catppuccin}`
56
57 <details>
58 <summary>🪴 Frappé Example</summary>
59 <img src="assets/beamer.webp"/>
60 </details>
61
62 #### hyperref
63 If you want to `catppuccinpalette` can redefine some colors hyperref uses for
64 highlighting links according to the catppuccin style guide. For this you only
65 need to pass `hyperref=true` to `\usepackage{catppuccinpalette}` (after
66 `hyperref` has been loaded)
67
68 ### Examples
69
70 Please refer to the [examples](https://github.com/catppuccin/latex/tree/main/examples) for full demonstrations, with LaTeX sources and their outputs, on theme usage and code highlighting.
71
72 ## Developing
73 <details>
74 <summary>How to do a new release</summary>
75
76 1. adjust the version tag in the `latex.tera` and `beamercolorthemecatppuccin.dtx` files
77 2. add the changelog entry also in those two files (I'd say we just skip the entry if for the specific package/file nothing was changed now that we have two packages/files)
78 3. run `make whiskers`
79 4. PR -> merge -> tag the commit (conforming to `"v*.*.*"` and the release will be created automatically)
80
81 </details>
82
83 ## 💝 Thanks to
84
85 - [Lukas](https://github.com/atticus-sullivan)
86 - [Brandon](https://github.com/walshyb)
87
88 &nbsp;
89
90 <p align="center">
91 <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" />
92 </p>
93
94 <p align="center">
95 Copyright &copy; 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>
96 </p>
97
98 <p align="center">
99 <a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a>
100 </p>
101