Skip to content

Locale-aware number formatting #1093

@asaltanubes

Description

@asaltanubes

Description

In Spanish the decimal separator is a comma instead of a period, in latex when using Babel in Spanish mode when in math mode the decimal separator is changed automatically. It would be nice to have the same treatment when using text(lang: "es").

Use Case

#set text(lang: "es")
$3.1415$

should output something like
image
instead of
image

Edit: mistyped text(lang: "en")

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requesttextRelated to the text category, which is all about text handling, shaping, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions