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

Changing output-complex-root turns to italic #762

Closed
csrabak opened this issue Dec 24, 2024 · 3 comments
Closed

Changing output-complex-root turns to italic #762

csrabak opened this issue Dec 24, 2024 · 3 comments

Comments

@csrabak
Copy link

csrabak commented Dec 24, 2024

As per present manual, if the output-complex-root is changed, even to the default "i", instead of keeping the \mathrm format, it changes to italic.

Is there a means of put a "j" and have it upright, perhaps [output-complex-root = \mathrm{j}] ?

@josephwright
Copy link
Owner

Er, yes, you get exactly the literal set here, so for upright-j you need \mathrm{j}: the standard value of \mathrm{i} hopefully shows the pattern.

@csrabak
Copy link
Author

csrabak commented Dec 26, 2024

OK, I would not expect, but I understand the mechanics so OK.
I was educated that 'e', the imaginary 'i' or 'j', where always "upright" exactly to avoid confusion to with variables which are expected to be typeset in italic, as a rule.

Thanks.

@josephwright
Copy link
Owner

OK, I would not expect, but I understand the mechanics so OK. I was educated that 'e', the imaginary 'i' or 'j', where always "upright" exactly to avoid confusion to with variables which are expected to be typeset in italic, as a rule.

There are different traditions here: pure mathematicians tend to use italic, physicists and engineers upright. There is no 'right' answer here, so siunitx simply users math mode and expects the user to make their own decision.

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

2 participants