From 32b0a2c93685d5505d18dcce179a6c434e61c72f Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Thu, 6 Jul 2023 01:06:15 -0700 Subject: [PATCH] Set rules for gloss Doesn't currently work, see https://github.com/typst/typst/issues/147 --- new-example.typ | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 new-example.typ diff --git a/new-example.typ b/new-example.typ new file mode 100644 index 0000000..03a414d --- /dev/null +++ b/new-example.typ @@ -0,0 +1,16 @@ +#import "leipzig-gloss.typ": gloss, numbered_gloss, gloss_count + +#set gloss(header_text_style: text(color: "blue")) + += Saimiar + +#let sc = smallcaps + +From the song Tetrachromacy (_xoikesêcuxasø_) by King Gizzard. + +#gloss( + header_text: [vath sêcubai dhiakŋo, somyxasan krexasir êsuŋo], + source_text: ([vath], [sêcu-bai], [dhika-ŋo], [so-my-xas-an], [kre-xas-ir], [êsu-ŋo]), + morphemes: ([three], [color-#sc[1sg]:#sc[pos]], [divide-#sc[cop]], [#sc[all]-un-see-#sc[nom]], [#sc[pot]-see-#sc[nom]], [desire-#sc[cop]]), + translation: [my three shades are divisible, lust to see the invisible], +)