touying-typ / touying

Touying is a powerful package for creating presentation slides in Typst.
https://touying-typ.github.io/touying/
MIT License
460 stars 10 forks source link

How to remove the numbering of subsections in the Dewdrop Theme? #48

Closed OB0NE closed 1 month ago

OB0NE commented 1 month ago

I tried the example of the Dewdrop Theme in the Typst app but got a different appearance: image which contains unwanted numbering before subsection titles. And I want to achieve what the example picture looks like: image I have tried to remove the numbering by : #let s = (s.methods.numbering)(self: s, section: none, none) but failed. So, I wanted to know if there is a way to remove the unwanted numbering before headings in the theme dewdrop.

OrangeX4 commented 1 month ago
#(s.numbering = none)

I will fix s.methods.numbering in the next release.

OB0NE commented 1 month ago

It works. Thanks a lot!

#(s.numbering = none)

I will fix s.methods.numbering in the next release.