3 ms·
What are \displaystyle{} and \dot{} for?
by 3rd3 12y ago
What are \displaystyle{} and \dot{} for?
- dubya 12y ago\displaystyle makes things in $...$ format like things in \[...\] but still inline, so it doesn't squash fractions. \dot puts a dot, usually meaning a time derivative.
- s9w 12y agoYeah displaystyle makes inline equations render like "normal" equation environments like align etc. The difference is obvious with things that take up a lot of vertical space like integrals or sums with limits. Sometimes you want an integral inline, but you need to make it \displaystyle. It's annoying to write, hurts readability and badly supported by editors. So d$equation$ makes it trivial to toggle it.