jbezos / enumitem

Customize enumerate, itemize and description
MIT License
48 stars 5 forks source link

Any difference between the keys `font` and `format`? #45

Closed SwitWu closed 1 year ago

SwitWu commented 1 year ago

Do the two keys font and format have any difference? According to the manual, format is a synonym for font.

muzimuzhi commented 1 year ago

From the source code, font is just a/an (semantic) alias for format. https://github.com/jbezos/enumitem/blob/1bdcad0987823b3716c86b126b3863f895ea9c4a/enumitem.sty#L434-L441

SwitWu commented 1 year ago

So what is the intention to preserve two keys with the same function?

jbezos commented 1 year ago

Just use the name that best fits what you're setting. That’s all.