-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from andreasKroepelin/main
Release v0.3.0
- Loading branch information
Showing
103 changed files
with
2,452 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#import "@preview/polylux:0.3.0": * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Changelog | ||
|
||
## v0.3.0 | ||
|
||
- The previously existing module `helpers` was transformed to `utils` and now | ||
contains many more useful features. | ||
- The modules `logic` and `utils` are now directly accesible when importing | ||
Polylux (it was a bug that it did not work previously). | ||
- We finally have an ergonomic `#pause` function that does not expect the user | ||
to keep track of some counter themselves. | ||
- The `#alternatives` function has gained lots of friends that make specific | ||
situations a bit more convenient, namely `#alternatives-match`, | ||
`alternatives-cases`, and `alternatives-fn`. | ||
Also, there is a parameter `repeat-last` for `#alternatives` now. | ||
- Bullet lists, enumerations, and term lists now have custom functions to display | ||
them dynamically: `#list-one-by-one`, `#enum-one-by-one`, and `#terms-one-by-one`. | ||
- There is a new function `#fit-to-height` that allows you to resize content to | ||
a given height (especially make it fill the remaining space on a slide!) | ||
Thank you to [@ntjess](https://github.com/ntjess) for the initial implementation! | ||
- Previously, certain themes allowed you to easily put multiple content elements | ||
next to each other. | ||
This is now a commonly available function: `#side-by-side`. | ||
You can use it regardless of any theme and the functionality was removed from | ||
the previously implementing themes. | ||
- Polylux now has special support for the pdfpc presentation viewer. | ||
You can add speaker notes, hide slides, configure the timer, and more all from | ||
within your Typst source file. | ||
Thank you to [@JuliusFreudenberger](https://github.com/JuliusFreudenberger) | ||
for the inspiration and for creating the `polylux2pdfpc` AUR package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,5 +22,5 @@ | |
|
||
What is the capital of the Republic of Benin? | ||
|
||
#uncover(2)[Cotonou] | ||
#uncover(2)[Porto-Novo] | ||
] |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#import "../../../polylux.typ": * | ||
#set page(paper: "presentation-16-9") | ||
#set text(size: 50pt) | ||
|
||
/* | ||
#alternatives-match(( | ||
"1, 3" : [ | ||
Some text | ||
], | ||
"2" : [ | ||
#set text(fill: teal) | ||
Some text | ||
], | ||
)) | ||
*/ | ||
|
||
#polylux-slide[ | ||
#alternatives-cases(("1, 3", "2"), case => [ | ||
#set text(fill: teal) if case == 1 | ||
Some text | ||
]) | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#import "../../../polylux.typ": * | ||
#set page(paper: "presentation-16-9") | ||
#set text(size: 60pt) | ||
|
||
#polylux-slide[ | ||
#alternatives-fn(start: 2, count: 7, subslide => { | ||
numbering("(i)", subslide) | ||
}) | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#import "../../../polylux.typ": * | ||
#set page(paper: "presentation-16-9") | ||
#set text(size: 50pt) | ||
|
||
#polylux-slide[ | ||
#alternatives-match(( | ||
"1, 3-5": [this text has the majority], | ||
"2, 6": [this is shown less often] | ||
)) | ||
] |
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#import "../../../polylux.typ": * | ||
#set page(paper: "presentation-16-9") | ||
#set text(size: 50pt) | ||
|
||
#polylux-slide[ | ||
#alternatives(repeat-last: true)[temporary][transitory][ephemeral][permanent!] | ||
|
||
#uncover(5)[Did I miss something?] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#import "../../../polylux.typ": * | ||
#set page(paper: "presentation-16-9") | ||
#set text(size: 50pt) | ||
|
||
#polylux-slide[ | ||
#enum-one-by-one(numbering: "i)", number-align: start)[first][second][third] | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#import "../../../polylux.typ": * | ||
#set page(paper: "presentation-16-9") | ||
#set text(size: 50pt) | ||
|
||
#polylux-slide[ | ||
#list-one-by-one(marker: [--], tight: false)[first][second][third] | ||
] |
Oops, something went wrong.