math at the start of the document
Nested:
Numbered equations
Blockquotes
- A block quote
- With a list inside
- With
Math environment Syntax testing
Inline Math should work with $$
but not \(
(\frac{x+y}{y})
Use $$
on separate lines:
Use $$
on the same line:
Use $$
on separate lines:
Use $$
on the same line:
Some Tex Functions
, , ,
,
Escaped Math environments
In the following examples no math environments should render:
a $5, a $10 and a $100 Bill.
All McScrooge sees
$$
and even more:
$$
\[x+y] \(x+y)
$x
\$
\$
, \[ \]
, $x$
Testing \newcommand
For all and in it is true that
\newcommand{\scalong}[1]{(#1_1,\dots,#1_k)}
where denotes the inner product .
where denotes the inner product .
Testing several math fonts
Notice below that the $$
-separated display math doesn’t have a blank line before and after (i.e. in an actual document it wouldn’t be placed in a separate paragraph):
The characteristic polynomial of the
matrix
is given by the formula
This is a long line:
Does it work in different MD elements?
Math in heading 1
Math in heading 2
Math in heading 3
Math in heading 4
should not conflict with _
italics?
should not conflict with *
syntax?
should not conflict link syntax?
math in emphasis
math in bold
in math
math $$x^2$$ in code
math in strikethrough (doesn’t strike through the math)
In Tables
Left-Aligned | Center Aligned | Right Aligned |
---|---|---|
some wordy text | $1600 | |
some wordy text | $1600 | |
some wordy text | $1600 |
The following doesn’t work (it only works with Pandoc)
| Left-Aligned | Center Aligned | Right Aligned | | :———— |:—————:| —–:| | | some wordy text | $1600 | | | | $12 | | | | $1 |
In Image Captions
The alt
string doesn’t work