一、LaTEX 语法整理
🍭字符表达 🍑
- 字母上加一个帽子(尖角) 的写法
(1)写在正文里:\^{u}
(2)写在公式中:\hat{u}
: u ^ \hat{u} u^ - 大于号、小于号、大于等于、小于等于号,依次为:
(1)\textgreater
(2)\textless
:
(3)\geq
: ≥ \geq ≥
(4)\leq
: ≤ \leq ≤ - argmin, argmax且带下标的方法:
(1)$\mathop{\arg\max}\limits_{\theta}$
: arg min θ \mathop{\arg\min}\limits_{\theta} θargmin
(2)$\mathop{\arg\max}\limits_{\theta}$
: arg max θ \mathop{\arg\max}\limits_{\theta} θargmax - 特殊字符
(1)\'e
:
🍒公式 🍍
- 可以设置公式没有索引,关键词
\notag
\begin{equation}
y=2 \notag
\end{equation}
- 元素属于集合,子集合与集合的关系符号
(1)\in
: ∈ \in ∈
(2)\subseteq
: ‘ ⊆ `\subseteq ‘⊆
(3) 更多 移步该链接
- \textbf{u} 加粗操作里边不允许有其他上下标符号!!!否则报错,如\textbf{u_i}
- 希腊字符不允许加粗!!!,否则报错,如 \Theta : Θ \Theta Θ
🍇 图 🍊
- 通过宽度控制图的的大小
\begin{figure}[H]
\centering
\includegraphics[width=8cm]{DNN}
\caption{A basic schematic representation of DNN.}\label{DNN}
\end{figure}
- 通过图在一行的占比的多少来控制图的大小
\begin{figure}[H]
\centering
\includegraphics[width=0.7\textwidth]{DNN}
\caption{The schematic of DNN.}\label{DNN}
\end{figure}
- 一次放置多个图,LaTEX 自动编号(a) (b) (c) (d)这里以两个图为例
\begin{figure}[H]
\centering
\quad
\subfigure[]{ \includegraphics[width=0.45\textwidth]{DNN}
}
\quad
\subfigure[]{ \includegraphics[width=0.45\textwidth]{RNN}
}
\caption{Results : (a) DNN; (b) RNN. \label{Result}}
\end{figure}
🍋 表格 🍐
- 普通表格模板都有,这里记录表头带斜线的
(1) 首先要包含一个库\usepackage{diagbox}
(2) 使用时的关键语法为:\diagbox{Width}{Depth}
(3) 注意可以利用p{5cm}
为例,调节表格每一列的宽度,而不是只有靠左,居中,靠右L/C/R
这三个唯一选项。
\use
\begin{table}[H]
\caption{The training time }\label{tab}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\begin{tabularx}{\textwidth}{lp{2.3cm}p{2.3cm}p{2.3cm}p{2.3cm}}
\toprule
\diagbox{\textbf{Width}}{\textbf{Depth}}& 1 & 2 & 4 & 6\\
\midrule
5 & 1& 1 &1 &1\\
10 &1 & 311 &211 &293\\
230 & 1& 1& 115 & 153\\
120 & 422 & 128 & 1 & 152\\
20 & 1& 1& 1 & 286\\
\bottomrule
\end{tabularx}
\end{table}
二、英文撰写及写作规则等整理
- 英文论文撰写的坑太多了,对于一个小白来说,还好我的大老板亲自一字一句的改了我的论文,还是很感动的,这里赶紧把自己出错的记录记下来,下次写论文及时检查
🌽错误
📝 英文期刊里,缩写和全拼之间要有空格,如the finite element (FEM)
, 而不是the finite element(FEM)
❌;
📝 文献引用和正文之间需要有空格,如 DNN is widedly implemented in the industry nowadays [2-4].
;
📝: 单位与数值之间也要有空格,如sigma=1 S/m
, 而不是simga=1S/m
❌
📝 公式中出现的任何一个符号,都需要在正文中做出解释。
📝: 论文里的名词要准确,如Pytorch是查明是深度学习【框架(framework)】,Xavier initialization 是一种初始化【函数】。
📝 公式里除了0,一般不出现数字,而是用符号代替,然后再用符号等于某个数值来表示,如
u ∣ ∂ Ω = T 0 u|_{\partial \Omega}=T_0 u∣∂Ω=T0
here we let T 0 = 273.15 K T_0=273.15K T0=273.15K
📝: 公式要确认自己给自己讲的通,不懂的就请教别人。
📝: 自己的实验数据要说清楚,然后与参考方法之间的,优势,劣势都要总结出来。
🍆用词经验
Chi | Eng |
---|---|
即 | i.e |
例如 | e.g |
等等 | .etc |
[李明等人]做了xxx | LiMing et al. did xx |
也就是,即 | namely |
状态变量(泛指PDE的解的时候用该词, 如温度,电势) | state variable |
归结为,最终是 | come down to |
推动,促进 | facilitate |
减轻,缓和xx不足 | alleviate/ mitigate |
据作者所知(适用于一些谨慎的概括) | to the best of the author knowledge |
(公式描述) a 代表xx含义 | a is / denotes / represents / is the symbol of/ |