Re:Mdmath – LaTeX Math for Markdown inside of Visual Studio ...
by stuffedBelly on Tuesday December 20, 2016 @01:49PM
(#13222702)
"$" ("$$" to be exact) is actually used in TeX to indicate opening and closing of statements/mathematical expressions. I think the author of this project is trying to conform to TeX syntax as much as possible so that TeX users like me would feel at home :).
[ Parent
| on HN ]
Re:Mdmath – LaTeX Math for Markdown inside of Visual Studio ...
by pflats on Tuesday December 20, 2016 @02:15PM
(#13222939)
>"$" ("$$" to be exact) is actually used in TeX to indicate opening and closing of statements/mathematical expressions.
Both are used. A single $ is used for inline math, the double $$ begins an equation on its own line. For example:
The solution to $ax^2 + bx + c = 0$ will be $$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$
The first block will be mid-sentence, while the second one will get its own line.
Re:Mdmath – LaTeX Math for Markdown inside of Visual Studio ...
by widdma on Tuesday December 20, 2016 @02:52PM
(#13223337)
The story is that Knuth chose '$' to denote math mode because math typesetting at the time was prohibitively expensive.
Re:Mdmath – LaTeX Math for Markdown inside of Visual Studio ...
by stuffedBelly on Tuesday December 20, 2016 @04:33PM
(#13224250)
ahaha, that's a good piece of anecdote.