Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Raw strings instead of @ for display.latex #13

Closed
larsrinn opened this issue Jun 9, 2017 · 1 comment
Closed

Raw strings instead of @ for display.latex #13

larsrinn opened this issue Jun 9, 2017 · 1 comment

Comments

@larsrinn
Copy link
Contributor

larsrinn commented Jun 9, 2017

Why do you recommend to use an @ instead of an \ for displaying latex equations? In my opinion this reduces readabiliy if you're already used to latex and adds an extra step when copy&pasting equations from another source/equation generator. What currently already works is using a raw string. At least I suggest to add this information to the documentation

cd.display.latex(r'\alpha @delta')

btw, I'm running Windows 10 and Python 3.5.3. I know of some issues between Linux and Windows when it comes to backslashes, but I guess this only true for everything touching the filesystem (?)

@sernst
Copy link
Owner

sernst commented Jun 24, 2017

Yes, you make good points. The issues I encountered when trying to implement this weren't with the input in Python because you can use the raw string method as you've demonstrated. The problems occurred in the JavaScript. But I'll look into support for this because it would be nice.

@sernst sernst closed this as completed May 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants