Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add script letters #38

Merged
merged 2 commits into from
Feb 19, 2024
Merged
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
17 changes: 9 additions & 8 deletions undergradmath.typ
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#show "?!": box(text(orange, [No idea #emoji.face.unhappy]))
// Tricky figure numbering
#set figure(numbering: n => {
([??], [!!], [?!]).at(n - 1)
([??], [!!], [?!]).at(n)
})
// No prefix
#set ref(supplement: "")
Expand Down Expand Up @@ -87,12 +87,12 @@ This is a Typst port with typst #sys.version of _#LaTeX Math for Undergrads_ by
The original version is available at #link("https://gitlab.com/jim.hefferon/undergradmath").

= Meaning of annotations
#figure(
table(
columns: (1fr, 2fr),
[??], [Unavailable until typst #sys.version.],
)
) <unavailable>
// #figure(
// table(
// columns: (1fr, 2fr),
// [??], [Unavailable until typst #sys.version.],
// )
// ) <unavailable>
#figure(
table(
columns: (1fr, 2fr),
Expand Down Expand Up @@ -136,7 +136,8 @@ Use as in `$cal(A)$`.

$ cal(A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) $

Getting script letters is @unavailable.
#show math.equation: set text(stylistic-set: 1)
Get script letters, such as $cal(P)$ from `$cal(P)$`, by changing the `stylistic-set` parameter of `text()` to the corresponding set.

= Greek
#align(center, table(
Expand Down
Loading