Delimiter \$ and Delimiter [MATH]

  • MHB
  • Thread starter Math Amateur
  • Start date
MATH]In summary, There is a difference in starting and finishing a Latex code fragment with the delimiter $ ... ... and starting and finishing a Latex code fragment with the delimiters [MATH]. The former produces \textstyle while the latter produces \displaystyle. This can be seen by setting the formula \lim_{x\to0}\frac{f(x)}{g(x)} in the two styles.
  • #1
Math Amateur
Gold Member
MHB
3,998
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 \(\displaystyle ?

Peter\)
 
Physics news on Phys.org
  • #2
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 \(\displaystyle ?

Peter\)
\(\displaystyle

I always thought \$ and \(\displaystyle was for inline type setting and \$$ for indented, but I'm curious what the actual difference is too..\)\)
 
  • #3
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 \(\displaystyle ?

Peter\)
\(\displaystyle
\$...\$ gives \textstyle, but [MATH]...[/MATH] 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)}$

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

FAQ: Delimiter \$ and Delimiter [MATH]

What is the purpose of using delimiters in mathematics?

Delimiters are used in mathematics to indicate the beginning and end of a particular expression or equation. They help to separate different parts of a mathematical statement and make it easier to read and understand.

How is the delimiter \$ used in mathematics?

The delimiter \$ is typically used in mathematical expressions to indicate the beginning and end of an inline math mode. This allows for the inclusion of mathematical symbols and equations within regular text.

Can I use any other symbols as delimiters in mathematics?

Yes, there are several other symbols that can be used as delimiters in mathematics, such as parentheses (), brackets [], and curly braces {}. These symbols are often used to group and separate different parts of an equation.

Are there any special rules for using delimiters in mathematics?

Yes, there are some rules to keep in mind when using delimiters in mathematics. For example, delimiters should always be used in pairs to indicate the beginning and end of an expression. Also, some symbols may have different meanings depending on whether they are used as a delimiter or as a regular mathematical symbol.

How do I know which delimiter to use in a mathematical expression?

The choice of delimiter often depends on personal preference or the specific mathematical notation being used. However, there are some general guidelines to follow, such as using parentheses for grouping and separating smaller expressions, and using brackets for matrices or arrays. It is always important to be consistent and clear in the use of delimiters in mathematical expressions.

Similar threads

Replies
2
Views
1K
Replies
4
Views
2K
Replies
19
Views
6K
Replies
14
Views
2K
Replies
5
Views
1K
Replies
16
Views
2K
Replies
9
Views
2K
Replies
15
Views
25K
Replies
3
Views
889
Replies
29
Views
2K
Back
Top