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

Remove incorrect space in LaTeX representation of units #1249

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

mstimberg
Copy link
Member

This is a micro-fix: I noticed that our LaTeX export for Quantity objects was slightly off, it added a space between the scale and the unit symbol which is wrong and makes for confusing compound units. This removes the space, so a space is now only added between the separate units. A fairly non-controversial change, I think :)

LaTeX output for print(sympy.latex(ms*pA))

Before:
image

After:
image

@mstimberg mstimberg merged commit 1660f35 into master Oct 30, 2020
@mstimberg mstimberg deleted the latex_units branch October 30, 2020 18:42
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

Successfully merging this pull request may close these issues.

None yet

2 participants