In this post, I am gonna show you how to write Mathematic symbols in markdown. since I am writing blog post that hosted by Github with Editor Atom, and use plugin markdown-preview-plus and mathjax-wrapper, and use mathjax Javascript display the math symbols on the web page.
In this video you'll get a quick answer to that question before we move into the details. I'll discuss and demonstrate both Markdown and Atom, the text editor used in this course, to write and preview Markdown documents. The Windows version of Atom includes. Dec 21, 2020 To use Atom, install it from their website and then install the following packages for writing Markdown by navigating to Edit Preferences Packages: language-markdown, markdown-preview-plus (disable markdown-preview), platformio-ide-terminal, pdf-view, and latex-completions. Visual Studio Code. This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to the reference guides for basic syntax and extended syntax. These are the elements outlined in John Gruber’s original design document. Markdown Preview package. Show the rendered HTML markdown to the right of the current editor using ctrl-shift-m. It is currently enabled for.markdown,.md,.mdown,.mkd,.mkdown,.ron, and.txt files. By default Markdown Preview uses the colors of the active syntax theme. Every time when relaunching Atom with markdown preview open the opened preview shows an error. Saving (just opened / not changed file) or typing something causes the preview to refresh and the error immediately goes goes away.
I am not gonna to tell you how to make all these things work together, if you want to do what I am do, please take a little time and search around.
Most import, this post is showing you the basics about math symbols in Latex.
This what wikipedia said about Latex:
One of the greatest motivating forces for Donald Knuth when he began developing the original TeX system was to create something that allowed simple construction of mathematical formulas, while looking professional when printed.
Here are some symbols I typed during the learning.
Greek Letters
Symbol | Script |
---|---|
$alpha$ | alpha |
$A$ | A |
$beta$ | beta |
$B$ | B |
$gamma$ | gammma |
$Gamma$ | Gamma |
$pi$ | pi |
$Pi$ | Pi |
$phi$ | phi |
$Phi$ | Phi |
$varphi$ | varphi |
$theta$ | theta |
Operators
Symbol | Script |
---|---|
$cos$ | cos |
$sin$ | sin |
$lim$ | lim |
$exp$ | exp |
$to$ | to |
$infty$ | infty |
$equiv$ | equiv |
$bmod$ | bmod |
$times$ | times |
Power and Indices
Symbol | Script |
---|---|
$k_{n+1}$ | k_{n+1} |
$n^2$ | n^2 |
$k_n^2$ | k_n^2 |
Fractions and Binomials
Symbol | Script |
---|---|
$frac{n!}{k!(n-k)!}$ | frac{n!}{k!(n-k)!} |
$binom{n}{k}$ | binom{n}{k} |
$frac{frac{x}{1}}{x - y}$ | frac{frac{x}{1}}{x - y} |
$^3/_7$ | ^3/_7 |
Roots
Symbol | Script |
---|---|
$sqrt{k}$ | sqrt{k} |
$sqrt[n]{k}$ | sqrt[n]{k} |
Sums and Integrals
Atom Markdown Editor
Symbol | Script |
---|---|
$sum_{i=1}^{10} t_i$ | sum_{i=1}^{10} t_i |
$int_0^infty mathrm{e}^{-x},mathrm{d}x$ | int_0^infty mathrm{e}^{-x},mathrm{d}x |
$sum$ | sum |
$prod$ | prod |
$coprod$ | coprod |
$bigoplus$ | bigoplus |
$bigotimes$ | bigotimes |
$bigodot$ | bigodot |
$bigcup$ | bigcup |
$bigcap$ | bigcap |
$biguplus$ | biguplus |
$bigsqcup$ | bigsqcup |
$bigvee$ | bigvee |
$bigwedge$ | bigwedge |
$int$ | int |
$oint$ | oint |
$iint$ | iint |
$iiint$ | iiint |
$idotsint$ | idotsint |
$sum_{substack{0<i<m0<j<n}} P(i, j)$ | sum_{substack{0<i<m0<j<n}} P(i, j) |
$intlimits_a^b$ | intlimits_a^b |
Symbol | Script |
---|---|
$a’$ $a^{prime}$ | a` a^{prime} |
$a’’$ | a’’ |
$hat{a}$ | hat{a} |
$bar{a}$ | bar{a} |
$grave{a}$ | grave{a} |
$acute{a}$ | acute{a} |
$dot{a} | dot{a} |
$ddot{a}$ | ddot{a} |
$not{a}$ | not{a} |
$mathring{a}$ | mathring{a} |
$overrightarrow{AB}$ | overrightarrow{AB} |
$overleftarrow{AB}$ | overleftarrow{AB} |
$a’’’$ | a’’’ |
$overline{aaa}$ | overline{aaa} |
$check{a}$ | check{a} |
$vec{a}$ | vec{a} |
$underline{a}$ | underline{a} |
$color{red}x$ | color{red}x |
$pm$ | pm |
$mp$ | mp |
$int y mathrm{d}x$ | int y mathrm{d}x |
$,$ | , |
$:$ | : |
$;$ | ; |
$!$ | ! |
$int y, mathrm{d}x$ | int y, mathrm{d}x |
$dots$ | dots |
$ldots$ | ldots |
$cdots$ | cdots |
$vdots$ | vdots |
$ddots$ | ddots |
Brackets etc
Symbol | Script |
---|---|
$(a)$ | (a) |
$[a]$ | [a] |
${a}$ | {a} |
$langle f rangle$ | langle f rangle |
$lfloor f rfloor$ | lfloor f rfloor |
$lceil f rceil$ | lceil f rceil |
$ulcorner f urcorner$ | ulcorner f urcorner |
Reference
Atom - Atom editor for hackers
markdown-preview-plus - preview your markdown in atom
mathjax-wrapper - display math symbols in atom
mathjax - Javascript lib for browsers
Latex - Latex Homepage
Markdown Preview Atom
Wiki Latex Mathematics - introduction to math symbols in latex
Atom Markdown Viewer
Github tables - Github Flavored Markdown