Latex formulas commonly used in Markdown

Latex formulas commonly used in Markdown


Record the most commonly used Latex formulas recently

  • Exponents and Subscripts: Exponents: ${x^i}$-> xi {x^i}xi 下标:${x_i}$ -> x i {x_i} xi
  • Square root and nth root: Square root: $\sqrt{x}$-> x \sqrt{x}x   nth root: $\sqrt[n]{x}$-> xn \sqrt[n]{x}nx
  • Fraction: $\frac{x}{y}$-> xy \frac{x}{y}yx
  • Vector representation: $\vec{x}$-> x ⃗ \vec{x}x
  • Accumulation sign: $\sum{x}$-> ∑ x \sum{x}x  is used with subscripts and exponents:$\sum_{i=1}^n {x_i}$->∑ i = 1 nxi \sum_{i=1}^n{x_i}i=1nxi
  • Multiplication symbol: $\prod{x}$-> ∏ x \prod{x}x  is used with subscript and exponent:$\prod_{i=1}^n {x_i}$->∏ i = 1 nxi \prod_{i=1}^n{x_i}i=1nxi
  • Integral notation: $\int{x}$-> ∫ x \int{x}x  is used with subscripts and exponents:$\int_1^\pi {x}$->∫ 1 π x \int_1^\pi {x}1px
  • Left and right braces: $\left({x^2+2*x+5} \right)^2$-> ( x 2 + 2 ∗ x + 5 ) 2 \left({x^2+2*x+5} \right)^2(x2+2x+5)2  is larger than normal brackets:$({x^2+2*x+5} )^2$->( x 2 + 2 ∗ x + 5 ) 2 ({x^2+2*x+5})^2(x2+2x+5)2
  • Add a box: $\boxed{x=1}$-> x = 1 \boxed{x=1}x=1
  • Horizontal line: $\overline{x+y}$-> x + y ‾ \overline{x+y}x+y$\underline{x+y}$-> x + y ‾ \underline{x+y} x+y

two examples

  • $\|X\|_p= \left({\sum_{i=1}^{n}{|x_i|^p}}\right)^{1/p}$-> ∥ X ∥ p = ( ∑ i = 1 n ∣ x i ∣ p ) 1 / p \| X \| _p= \left({\sum_{i=1}^{n}{|x_i|^p}}\right)^{1/p} Xp=(i=1nxip)1/p
  • $\boxed {\frac{1-e^{-2x}}{1+e^{-2x}}}$-> 1 − e − 2 x 1 + e − 2 x \boxed {\frac{1-e^{-2x}}{1+e^{-2x}}} 1+e−2x _ _1e2 x

Guess you like

Origin blog.csdn.net/m0_47917394/article/details/122464962