Skip to content
Merged
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
674 changes: 674 additions & 0 deletions packages/preview/typslides/1.2.8/LICENSE

Large diffs are not rendered by default.

130 changes: 130 additions & 0 deletions packages/preview/typslides/1.2.8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<p align="center">
<img src="img/logo.png" alt="logo" width="400"/>
</p>

<p align="center">
<img src="https://img.shields.io/badge/license-GPLv3-blue" alt="License">
<img src="https://badgen.net/github/contributors/manjavacas/typslides" alt="Contributors">
<img src="https://badgen.net/github/release/manjavacas/typslides" alt="Release">
<img src="https://img.shields.io/github/stars/manjavacas/typslides" alt="GitHub Repo stars">
</p>

<p align="justify">
<strong>Typslides</strong> is a minimalist package for creating presentations with <a href="https://typst.app/">typst</a>, designed to offer a simple and fast user experience. Structure your content with different slide styles and aesthetic elements. With a clear and concise syntax, Typslides makes it easy to create elegant and well-organized presentations.
</p>

<p align="justify">
Default <strong>themes</strong>:
</p>

<p align="center">
🔵 <strong>bluey</strong> 🔴 <strong>reddy</strong> 🟢 <strong>greeny</strong> 🟡 <strong>yelly</strong> 🟣 <strong>purply</strong> 🔵 <strong>dusky</strong> ⚫ <strong>darky</strong>
</p>

# Quickstart

This is a simple usage example:

```typst
#import "@preview/typslides:1.2.8": *

// Project configuration
#show: typslides.with(
ratio: "16-9",
theme: "bluey",
font: "Fira Sans",
link-style: "color",
)

// The front slide is the first slide of your presentation
#front-slide(
title: "This is a sample presentation",
subtitle: [Using _typslides_],
authors: "Antonio Manjavacas",
info: [#link("https://github.com/manjavacas/typslides")],
)

// Custom outline
#table-of-contents()

// Title slides create new sections
#title-slide[
This is a _Title slide_
]

// A simple slide
#slide[
- This is a simple `slide` with no title.
- #stress("Bold and coloured") text by using `#stress(text)`.
- Sample link: #link("typst.app").
- Link styling using `link-style`: `"color"`, `"underline"`, `"both"`
- Font selection using `font: "Fira Sans"`.

#framed[This text has been written using `#framed(text)`. The background color of the box is customisable.]

#framed(title: "Frame with title")[This text has been written using `#framed(title:"Frame with title")[text]`.]
]

// Focus slide
#focus-slide[
This is an auto-resized _focus slide_.
]

// Blank slide
#blank-slide[
- This is a `#blank-slide`.

- Available #stress[themes]#footnote[Use them as *color* functions! e.g., `#reddy("your text")`]:

#framed(back-color: white)[
#bluey("bluey"), #reddy("reddy"), #greeny("greeny"), #yelly("yelly"), #purply("purply"), #dusky("dusky"), darky.
]

// #show: typslides.with(
// ratio: "16-9",
// theme: "bluey",
// ...
// )

- Or just use *your own theme color*:
- `theme: rgb("30500B")`
]

// Slide with title
#slide(title: "Outlined slide", outlined: true)[
- Outline slides with `outlined: true`.

#grayed([This is a `#grayed` text. Useful for equations.])
#grayed($ P_t = alpha - 1 / (sqrt(x) + f(y)) $)

]

// Columns
#slide(title: "Columns")[

#cols(columns: (2fr, 1fr, 2fr), gutter: 2em)[
#grayed[Columns can be included using `#cols[...][...]`]
][
#grayed[And this is]
][
#grayed[an example.]
]

- Custom spacing: `#cols(columns: (2fr, 1fr, 2fr), gutter: 2em)[...]`

- Sample references: @typst, @typslides.
- Add a #stress[bibliography slide]...

1. `#let bib = bibliography("you_bibliography_file.bib")`
2. `#bibliography-slide(bib)`
]

// Bibliography
#let bib = bibliography("bibliography.bib")
#bibliography-slide(bib)

```

# Sample slides

<kbd><img src="img/slide-1.svg" width="300"></kbd> <kbd><img src="img/slide-2.svg" width="300"></kbd> <kbd><img src="img/slide-3.svg" width="300"></kbd> <kbd><img src="img/slide-4.svg" width="300"></kbd> <kbd><img src="img/slide-5.svg" width="300"></kbd> <kbd><img src="img/slide-6.svg" width="300"></kbd> <kbd><img src="img/slide-7.svg" width="300"></kbd> <kbd><img src="img/slide-8.svg" width="300"></kbd> <kbd><img src="img/slide-9.svg" width="300"></kbd>
Binary file added packages/preview/typslides/1.2.8/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
376 changes: 376 additions & 0 deletions packages/preview/typslides/1.2.8/img/slide-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
186 changes: 186 additions & 0 deletions packages/preview/typslides/1.2.8/img/slide-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions packages/preview/typslides/1.2.8/img/slide-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading