Troubleshooting Latex Previewer: Copying and Pasting Code from Forums and PDFs

  • Context: LaTeX 
  • Thread starter Thread starter Schrodinger's Dog
  • Start date Start date
  • Tags Tags
    Latex
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 9K views
Schrodinger's Dog
Messages
840
Reaction score
7
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? <br /> <br /> 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?<br /> <br /> 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?<br /> <br /> 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 <img src="https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png" class="smilie smilie--emoji" loading="lazy" width="64" height="64" alt=":smile:" title="Smile :smile:" data-smilie="1"data-shortname=":smile:" /> but anyway live and learn...[/tex][/tex][/tex]
 
Last edited:
Physics news on Phys.org
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:
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:
RandallB said:
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
 
RandallB said:
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:
Gokul43201 said:
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 realize 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.