Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/preview/touying-greyc-ambrosia/0.1.0/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
assets/samples
examples/
target/
template/*.pdf
7 changes: 7 additions & 0 deletions packages/preview/touying-greyc-ambrosia/0.1.0/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2026 Hoang-Nhat TRAN

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
109 changes: 109 additions & 0 deletions packages/preview/touying-greyc-ambrosia/0.1.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
touying-greyc-ambrosia [![Typst Universe](https://img.shields.io/badge/dynamic/xml?url=https%3A%2F%2Ftypst.app%2Funiverse%2Fpackage%2Ftouying-greyc-ambrosia&query=%2Fhtml%2Fbody%2Fdiv%2Fmain%2Fdiv%5B2%5D%2Faside%2Fsection%5B2%5D%2Fdl%2Fdd%5B3%5D&logo=typst&label=Universe&color=%23239DAE)](https://typst.app/universe/package/touying-greyc-ambrosia) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
------

`touying-greyc-ambrosia` is a [Touying](https://github.com/touying-typ/touying) theme for creating presentation slides in [Typst](https://github.com/typst/typst).

It is an _unofficial_ template intended for members of the [GREYC](https://www.greyc.fr/en/home/) lab, and is designed (by default) to mimic the official LaTeX & PPT templates provided in https://www.greyc.fr/intranet.
However, the theme comes with a lot of modifications and a range of different variants.
You are free to use or modify it for your own academic presentations, regardless of your affiliation.

> ✨ **Fun Fact**
> _Ambrosia_ 🍲 is a food or drink of the Greek gods, often described as having every flavor imaginable.

## Features

### Flavors

The `greyc-theme` offers five different flavors, inspired by existing touying and beamer themes.

| flavor | 1 | 2 | 3 |
|:------:|:---:|:---:|:---:|
| **`legacy`** | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-legacy-1.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-legacy-2.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-legacy-3.webp" width="300"> |
| `cambridge` | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-cambridge-1.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-cambridge-2.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-cambridge-3.webp" width="300"> |
| `darmstadt` | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-darmstadt-1.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-darmstadt-2.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-darmstadt-3.webp" width="300"> |
| `dewdrop` | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-dewdrop-1.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-dewdrop-2.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-dewdrop-3.webp" width="300"> |
| `stargazer` | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-stargazer-1.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-stargazer-2.webp" width="300"> | <img src="https://raw.githubusercontent.com/inspiros/touying-greyc-ambrosia/master/assets/samples/sample-stargazer-3.webp" width="300"> |

To select a flavor, you pass its name to the show rule of the theme.

```typ
#import "@preview/touying-greyc-ambrosia:0.1.0": *

#show: greyc-theme.with(
flavor: "[flavor-name]"
)
```

### Other Functionalities

#### Footnote Citation

- Instead of using the prose citation `@key`, we can use the `#footcite(<key>)` function, which further includes a full citation to the footnote of the same slide.
- At the end of the presentation, you must add your bibliography either by:
- A separate bibliography slide.
```typ
#bibliography-slide("bibliography.bib", style: "ieee")
```
- A hidden bibliography.
```typ
#hidden-bibliography("bibliography.bib", style: "ieee")
```

> 💡 **Tip**
> Footnote citation, by default, is inserted only in the first slide an article was cited. To make it appear on all slides they are mentioned, modify the `footcite-once` parameter.
> ```typ
> #show: greyc-theme.with(
> footcite-once: false
> )
> ```

## Usage

This package is available in the Typst universe.
To use it, simply add the following code to your document.

```typ
#import "@preview/touying-greyc-ambrosia:0.1.0": *

#show: greyc-theme.with(
// legacy | stargazer | dewdrop | cambridge | darmstadt
flavor: "legacy",
aspect-ratio: "16-9",
config-info(
title: [Title],
subtitle: [Subtitle],
author: [Author],
date: datetime.today(),
institution: [Institution],
),
)

#title-slide()

= Section Title

== Slide

#lorem(30)
```

> ℹ️ **Note**
> `touying-greyc-ambrosia` should always be imported after `touying` (which is not necessary and can be removed) in order for the functions and components it overrides to work correctly (e.g. `#alert`, `#show appendix`, ...).
> ```typ
> #import "@preview/touying:0.6.2": *

Check warning on line 93 in packages/preview/touying-greyc-ambrosia/0.1.0/README.md

View check run for this annotation

Typst package check / @preview/touying-greyc-ambrosia:0.1.0

packages/preview/touying-greyc-ambrosia/0.1.0/README.md#L93

This import seems to use an older version of the package.
> #import "@preview/touying-greyc-ambrosia:0.1.0": *
> ```

Or you can only download it for local use:

```cmd
git clone https://github.com/inspiros/touying-greyc-ambrosia
```

### Examples

For more sophisticated use cases, please check [`examples/demo.typ`](https://github.com/inspiros/touying-greyc-ambrosia/blob/master/examples/demo.typ) and [`examples/demo.pdf`](https://github.com/inspiros/touying-greyc-ambrosia/blob/master/examples/demo.pdf).

## License

MIT licensed, see [LICENSE](LICENSE).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions packages/preview/touying-greyc-ambrosia/0.1.0/assets/logo-cnrs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading