andreasKroepelin / polylux

A package for creating slides in Typst
https://polylux.dev/book
MIT License
1.18k stars 55 forks source link

[BUG] line-by-line breaks list numbering #162

Open totikom opened 6 months ago

totikom commented 6 months ago
#slide(title: "ECDSA: corectness proof")[
   #line-by-line()[
    + $С = u_1 times G + u_2 times Q$
    + $С = u_1 times G + u_2 d times G$
    + $С = (u_1 + u_2 d) times G$
    + $С = (z s^(-1) + r s^(-1) d) times G$
    + $С = (z  + r d)s^(-1) times G$
    + $С = (z  + r d) k/(z + r d) times G$
    + $С = k times G = (x_2, y_2)$
   ]
]

is rendered to: image

andreasKroepelin commented 6 months ago

Huh, how has this never come up before? Weird. I'd like to get rid of line-by-line in tge future anyways, it's just hacky.