插入脚注

如图所示,红框中的部分叫做脚标,如何插入呢?只需要用
\footnote{}
命令,比如
the shape of the magnetic nozzle\footnote{A special type of magnetic nozzle with convergent-divergent shape} can be easily changed to control the thrust vector without using the mechanical gimbals [7–9]
这里可能我使用的是美国物理协会定制的REVTex4.2,不支持脚注,编译不出来,就不展示了。
括号的使用
括号的大小控制
我们输入一下的两个公式
\begin{align}
&(x_1=\frac{\sqrt{b^2-4ac}}{2a})\\
&\cos^2(\theta)+\sin^2(\theta)=1
\end{align}
可以得到一个左对齐的公式

但是公式1的括号比起公式1自身来说,太小了,如何把括号变大呢?
可以在
(
或者)
前面加上\big
,\bigg
,\Bigg
,可以把括号变成“大号”、“超大号”、“巨大号”,效果如下:
\begin{align}
&(x_1=\frac{\sqrt{b^2-4ac}}{2a})\\
&\big(x_1=\frac{\sqrt{b^2-4ac}}{2a}\big)\\
&\bigg(x_1=\frac{\sqrt{b^2-4ac}}{2a}\bigg)\\
&\Bigg(x_1=\frac{\sqrt{b^2-4ac}}{2a}\Bigg)\\
&\cos^2(\theta)+\sin^2(\theta)=1
\end{align}
效果如下:

如果想让括号自动适应公式的大小,则可以使用\left(``\right)
来表示左右括号,并且必须成对出现。
如果只想要左括号,则右括号这样写:\right.
\begin{align}
&\left(x_1=\frac{\sqrt{b^2-4ac}}{2a}\right)\\
&\cos^2(\theta)+\sin^2(\theta)=1
\end{align}
编译后效果如下

可以看到,括号自动更适应了公式1的大小
花括号的使用
在LaTeX中,花括号是一个特殊的标识符,所以一般是不会编译并显示在pdf中的,如果需要使用花括号则用\{
和\}
来表示,将公式1中的括号改为花括号:
\begin{align}
&\{x_1=\frac{\sqrt{b^2-4ac}}{2a}\}\\
&\cos^2(\theta)+\sin^2(\theta)=1
\end{align}
结果如下图

可以看到花括号就可以显示了
在字母头上做标记
如果我们想表示矢量,在一个字母头上加上或者
,达到
的效果,只需要用
\overset{\rightarrow}{a}
命令即可,不论是想把什么记号或者东西放在a头上,都用\overset{}{}
,比如我们要把上面的公式2中的上面加一个右箭头和左箭头,如下设置
编译后得到

不仅是箭头,任何东西都能放在头上,比如数字8和自身
\begin{align}
&\{x_1=\frac{\sqrt{b^2-4ac}}{2a}\}\\
&\cos^2(\overset{8}{\theta})+\sin^2(\overset{\theta}{\theta})=1
\end{align}
编译:

boom!可以说是灵活到了极点,这是word原生编辑器难以企及的。
网友评论