Re:Jupyter, Mathematica, and the Future of the Research Paper
by pletnes on Sunday April 15, 2018 @08:43AM
(#16842417)
Using \text{} instead of \sin is, arguably, plain incorrect. Or at least at odds with the tex philosophy of separation between content and formatting.
Re:Jupyter, Mathematica, and the Future of the Research Paper
by rotorblade on Sunday April 15, 2018 @06:09AM
(#16842053)
Yeah, I guess that is fair. It might just be that it is more or less the furthest way from how I like to work as I can imagine.
> Sin[θ] //TraditionalForm //TeXForm
Did not know of this. Thanks!
Re:Jupyter, Mathematica, and the Future of the Research Paper
by henrikeh on Sunday April 15, 2018 @11:39AM
(#16843107)
TeXForm automatically applies TradionalForm unless another *Form is applied.
So TeXForm[Sin[x]] gives "\sin (x)"
Re:Jupyter, Mathematica, and the Future of the Research Paper
by improbable22 on Sunday April 15, 2018 @12:08PM
(#16843251)
Indeed, sorry! It even says so in the help.
And while I swear I've had rotorblade's problem before, right now "Copy as LaTeX" seems to do this too.
You complain about Sin[] but not about ugly things like np.sin()? Also I think you're looking for