Testing mathematica TeX output in PF

Click For Summary

Discussion Overview

The discussion revolves around testing and formatting TeX output in Mathematica for use in Physics Forums. Participants explore various ways to represent mathematical expressions, particularly square roots and other equations, using TeX syntax.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants inquire whether the expression \({\root{2}\of{x}}\) represents the square root of \(x\).
  • Others ask how to properly format TeX code for display, with various attempts at using different syntax.
  • One participant suggests that removing spaces in the TeX commands may resolve formatting issues.
  • A participant mentions that using \(\sqrt{x}\) might be easier than the \({\root{2}\of{x}}\) format.
  • There are multiple attempts to display expressions like \(a^x_n\) and \(E = mc^2\) using different TeX notations.

Areas of Agreement / Disagreement

Participants express differing opinions on the best way to format TeX output, with no consensus on a single approach. Some suggest alternatives while others continue to test various formats.

Contextual Notes

Some formatting issues may arise from the use of spaces in TeX commands, and there is a mention of the need for an equation editor for more complex equations.

Who May Find This Useful

Users interested in formatting mathematical expressions in TeX for online discussions, particularly in forums focused on physics and mathematics.

ashfaque
Messages
36
Reaction score
0
\({\root{2}\of{x}}\)

is it square root of x ... :) ?
 
Physics news on Phys.org
\begin{document}

\({\root{2}\of{x}}\)


\end{document}
does it work?
 
can u tell me how can i do this properly?
 
<br /> \({\root{2}\of{x}}\)<br /> [\tex]<br /> now?
 
[text] \({\root{2}\of{x}}\) [/tex]
now?
 
i think now ...
[ tex ] \({\root{2}\of{x}}\) [ /tex ]
??
 
does the following work?

[ tex ] a^x_n [ /tex ]
 
You need to take out the spaces ashfaque.

Take a look at this thread for assistance. You can click on the graphic to see the code which generated it.

Please also note that you can see the graphic when you preview a post. Please experiment that way.

Thanks
 
\sqrt{2}

a^x_n
 
  • #10
okke now ..
E = mc^2
 
  • #11
Thank uuu MENTOR
:)
 
  • #12
You can enter square roots as

\root{2}\of{x}

but it's easier to use

\sqrt{x}

You probably don't need to bother using an equation editor unless your equation are really, really complex.

- Warren
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
8
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K