Delimiter \$ and Delimiter [MATH]

  • Context: MHB 
  • Thread starter Thread starter Math Amateur
  • Start date Start date
Click For Summary
SUMMARY

The discussion clarifies the differences between using the delimiters $...$ and $$...$$ in LaTeX. The delimiter $...$ produces a text style (\textstyle), suitable for inline equations, while $$...$$ generates a display style (\displaystyle), which is used for standalone equations. This distinction is crucial for formatting mathematical expressions correctly in documents. The example provided demonstrates the visual difference between the two styles using the limit expression.

PREREQUISITES
  • Understanding of LaTeX syntax and formatting
  • Familiarity with mathematical expressions in LaTeX
  • Basic knowledge of document preparation systems
  • Awareness of text style vs. display style in typesetting
NEXT STEPS
  • Explore LaTeX documentation on textstyle and displaystyle commands
  • Learn how to format complex equations using LaTeX
  • Investigate the impact of different delimiters on equation rendering in LaTeX
  • Practice creating documents with both inline and display equations in LaTeX
USEFUL FOR

Students, researchers, and professionals who use LaTeX for typesetting mathematical documents will benefit from this discussion, particularly those looking to enhance their formatting skills.

Math Amateur
Gold Member
MHB
Messages
3,920
Reaction score
48
Is there any difference at all in starting and finishing a Latex code fragment with the delimiter $ ... ... and starting and finishing a Latex code fragment with the delimiters $$ ?

Peter
 
Physics news on Phys.org
Peter said:
Is there any difference at all in starting and finishing a Latex code fragment with the delimiter $ ... ... and starting and finishing a Latex code fragment with the delimiters $$ ?

Peter

I always thought \$ and [math] was for inline type setting and \$$ for indented, but I'm curious what the actual difference is too..
 
Peter said:
Is there any difference at all in starting and finishing a Latex code fragment with the delimiter $ ... ... and starting and finishing a Latex code fragment with the delimiters $$ ?

Peter
\$...\$ gives \textstyle, but $$...$$ produces \displaystyle. You can see the difference if you set the formula \lim_{x\to0}\frac{f(x)}{g(x)} in the two styles:

$\lim_{x\to0}\frac{f(x)}{g(x)}$

$$\lim_{x\to0}\frac{f(x)}{g(x)}$$
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 19 ·
Replies
19
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 15 ·
Replies
15
Views
25K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 29 ·
Replies
29
Views
3K