Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large roman numerals #540

Closed
stone-zeng opened this issue Feb 22, 2019 · 2 comments
Closed

Large roman numerals #540

stone-zeng opened this issue Feb 22, 2019 · 2 comments

Comments

@stone-zeng
Copy link
Contributor

\int_to_roman:n { 5000 } gives "mmmmm", but in the "standard" roman numerals use overbar such as \bar{v}. Of course it may not be permitted in the pure-text mode. So please consider to add a notice that the integer inside \int_to_roman:n should not larger than 4999, otherwise the result may not be so correct.

@eg9
Copy link
Contributor

eg9 commented Feb 22, 2019

\int_to_roman:n is an expl3 wrapper around \romannumeral (allowing integer expressions). It is not really for printing arbitrary numbers in Roman notation, which pertains to formatting and is out of the scope of expl3.

It might be useful to add a short note about this in the documentation.

@josephwright
Copy link
Member

As @eg9 says, this is a number conversion function: I don't think one could actually store the bar notation in a portable way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants