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

Fix LaTeX dagger rendering #13672

Merged
merged 2 commits into from
Dec 6, 2017
Merged

Fix LaTeX dagger rendering #13672

merged 2 commits into from
Dec 6, 2017

Conversation

jarthurgross
Copy link
Contributor

Change LaTeX rendering of daggers from \dag to \dagger, since \dag is a text-mode command and \dagger is the math-mode command that is relevant for output of mathematical expressions in LaTeX.

Fixes #13671

`\dag` doesn't display as a dagger in math mode, making jupyter
notebooks look ugly when prettyprinting expressions with daggers.
This commit makes the tests expect `\dagger` instead.
There is no reason to have `\dag` in LaTeX expressions (as it is a
text-mode macro), so change everything to use `\dagger` (the
math-mode equivalent).
Copy link
Contributor

@gxyd gxyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gxyd gxyd merged commit 8cd063f into sympy:master Dec 6, 2017
@gxyd
Copy link
Contributor

gxyd commented Dec 6, 2017

Thanks for your contribution.

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.

2 participants