This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:latex_mathematics [2019/05/19 01:52] zhwiki [特殊符号] |
wiki:latex_mathematics [2019/05/19 03:19] zhwiki [数学环境] |
||
---|---|---|---|
Line 35: | Line 35: | ||
- 百分号 % 后面的内容都表示注释,如果要输入百分号,使用''\%'' | - 百分号 % 后面的内容都表示注释,如果要输入百分号,使用''\%'' | ||
+ | 数学公式中需要换行的地方使用''\\'',如果需要对齐等号,需要使用环境''aligned'',等号前加&。 | ||
+ | <code> | ||
+ | \begin{aligned} | ||
+ | ...... | ||
+ | \end{aligned} | ||
+ | </code> | ||
==== 在行内插入显示公式样式 ==== | ==== 在行内插入显示公式样式 ==== | ||
Line 50: | Line 56: | ||
==== 特殊符号 ==== | ==== 特殊符号 ==== | ||
- | 一些符号,如''#,$, %, &, {, }, ~, \, _, ^'',在Tex中有特殊的用途,需要使用反斜杠转义。 | + | 一些符号,如''#, %, &, {, }, ~, \, _, ^'',在Tex中有特殊的用途,需要使用反斜杠转义。其中 ''$''作为数学公式的界定符,在公式中使用还不能处理。 |
^ 符号 ^ 命令 ^ 符号 ^ 命令 ^ 符号 ^ 命令 ^ 符号 ^ 命令 ^ 符号 ^ 命令 ^ | ^ 符号 ^ 命令 ^ 符号 ^ 命令 ^ 符号 ^ 命令 ^ 符号 ^ 命令 ^ 符号 ^ 命令 ^ | ||
- | | $ \%\, $ | '' \% '' | $ \#\, $ | '' \# '' | $ \\$\, $ | '' \$ '' | $ \&\, $ | '' \& '' | $ \backslash\, $ | '' \backslash '' | | + | | $ \%\, $ | '' \% '' | $ \#\, $ | '' \# '' | $ \^{}\, $ | '' \^{} '' | $ \&\, $ | '' \& '' | $ \backslash\, $ | '' \backslash '' | |
- | | $ \{\, $ | '' \{ '' | $ >}\, $ | '' \} '' | $ \~{}\, $ | '' \~{} '' | $ \_\, $ | '' \_ '' | $ \^{}\, $ | '' \^{} '' | | + | | $ \{\, $ | '' \{ '' | $ \}\, $ | '' \} '' | $ \~{}\, $ | '' \~{} '' | $ \_\, $ | '' \_ '' | | | |
===== 希腊字母 ===== | ===== 希腊字母 ===== |