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
Click For Summary

Discussion Overview

The discussion revolves around troubleshooting issues with the LaTeX previewer on the Physics Forums, specifically regarding copying and pasting LaTeX code from forums and PDFs. Participants explore formatting challenges, the use of specific tags, and the functionality of the previewer.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Exploratory

Main Points Raised

  • One participant expresses frustration with the LaTeX previewer not displaying images correctly when pasting code from PDFs or forums, questioning if their formatting is incorrect.
  • Another participant suggests that the backslash in the LaTeX code may be an issue, indicating a potential misunderstanding of the syntax.
  • Several participants discuss the correct syntax for creating a "NOT =" sign in LaTeX, with some proposing different commands.
  • There are mentions of variations in LaTeX commands for inequalities and equivalences, with some participants testing and sharing results.
  • A participant clarifies that LaTeX is not enabled in preview mode, referencing a specific link to a previewer that has known issues.
  • One participant acknowledges the existence of problems with the previewer and thanks others for their advice, indicating a collaborative troubleshooting effort.

Areas of Agreement / Disagreement

Participants generally agree that there are issues with the LaTeX previewer and that certain LaTeX commands may not work as expected. However, there are competing views on the correct syntax and functionality of the tags used, and the discussion remains unresolved regarding the best practices for using the previewer.

Contextual Notes

Some participants note that the tutorial they referenced may have inaccuracies regarding the use of slashes in LaTeX commands. There is also uncertainty about the proper use of specific LaTeX tags and commands, which may depend on the context of their application.

Who May Find This Useful

This discussion may be useful for users experiencing similar issues with LaTeX formatting in online forums, particularly those new to LaTeX or those seeking to understand the nuances of using LaTeX in preview modes.

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 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 ·
Replies
4
Views
4K
  • · Replies 23 ·
Replies
23
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 9 ·
Replies
9
Views
3K