Set rules for gloss

Doesn't currently work, see https://github.com/typst/typst/issues/147
This commit is contained in:
Greg Shuflin 2023-07-06 01:06:15 -07:00
parent e61a58fac0
commit 32b0a2c936
1 changed files with 16 additions and 0 deletions

16
new-example.typ Normal file
View File

@ -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],
)