Testing Math
2023-03-14
This page is for testing all kinds of setups I had for math blogging. I now have everything I need to write math in Markdown/HTML!
Basic Math Mode
I am writing my big theorem here with the following wonderful equation
\(\int_a^b f(x) = F(b)-F(a)\)
\begin{equation*} e^{\pi i} + 1 = 0 \end{equation*}
\begin{equation} E = mc^2 \label{eq:zhineng} \tag{1} \end{equation}
\begin{equation} \int_a^b f(x) = F(b) - F(a) \end{equation}
It is powerful enough that I can do referencing 1. I can then write very complicated math (\ref{eq:zhineng}).
Testing mathbb: $\mathbb{1}$
$$ \begin{bmatrix} a & b \\ c & d \\ e & f \\ \end{bmatrix} $$
\begin{bmatrix} a & b \\ c & d \\ e & f \\ \end{bmatrix}
$ \begin{bmatrix} a & b \\ c & d \\ e & f \\ \end{bmatrix} $Mathjax Macro
The following formulas use some macroes. I aslo test cross references and equation tag/numbering. \[ \f\relax{x} = \int_{-\infty}^\infty \f\hat\xi,e^{2 \pi i \xi x} \tag{fancy}\label{eq:fancy} ,d\xi \]
\(x < y\)
\(\frac{x}{y}\)
\begin{align}
a &=b \\
&=c \notag
\end{align}
\begin{align} A & = B \\ & = C \end{align}
\begin{braced} \frac{x}{y} \end{braced}
\begin{ABC}{Z} xyz \end{ABC}
Crossreference: Here I add a pointer to fancy \eqref{eq:fancy}.
CSS Theorem Style and Automatic Theorem Counter
I don’t really know any CSS or HTML very well. But luckily I manage to make things work! I use different counters for theorems and for definitions.
alsfjdla jsdflljasdfl jals
\begin{align} A &= B \\ &= C \end{align}
\begin{gather} A = B \\ C = D \end{gather}
$safjljsf$
$$ \int_a^b f(x) = F(b)- F(a) $$
By doing all the things above. I think I now have a very good webpage template to write math.
|
|
Checklists
[ ] a task list item [ ] list syntax required [ ] incomplete [x] completed [ ] asfdsaf [ ] asdfsa
- jalsdfj jl
- aslfjlja
- asfdlkjaljsdf
- asdlfjalsjdf
- alsdfjlajs f
Tables
Sublime Text’s Table Editor extension makes editing table very smooth for me.
| people | money |
|---|---|
| dlkjsdjf | ljasjdfljaslfd |
| asdfjlajs | sldkfjalsjf |
Better table:
| askfdhkajhfd | colum head | sadfhkajshdf | asdfasdfasfdas |
| Column 1 | Column 2 | Column 3 | |
|---|---|---|---|
| fasfdasdf | asdfjsaflk | safdasfd | sfasfdasfd |
| asdffsadasdf | asdfasdf | sadfasdf | asdfasd |
| asdfasdf | sadfasd | asdfasdf | sadfsadf |
| asdfajsldkfj | asldfjlkj | alksjdflkaj | asdfljaslkdfj |
| asdfasdfklj | asjdflkja | asdfklajsdfl | aksldfjkaljsdf |
| asdfjalksjdf | asdlfkjalksjdf | asdfjlasjdf | sadfljasfkdlasdfasdf |
| dsfasfd | safdasdf | asdfas | sadfasdfffasfda |
| askfdhkajhfd | colum head | sadfhkajshdf | asdfasdfasfdas |
| Column 1 | Column 2 | Column 3 | |
|---|---|---|---|
| fasfdasdf | asdfjsaflk | safdasfd | sfasfdasfd |
| asdffsadasdf | asdfasdf | sadfasdf | asdfasd |
| asdfasdf | sadfasd | asdfasdf | sadfsadf |
| asdfajsldkfj | asldfjlkj | alksjdflkaj | asdfljaslkdfj |
| asdfasdfklj | asjdflkja | asdfklajsdfl | aksldfjkaljsdf |
| asdfjalksjdf | asdlfkjalksjdf | asdfjlasjdf | sadfljasfkdlasdfasdf |
| sadfkl | Column 2asdfjalkjs | adfkalsjdf | asdjfkha |
|---|---|---|---|
| Cell 1-1sdkjfhaksjdh | Cell 1-2asdkjfhkahsdf | asdfkjhaksjdfh | kahsdfkha |
| Cell 2-1asdkjfhkaj | Cell 2-2aksjdfhkajshdf | aksdfhskjdh | asdfasfasdf |
| asfjlkj | asljdflj | alsjdflj | lkjaslfjd |
| asdfas | asdf | asdf | asdfsfd |
add the newest version. Not Updated on the website?
Test Video
Here I plugin a video.
-
Some footnote here. ↩︎
