Which is the best way to post heavy LaTeX messages?

  • Context: LaTeX 
  • Thread starter Thread starter mcastillo356
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the best methods for posting heavy LaTeX messages on the Physics Forums platform. Participants explore various tools and techniques for drafting and typesetting LaTeX content, considering both personal preferences and practical solutions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests using MS Notepad to draft messages and typesetting them with pdflatex.
  • Another participant mentions their practice of using the Preview button for checking LaTeX scripts, emphasizing that they do not use special LaTeX editors.
  • A participant notes the importance of correctly using single-dollar signs for in-line math-mode in LaTeX, providing a macro to assist with formatting issues.
  • One participant shares their experience with Overleaf, highlighting its features for automatic compilation and collaborative editing.

Areas of Agreement / Disagreement

Participants express varying preferences for tools and methods, indicating that there is no consensus on a single best approach for posting heavy LaTeX messages.

Contextual Notes

Some participants rely on specific tools like Overleaf or Notepad, while others emphasize the need for careful formatting with LaTeX syntax. The discussion does not resolve which method is superior or universally applicable.

Who May Find This Useful

Individuals interested in posting LaTeX content on forums, particularly those who engage in mathematics or technical discussions, may find this exchange relevant.

mcastillo356
Gold Member
Messages
660
Reaction score
365
Hi PF

I'm about to post, and I want to draft it not making use of Preview or Edit tools. I'm thinking about the notepad, or is there another way? I think I was told about help from PF, but can't seem to find the thread where I read it.

Thanks
 
Physics news on Phys.org
You could always write your message into MS Notepad and typeset the results using pdflatex or something to that effect.
 
  • Informative
Likes   Reactions: mcastillo356
I use LaTeX a lot here at PF in replies to math questions, but these replies usually aren't very long. I always check any but the shortest LaTeX scripts using the Preview button, and fix any mistakes before I post my reply.
Speaking only for myself, I don't use any special LaTeX editors -- just Windows Notepad -- but that's just me.
 
  • Informative
Likes   Reactions: mcastillo356
  • Haha
  • Like
Likes   Reactions: pbuk, dextercioby and mcastillo356
One thing to note is that (La)TeX uses single-dollar signs instead of double-pound signs in order to switch to in-line math-mode. In case you are using either of these engines to typeset your messages, you will want to keep this in mind.

You will probably need to find-replace every non-escaped single-dollar sign with a double-pound sign every time you want to post the final draft of your message. The following code may help circumvent this hasslesome task.

Code:
(Macro definitions, but I'm not sure if this site accepts user-defined macros.)

\newif\ifMathMode
\def\mathShift{\ifMathMode\MathModefalse\else \MathModetrue $\fi}
\catcode`\#=13
\def#{\mathShift}

(Body of message here)

\catcode`\#=6

(End of post)
 
Last edited:
berkeman said:
I use Overleaf to typeset all of my supervision work and reports. You can configure it to automatically compile and display a preview of the document whenever you make an edit, the error logs are easy to understand and you can also have more than one author work on the same document. It's also what my uni's ##\TeX## society uses!
 
  • Informative
Likes   Reactions: berkeman

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 23 ·
Replies
23
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 36 ·
2
Replies
36
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K