Hi Typst community,
I’m looking to customize the numbering of my ordered lists in Typst as follows:
Level 1 lists: Should be numbered with Chinese numerals (e.g., 一, 二, 三, …).
Level 2 lists: Should be numbered with standard Arabic numerals (e.g., 1, 2, 3, …).
Y.D.X
May 28, 2025, 2:40pm
2
Hi! You can write a function for that, but it would be easier to use https://typst.app/universe/package/numbly:
#import "@preview/numbly:0.1.0": numbly
#set heading(numbering: numbly(
"{1:一}、", // use {level:format} to specify the format
"{2}.", // if format is not specified, arabic numbers will be used
))
Edit: The above is for headings, not lists. Please see the reply below for lists.
Duplicate of
I’m a lawyer in Poland and I recently started using Typst for writing documents, which allowed me to use Emacs in my work to a larger extent. I created couple of templates for letterheads and use Tempel templates for types of documents, that I need most often.
My only gripe with Typst is, that I couldn’t find any obvious way to have different characters after numbers or letters in different levels of numbered lists (e.g. “1.” for 1st level, “1)” for 2nd level), which is style typically used in …
Thanks for pointing it out @Andrew ! @ sanbei101344 , feel free to flag your own post/message me if you think this is an error.