【常用】Latex |
您所在的位置:网站首页 › discuz编辑器下标 › 【常用】Latex |
各种符号: Latex各种命令、符号、公式、数学符号、排版等_latex \overset-CSDN博客 一、 表格常用符号\表格尺寸控制 (大小控制、跨行控制)F$^{w}_{\beta}$} E$_{m}$\uparrow} S$_{m}$\uparrow} MAE\downarrow 1 上下标 _表示下标,^表示上标。 a 如果在文中插入特殊符号需要加 $$ eg: $G_{s}$ 效果: Gs b 如果在公式中加特殊符号直接加就行 \begin{align} % 公式 G_{s} \cup G_{e} = G_{s} G_{s} \cap G_{e} = G_{e}\end{align} 2 上下箭头 \uparrow \downarrowLatex各种箭头符号总结_latex箭头-CSDN博客 3 表格宽度控制(1mm、2mm、自适应尺度) a 设置表格长度 (可用于单栏表格1mm or 跨栏表格 2mm) (1mm, 2mm表示拉满单栏和双栏) \setlength{\tabcolsep}{1.5mm}{xxx} {xxx} 放在\begin和\end之间 b 自动适配跨栏表格到文章两栏宽度(自动适配) \resizebox{\textwidth}{!}{xxx} 4 表格控制指令详解 1 \hline 加一整个横线 2 \cline{2-5}在2、3、4、5列加横线 3 \multicolumn{4}{c}{xxx} 文字{xxx}, c表示居中,{4}表示占用4列 4 对于自动生成的表格会断线:采用\bottomrule \toprule \midrule表格之间会留空(断连),因此建议改成\hline 将 \cmidrule{2-17}改成cline{2-17} 这样表格会连接紧密 5、自动生成表格1 添加宏包\usepackage{booktabs}来使用三线表 2 有了这个宏包就可以使用\bottomrule命令,可以在表格末尾添加一条比较粗的水平线,以增强表格的可读性和美观性。\toprule(用于表格顶部)\midrule(用于表格中间) 3 然后利用office的excel来自动生成表格就行(选中-加载项-转化为latex)(这个需要装插件) 缺点是: 表格之间会留空(断连),因此建议 1 将 \bottomrule \toprule \midrule改成\hline 2 将 \cmidrule{2-17}改成cline{2-17} 这样表格会连接紧密 修改后: 数学符号 https://www.cnblogs.com/jins-note/p/9513075.html 不等于 \not = 常用符号 \cdot 小圆点 \bullet 大圆点 \ast 六角星 点乘:a \cdot b 叉乘:a \times b 除以:a \div b 分数: \frac{}{}: \left\{ \frac{a}{b} \right\} {ab}{ab}
数学符号 https://jingyan.baidu.com/article/4b52d702df537efc5c774bc9.html \cup 并 \cap 交 花括号括多行 插入带大括号的多行公式,效果如下: LaTex编辑如下: \begin{equation} \label{eq6} [x_{i}]=\left\{ \begin{aligned} x_{ac} & , & \mu_{a}(x_{i})\geq \mu_{b}(x_{i}), \\ x_{bc} & , & \mu_{a}(x_{i})< \mu_{b}(x_{i}). \end{aligned} \right. \end{equation} \begin{equation} \label{eq6} [x_{i}]=\left\{ \begin{aligned} x_{ac} & , & \mu_{a}(x_{i})\geq \mu_{b}(x_{i}), \\ x_{bc} & , & \mu_{a}(x_{i})< \mu_{b}(x_{i}). \end{aligned} \right. \end{equation}公式对齐问题 基础知识: 换行: \\ 去掉一行公式的标号,在后面加 \nonumber即可 1 公式居中 \begin{gather*} f_{FGM-S} = C(C(f_{e}^{i}) \ast C^{2}(f_{s}^{i-1}))\\ f_{FGM-E} = C(A(Cat(C(f_{s}^{i}), C^{2}(f_{e}^{i-1}))) \end{gather*} 加星会无编号 \begin{gather*} f_{FGM-S} = C(C(f_{e}^{i}) \ast C^{2}(f_{s}^{i-1}))\\ f_{FGM-E} = C(A(Cat(C(f_{s}^{i}), C^{2}(f_{e}^{i-1}))) \end{gather*}\begin{gather} f_{FGM-S} = C(C(f_{e}^{i}) \ast C^{2}(f_{s}^{i-1}))\\ f_{FGM-E} = C(A(Cat(C(f_{s}^{i}), C^{2}(f_{e}^{i-1}))) \end{gather} 不加星会有编号,在latex中可以看到 \begin{gather} f_{FGM-S} = C(C(f_{e}^{i}) \ast C^{2}(f_{s}^{i-1}))\\ f_{FGM-E} = C(A(Cat(C(f_{s}^{i}), C^{2}(f_{e}^{i-1}))) \end{gather}2 按照等号对齐 \begin{align} sum &= a+b+c+d \\ sub &= a-b \end{align} 加入&在等号前 \begin{align} sum &= a+b+c+d \\ sub &= a-b \end{align}3 等式居左 \begin{flalign} &a& &a& \\ &a& \nonumber \\ \end{flalign} \begin{flalign} &表达式& &表达式& \\ &表达式& \nonumber \\ \end{flalign}4 整体左对齐、 \begin{eqnarray} &&f_{s}^{i-1} = C(f_{FFM-S}^{i-1} + f_{FGM-S}^{i-1})\\ &&= C(C(f^{i-1}_{s})(f_{s}^{i-1})))\\ &&f_{e}^{i-1} = C(f_{FFM-E}^{i-1} + f_{FGM-E}^{i-1}) \\ &&= C(C(f^{i-1}_{e})(f_{e}^{i-1}))) ) \end{eqnarray} \begin{eqnarray} &&f_{s}^{i-1} = C(f_{FFM-S}^{i-1} + f_{FGM-S}^{i-1})\\ &&= C(C(f^{i-1}_{s})(f_{s}^{i-1})))\\ &&f_{e}^{i-1} = C(f_{FFM-E}^{i-1} + f_{FGM-E}^{i-1}) \\ &&= C(C(f^{i-1}_{e})(f_{e}^{i-1}))) ) \end{eqnarray} |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |