欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

Latex语法学习///待更新

发布时间:2023/12/31 46 豆豆
生活随笔 收集整理的这篇文章主要介绍了 Latex语法学习///待更新 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

文章目录

  • Latex语法
    • 公式语法
    • Latex模板

Latex语法

公式语法

  • 指数和下标可以用 ^_ 后加相应的字符来实现,比如 a1a_{1}a1x2x^{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\overrightarrowoverleftarroe表示
    • 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=1n
    • ∫i=1n哈哈\int_{i=1}^{n}{哈哈}i=1n
    • ∏i=1n哈哈\prod_{i=1}^{n}{哈哈}i=1n






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语法学习///待更新的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。