1. 语言笔记

Latex基本语法

在最开始需要指定工程要采用的文档类,其中options 和 class-name 均为可选参数,例如\documentclass{article}
Latex开始和结束时都要有\begin{document}和\end{document},需要编辑的内容就在这两个之间
编辑公式时需要在公式两边加上$
可以使用\usepackage[a4paper, total={6in, 8in}]{geometry}来设置页面大小,参考网站

LaTeX 页面大小和页边距 (csdn.net)

设置行距\renewcommand{\baselinestretch}{2},意思为两倍行距

下面举一个例子

\documentclass{article}
\usepackage{blindtext}
\usepackage{blindtext}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\renewcommand{\baselinestretch}{2}
\begin{document}
$E_{s,s}=V_{ss\sigma}$\par
$E_{s,x}=lV_{sp\sigma}$\par
$E_{x,x}=l^{2}V_{pp\sigma }+(1-l^{2})V_{pp\pi}$\par
$E_{x,y}=lmV_{pp\sigma }-lmV_{pp\pi}$\par
$E_{x,z}=lnV_{pp\sigma }-lnV_{pp\pi}$\par
$E_{s,xy}={\sqrt {3}}lmV_{sd\sigma}$\par

$E_{s,x^{2}-y^{2}}={\frac {\sqrt{3}}{2}} (l^{2}-m^{2})V_{sd\sigma}$\par
$E_{s,3z^{2}-r^{2}}=[n^{2}-(l^{2}+m^{2})/2]V_{sd\sigma}$\par
$E_{x,xy}={\sqrt {3}}l^{2}mV_{pd\sigma }+m(1-2l^{2})V_{pd\pi}$\par
$E_{x,yz}={\sqrt {3}}lmnV_{pd\sigma }-2lmnV_{pd\pi}$\par
$E_{x,zx}={\sqrt {3}}l^{2}nV_{pd\sigma }+n(1-2l^{2})V_{pd\pi}$\par
$E_{x,x^{2}-y^{2}}={\frac {\sqrt {3}}{2}}l(l^{2}-m^{2})V_{pd\sigma }+l(1-l^{2}+m^{2})V_{pd\pi}$\par
$E_{y,x^{2}-y^{2}}={\frac {\sqrt {3}}{2}}m(l^{2}-m^{2})V_{pd\sigma }-m(1+l^{2}-m^{2})V_{pd\pi}$\par

$E_{z,x^{2}-y^{2}}={\frac {\sqrt {3}}{2}}n(l^{2}-m^{2})V_{pd\sigma }-n(l^{2}-m^{2})V_{pd\pi}$\par
$E_{x,3z^{2}-r^{2}}=l[n^{2}-(l^{2}+m^{2})/2]V_{pd\sigma }-{\sqrt {3}}ln^{2}V_{pd\pi}$\par
$ E_{y,3z^{2}-r^{2}}=m[n^{2}-(l^{2}+m^{2})/2]V_{pd\sigma }-{\sqrt {3}}mn^{2}V_{pd\pi}$\par
$E_{z,3z^{2}-r^{2}}=n[n^{2}-(l^{2}+m^{2})/2]V_{pd\sigma }+{\sqrt {3}}n(l^{2}+m^{2})V_{pd\pi}$\par
$E_{xy,xy}=3l^{2}m^{2}V_{dd\sigma }+(l^{2}+m^{2}-4l^{2}m^{2})V_{dd\pi }+(n^{2}+l^{2}m^{2})V_{dd\delta}$\par

$E_{xy,yz}=3lm^{2}nV_{dd\sigma }+ln(1-4m^{2})V_{dd\pi }+ln(m^{2}-1)V_{dd\delta}$\par
$E_{xy,zx}=3l^{2}mnV_{dd\sigma }+mn(1-4l^{2})V_{dd\pi }+mn(l^{2}-1)V_{dd\delta}$\par
$E_{xy,x^{2}-y^{2}}={\frac {3}{2}}lm(l^{2}-m^{2})V_{dd\sigma }+2lm(m^{2}-l^{2})V_{dd\pi }+[lm(l^{2}-m^{2})/2]V_{dd\delta}$\par
$E_{yz,x^{2}-y^{2}}={\frac {3}{2}}mn(l^{2}-m^{2})V_{dd\sigma }-mn[1+2(l^{2}-m^{2})]V_{dd\pi }+mn[1+(l^{2}-m^{2})/2]V_{dd\delta}$\par
$ E_{zx,x^{2}-y^{2}}={\frac {3}{2}}nl(l^{2}-m^{2})V_{dd\sigma }+nl[1-2(l^{2}-m^{2})]V_{dd\pi }-nl[1-(l^{2}-m^{2})/2]V_{dd\delta}$\par

$E_{xy,3z^{2}-r^{2}}={\sqrt {3}}\left[lm(n^{2}-(l^{2}+m^{2})/2)V_{dd\sigma }-2lmn^{2}V_{dd\pi }+[lm(1+n^{2})/2]V_{dd\delta}\right]$\par
$E_{yz,3z^{2}-r^{2}}={\sqrt {3}}\left[mn(n^{2}-(l^{2}+m^{2})/2)V_{dd\sigma }+mn(l^{2}+m^{2}-n^{2})V_{dd\pi }-[mn(l^{2}+m^{2})/2]V_{dd\delta }\right]$\par

$E_{zx,3z^{2}-r^{2}}={\sqrt {3}}\left[ln(n^{2}-(l^{2}+m^{2})/2)V_{dd\sigma }+ln(l^{2}+m^{2}-n^{2})V_{dd\pi }-[ln(l^{2}+m^{2})/2]V_{dd\delta}\right]$\par

$E_{x^{2}-y^{2},x^{2}-y^{2}}={\frac {3}{4}}(l^{2}-m^{2})^{2}V_{dd\sigma }+[l^{2}+m^{2}-(l^{2}-m^{2})^{2}]V_{dd\pi}+[n^{2}+(l^{2}-m^{2})^{2}/4]V_{dd\delta }$\par

$E_{x^{2}-y^{2},3z^{2}-r^{2}}={\sqrt {3}}\left[(l^{2}-m^{2})[n^{2}-(l^{2}+m^{2})/2]V_{dd\sigma }/2+n^{2}(m^{2}-l^{2})V_{dd\pi}+[(1+n^{2})(l^{2}-m^{2})/4]V_{dd\delta }\right]$\par

$E_{3z^{2}-r^{2},3z^{2}-r^{2}}=[n^{2}-(l^{2}+m^{2})/2]^{2}V_{dd\sigma }+3n^{2}(l^{2}+m^{2})V_{dd\pi }+{\frac {3}{4}}(l^{2}+m^{2})^{2}V_{dd\delta}$\par

\end{document}

效果如下

Comments to: Latex基本语法

您的邮箱地址不会被公开。 必填项已用 * 标注