当前位置:
首页 >
Latex语法学习///待更新
发布时间:2023/12/31
46
豆豆
生活随笔
收集整理的这篇文章主要介绍了
Latex语法学习///待更新
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
文章目录
- Latex语法
- 公式语法
- Latex模板
Latex语法
公式语法
- 指数和下标可以用 ^ 和 _ 后加相应的字符来实现,比如 a1a_{1}a1和x2x^{2}x2
- 平方根的输入命令: \sqrt ,n次方根: \sqrt[n],或者用:\surd仅给出符号;
- x\sqrt{x}x
- xn\sqrt[n]{x}nx
- √x2+y22+x\surd{x^2+y^{22+x}}√x2+y22+x
- 命令**\overline和\underline**在表达式的上、下画出水平线。
- m+n‾\overline{m+n}m+n
- m+n‾\underline{m+n}m+n
- 命令**\overbrace和*\unerbrace**在表达式的上、下给出一水平的大括号。
- a+b+⋯+z⎵26\underbrace{a+b+\cdots+z}_{26}26a+b+⋯+z
- a+b+⋯+z⏞26\overbrace{a+b+\cdots+z}^{26}a+b+⋯+z26
- 向量上面的小箭头用 \vec 和 \overrightarrow 和 overleftarroe表示
- a⃗\vec aa
- k+1⃗??????hahahhaha\vec {k+1} ?????? hahahhahak+1??????hahahhaha
- k+1→\overrightarrow{k+1}k+1
- k+7788←\overleftarrow {k+7788}k+7788
- 分数 \frac{…}{…}
- 112hours1\frac{1}{2}hours121hours
- x12x^{\frac{1}{2}}x21
- 积分运算符 \int,求和运算符**\sum**,乘积运算符**\prod**
- ∑i=1n哈哈\sum_{i=1}^{n}{哈哈}i=1∑n哈哈
- ∫i=1n哈哈\int_{i=1}^{n}{哈哈}∫i=1n哈哈
- ∏i=1n哈哈\prod_{i=1}^{n}{哈哈}i=1∏n哈哈
Latex模板
模板
\usepackage[space]{ctex} \title{LaTeX快速入门} \author{qingdujun} \date{\today} \begin{document} \maketitle 你好!LaTeX\footnote{LaTeX是一个与Word比肩,甚至更好的工具}。 %\includegraphics[scale=0.6]{latex.png} \part{part标题} \section{section标题} \subsection{subsection标题} \subsubsection{subsubsection标题} \paragraph{paragraph标题} \subparagraph{subparagraph标题} \begin{thebibliography}{99} \bibitem{1} 参考文献1 \bibitem{2} 参考文献2 \end{thebibliography} \begin{appendix} \section{附录1} \section{附录2} \end{appendix} \end{document}参考链接:
http://www.mohu.org/info/symbols/symbols.htm
https://blog.csdn.net/qingdujun/article/details/80805613
总结
以上是生活随笔为你收集整理的Latex语法学习///待更新的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: js读取excel,xlsx,xls 表
- 下一篇: 如何自己开发FreeCAD的宏插件