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

  • Thread starter Thread starter Schrodinger's Dog
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion centers around issues with the LaTeX previewer on a forum, particularly its failure to display equations correctly when using the [tex] tags. Users report that copying and pasting LaTeX code from PDFs or the forum results in error messages instead of rendered images. It is noted that using dollar signs ($) instead of [tex] tags successfully displays the equations, raising questions about the functionality of the tags. Participants also discuss the correct syntax for various mathematical symbols, including the "NOT =" sign, and clarify that LaTeX is not enabled in preview mode unless using a specific linked previewer, which has its own problems. Overall, the conversation highlights common pitfalls in using LaTeX on the forum and the need for clearer instructions regarding its implementation.
Schrodinger's Dog
Messages
835
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 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] tags and it appeared to work; any reason why the tex tags don&amp;#039;t work? As in the instructions it says to place tex tags before maths?&lt;br /&gt; &lt;br /&gt; I&amp;#039;ve just noticed the math mode as well, maybe I should have played around first. I guess everyone just knows that you don&amp;#039;t need to use the format tags unless your a chump &amp;lt;img src=&amp;quot;https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f642.png&amp;quot; class=&amp;quot;smilie smilie--emoji&amp;quot; loading=&amp;quot;lazy&amp;quot; width=&amp;quot;64&amp;quot; height=&amp;quot;64&amp;quot; alt=&amp;quot;:smile:&amp;quot; title=&amp;quot;Smile :smile:&amp;quot; data-smilie=&amp;quot;1&amp;quot;data-shortname=&amp;quot;:smile:&amp;quot; /&amp;gt; but anyway live and learn...
 
Last edited:
Physics news on Phys.org
I'm no pro at it but when you write:
x^2\sqrt{x}
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:
RandallB said:
While I'm at it does anyone know the Latex to make a "NOT =" sign?

\neq \neq
 
Thanks,
test on variations of not ; \neq \neq

\geq \geq
\ngeq \geq

\leq \leq
\nleq \nleq

\simeq \simeq
... \nsimeq ... is not valid
 
Last edited:
RandallB said:
Thanks,
test on variations of not ; \neq \neq

\geq \geq
\ngeq \geq

\leq \leq
\nleq \nleq

\simeq \simeq
... \nsimeq ... is not valid

\not\eq \not\eq

\not\geq \not\geq

\not\leq \not\leq

\not\simeq \not\simeq

\not 5 \not 5
 
RandallB said:
I'm no pro at it but when you write:
x^2\sqrt{x}
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:
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.
 

Similar threads

Replies
4
Views
3K
Replies
23
Views
3K
Replies
8
Views
2K
Replies
6
Views
3K
Replies
16
Views
4K
Replies
1
Views
3K
Replies
20
Views
3K
Replies
5
Views
3K
Replies
4
Views
4K
Replies
9
Views
3K
Back
Top