I am using LyX to type answers and questions for Math.SE and many times I need to use use inline math (by writing two dollars signs instead of just the one, i.e $$).
After finishing typing I copy the text from "body" view (so I can copy all of it at once) and paste it to the forum.
The only problem is that for the opening instead of the double dollar signs I have [ and for the closing double dollar signs I have ]
Then I go over all instances and changes them by hand.
Can I make LyX use $$ ?
\[and\]initiate and terminate display math, not inline math. To switch back and forth between text mode and inline math, you should the control sequences\(and\)or the singe-dollar,$, switch. For a discussion of why LaTeX users should not use the double-dollar,$$, switch see, e.g., What are the differences between$$,\[,align,equationanddisplaymath?. – Mico Oct 19 '13 at 08:13$) but even if you can change lyx here it would not help completely as the markup is different, for example foralignin lyx or latex there is no outer$$or\[at all, but mathjax needs the$$to enable processing – David Carlisle Oct 19 '13 at 09:30align*s. See for example this question, which I edited myself, whose code shows no$$around the manyalign*s in it. And I just triedalign,gatherandgather*, and it rendered. Even with the&s, which surprised me. – MickG Feb 27 '16 at 10:32