Tex

Mr.Hope ... 2021-2-25 Markdown
  • Markdown
  • Tex
Less than 1 minute

Let the Markdown file in your VuePress site support the TeX\TeX syntax.

# Configuration




 




module.exports = {
  themeConfig: {
    mdEnhance: {
      tex: true,
    },
  },
};
1
2
3
4
5
6
7

# Grammar

# Inline syntax

Use $codes$.

Euler’s identity $e^{i\pi}+1=0$ is a beautiful formula in $\mathbb{R}^2$.
1

Euler’s identity eiπ+1=0e^{i\pi}+1=0 is a beautiful formula in R2\mathbb{R}^2.

# Block syntax

Use $$codes$$.

$$
\frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right)
= \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^ Ir \cdots (r-i+1) (\log y)^{ri}} {\omega^i} \right\}
$$
1
2
3
4

rωr(yωω)=(yωω){(logy)r+i=1r(1)Ir(ri+1)(logy)riωi}\frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right) = \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^ Ir \cdots (r-i+1) (\log y)^{ri}} {\omega^i} \right\}

# More

For specific Tex syntax, see Katex tutorial (opens new window)

# Playground

rωr(yωω)=(yωω){(logy)r+i=1r(1)Ir(ri+1)(logy)riωi}\frac {\partial^r} {\partial \omega^r} \left(\frac {y^{\omega}} {\omega}\right) = \left(\frac {y^{\omega}} {\omega}\right) \left\{(\log y)^r + \sum_{i=1}^r \frac {(-1)^ Ir \cdots (r-i+1) (\log y)^{ri}} {\omega^i} \right\}

Last update: February 17, 2022 15:25
Contributors: Mr.Hope
Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.10.0
📢 V2 is ready

We welcome you to switch to "Next" tag using the V2 version of the theme based on VuePress2.
The V2 version has been completely refactored, with richer functions and better outlook. The theme is based on Vue3, built with Vite by default, and the performance and startup speed have been greatly improved!"