Why the ##\#\#\#\### but not just?

  • Context: LaTeX 
  • Thread starter Thread starter yucheng
  • Start date Start date
  • Tags Tags
    latex
Click For Summary
SUMMARY

The discussion centers on the use of different syntax for mathematical equations in LaTeX editors, specifically comparing LyX's use of ##\#\#\#\### for single line code and the more common \$\$ for separate equations. The user expresses frustration over the need to replace every instance of \$\$ with ##\#\#\#\### manually. It is established that every reasonable editor, including LyX, supports search and replace functionality to streamline this process.

PREREQUISITES
  • Familiarity with LaTeX syntax
  • Understanding of LyX as a LaTeX editor
  • Basic knowledge of MathJax for rendering equations
  • Experience with text editing features, specifically search and replace
NEXT STEPS
  • Explore advanced features of LyX for equation formatting
  • Learn about MathJax configuration options for custom syntax
  • Research efficient search and replace techniques in text editors
  • Investigate alternative LaTeX editors that support \$\$ syntax
USEFUL FOR

This discussion is beneficial for LaTeX users, particularly those using LyX, educators preparing mathematical content, and anyone seeking to optimize their workflow with equation formatting in LaTeX.

yucheng
Messages
232
Reaction score
57
I am planning to type my equations in an offline LaTeX editor, simply because it is easier to do. I'll be using LyX. The problem is, it uses ##\#\#\#\###, for single line code, while my editor uses \$\$. Is there any way to overcome this? Am I, seriously, to replace every single \$\$ into ##\#\#\#\###? It is a bit of a nuisance. I'd hope someone else has experience handling this.

Thanks in advance!
 
  • Like
Likes   Reactions: member 587159
Physics news on Phys.org
Every reasonable editor can do search and replace for such a simple task.

The forum uses ## for in-line formulas and $$ for separate formulas because that's what MathJax uses.
 
  • Like
Likes   Reactions: member 587159 and Ibix

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K