Latex question?

  • #1
The Latex previewer on the Latex thread? It doesn't appear to work properly, I'll admit that I don't know much at all about latex but even when I cut and paste text from say the pdf or the forum directly into the box it comes up with a load of compuspeak and no image? Is there a reason for this so far I've tried [tex]x^2\sqrt{x}[\tex] and I get no joy, and a few even simpler equations but nothing but error script?

Btw I cut and pasted that from the pdf tutorial to make sure I had the format right? Am I beind stupid, is my formatting wrong, or can you not copy and paste latex code from the forum to the test program?

Ahhh, I tried adding $ signs instead of using the [tex][\tex] tags and it appeared to work; any reason why the tex tags don't work? As in the instructions it says to place tex tags before maths?

I've just noticed the math mode as well, maybe I should have played around first. I guess everyone just knows that you don't need to use the format [tex] tags unless your a chump :smile: but anyway live and learn...
 
Last edited:

Answers and Replies

  • #2
1,548
0
I'm no pro at it but when you write:
[tex]x^2\sqrt{x}[/tex]
Doesn't the slash need to be forward ( / ) not backwards ( \ )as yours seem to be in the closing tag?
While I'm at it does anyone know the Latex to make a "NOT =" sign?
 
Last edited:
  • #3
robphy
Science Advisor
Homework Helper
Insights Author
Gold Member
5,755
1,051
While I'm at it does anyone know the Latex to make a "NOT =" sign?
[tex] \neq [/tex] \neq
 
  • #4
1,548
0
Thanks,
test on variations of not ; [tex] \neq [/tex] \neq

[tex] \geq [/tex] \geq
[tex] \ngeq [/tex] \geq

[tex] \leq [/tex] \leq
[tex] \nleq [/tex] \nleq

[tex]\simeq[/tex] \simeq
........ \nsimeq ..... is not valid
 
Last edited:
  • #5
robphy
Science Advisor
Homework Helper
Insights Author
Gold Member
5,755
1,051
Thanks,
test on variations of not ; [tex] \neq [/tex] \neq

[tex] \geq [/tex] \geq
[tex] \ngeq [/tex] \geq

[tex] \leq [/tex] \leq
[tex] \nleq [/tex] \nleq

[tex]\simeq[/tex] \simeq
........ \nsimeq ..... is not valid
[tex] \not\eq [/tex] \not\eq

[tex] \not\geq [/tex] \not\geq

[tex] \not\leq [/tex] \not\leq

[tex]\not\simeq[/tex] \not\simeq

[tex]\not 5[/tex] \not 5
 
  • #6
I'm no pro at it but when you write:
[tex]x^2\sqrt{x}[/tex]
Doesn't the slash need to be forward ( / ) not backwards ( \ )as yours seem to be in the closing tag?
While I'm at it does anyone know the Latex to make a "NOT =" sign?
It doesn't like tex tags forward slashed or backwards although point noted.(in the tutorial it's actually that way which is where I copied it from)

It also doesn't use \frac instead it uses the format 1 \over 2.
 
Last edited:
  • #7
Gokul43201
Staff Emeritus
Science Advisor
Gold Member
7,051
18
Last edited:
  • #8
SD, are you talking about the preview mode or posting in general?

LaTeX is not enabled in preview mode...unless you're using the previewer linked here: https://www.physicsforums.com/showthread.php?t=144652 , but there's problems with that tester.
Yeah that's the one, I didn't realise it had been highlighted already, the idea was to let people know there are a few issues with that previewer so job done. Thanks people for the advice.
 

Related Threads on Latex question?

  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
4
Views
12K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
7
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
4
Views
3K
  • Last Post
Replies
5
Views
2K
  • Last Post
Replies
1
Views
2K
Top