1

I use Mathematica to create notebooks that include "text" cells only. I use them to create textbook formatted mathematical notation.

Occasionally I use the Stack Exchange Mathematics forum to ask math questions. I write up the problem using a text cell in Mathematica and then I take a screen shot to include in my StackExchange post. That way the notation looks as it would in a textbook. But a screenshot is not optimal. I have been told I should use MathJax to enter properly formatted expressions.

I do not want to learn MathJax. I would rather find a way to copy and paste directly from Mathematica? Is this possible? If not, is there a 1 or 2 or 3 step process for which I can copy and paste and then convert without having to learn how to code MathJax?

7
  • MathJax is a subset of LaTeX, so just right click on the cell edge and select "copy as" LaTeX.
    – C. E.
    Sep 9, 2016 at 9:08
  • 1
    @C.E. But that will create math-mode LaTeX even for non-math text. And the generated LaTeX may need cleanup too. So there's no way around learning at least the basics of math-mode LaTeX notation. That should take no more than an 0.5-1 hour and it's well worth the time if you are going to do any amount of writing about math (including SE posts).
    – Szabolcs
    Sep 9, 2016 at 9:12
  • 1
    However, you can always choose to copy only the formula as TeX code from Mathematica, and type the rest of the text normally. Observe the TeX code and use it to learn to write it manually over time.
    – Szabolcs
    Sep 9, 2016 at 9:27
  • 1
    @Szabolcs I looked at one of the posts and the Mathematica excerpts are just formulas, no text.
    – C. E.
    Sep 9, 2016 at 9:49
  • @Szabolcs. The formulas were created in a text cell. They are text cells with inline formulas. I would like to copy the whole text cell which includes inline formulas like the ones I've posted. I will take your advice and learn some Tex.
    – B flat
    Sep 9, 2016 at 9:52
  • 1
    I just recalled that R.M. developed a solution for converting entire notebooks into StackExchange Markdown so they can be posted directly. The first download link I found right now is the comment of Jacob here.
    – C. E.
    Sep 9, 2016 at 9:54
  • @C.E. I'm sorry, it seems I misunderstood. A simple Copy as TeX should work then. It's also a good starting point to learn basic math-mode TeX.
    – Szabolcs
    Sep 9, 2016 at 10:08

0

You must log in to answer this question.

Browse other questions tagged .