Snippyst
HomeSnippetsNew SnippetLogin
Snippyst

Share and discover Typst snippets with the community

Resources

  • Browse Snippets
  • Create Snippet
  • Database Dump
  • Typst Website
  • Source Code

About

  • About
  • Contact
  • Imprint

Legal

  • Privacy Policy
  • Terms of Service

Snippyst is not affiliated with Typst

← Back to snippets

Comma Numbers

The American number writing is "1.5". In other languages a comma is used instead of the dot. Using a comma in math mode differs in layout compared to using a dot. This snippet provides some code that automatically converts that. Additionally it adds a group separator.

Created by: JL710
Last updated: 10/25/2025
Versions:?
0.13.1
Preview
100%
Comma Numbers
Code
Loading...

Comments

Please log in to post comments.

Code
Loading...

Comma Numbers

The American number writing is "1.5". In other languages a comma is used instead of the dot. Using a comma in math mode differs in layout compared to using a dot. This snippet provides some code that automatically converts that. Additionally it adds a group separator.

Created by: JL710
Last updated: 10/25/2025
Versions:?
0.13.1
Preview
100%
Comma Numbers

Comments

Please log in to post comments.