Latex语法学习///待更新
生活随笔
收集整理的這篇文章主要介紹了
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+?+z?26?
- 向量上面的小箭頭用 \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}hours121?hours
- 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的宏插件