This question already has an answer here:

I was trying to display both normal text and mathjax generated output continuously in the same line. I've tried configuring inline technique using \$ but failed. I also tried \text{...} which does not seem to work. Also used \begin \end tags. Then found somewhere \intertext suggestion. Nothing worked.


marked as duplicate by T. Bongers, Najib Idrissi, JonMark Perry, Shailesh, Watson Sep 4 '16 at 8:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from math.stackexchange.com Aug 5 '16 at 4:47

This question came from our site for people studying math at any level and professionals in related fields.

  • $\begingroup$ I'm fairly sure you can't do both at once $\endgroup$ – pie314271 Aug 5 '16 at 0:37
  • $\begingroup$ e.g $n \; \text{odd}$ or something else? $\endgroup$ – Tolaso Aug 5 '16 at 0:37
  • 3
    $\begingroup$ I think this is really more suitable for a MathJax forum or the TeX.SE. In any case I think by default one has to use \( and \). If you want the behavior most people want you have to tweak the configuration. $\endgroup$ – Hoot Aug 5 '16 at 0:41
  • $\begingroup$ $$\frac{\text{\text}}{\text{what you want?}}$$ $\endgroup$ – Simply Beautiful Art Aug 5 '16 at 0:41
  • 2
    $\begingroup$ Could you attempt to show us? It'd be insightful $\endgroup$ – Simply Beautiful Art Aug 5 '16 at 0:47

We know that $a=\sqrt{b}$.

The above was entered as

We know that \$a=\sqrt{b}\$.

  • $\begingroup$ \$ is disabled by default. How to enable it? $\endgroup$ – Abdullah Al Mahmud Aug 5 '16 at 0:42
  • $\begingroup$ @AbdullahAdilMahmud I checked your \$ and it is hexadecimal 24 which is correct, so it should work. Do you have a $ sign on your keyboard or are you entering it some other way? $\endgroup$ – John Wayland Bales Aug 5 '16 at 0:46
  • $\begingroup$ I do. @JohnWaylandBales $\endgroup$ – Abdullah Al Mahmud Aug 5 '16 at 0:47
  • $\begingroup$ @AbdullahAdilMahmud That is like saying "yes" to a chocolate or vanilla question. $\endgroup$ – Simply Beautiful Art Aug 5 '16 at 0:48
  • $\begingroup$ @Abdullah Could you copy and paste the second line from martycohen beginning with 'We know . . ." into a comment and see what results? $\endgroup$ – John Wayland Bales Aug 5 '16 at 0:50
  • $\begingroup$ Did similar things. Actually the problem now is configuring single dollar. @John $\endgroup$ – Abdullah Al Mahmud Aug 5 '16 at 0:55
  • $\begingroup$ For single dollar do $\backslash$\$ or perhaps I misunderstood your meaning. You mean by single-dollar inline math? $\endgroup$ – John Wayland Bales Aug 5 '16 at 0:57
  • 3
    $\begingroup$ @AbdullahAdilMahmud The math is not rendered until you hit 'enter'. $\endgroup$ – John Wayland Bales Aug 5 '16 at 0:59
  • $\begingroup$ Solved. Thanks all! $\endgroup$ – Abdullah Al Mahmud Aug 5 '16 at 1:07

Not the answer you're looking for? Browse other questions tagged .