LaTex · overleaf | 使用技巧存檔
- 如何使用 bibtex:http://www.taodudu.cc/news/show-5832925.html?action=onClick
- bibtex 格式:https://blog.csdn.net/zzzorz/article/details/117048681
- 如果參考文獻作為主語,應該用 \citet
- 分章節(jié) input 更清晰
- \label{}, \\ref{}
- latex 表格 單元格內(nèi)換行:https://zhuanlan.zhihu.com/p/672593535
- latex 在線生成表格:https://www.tablesgenerator.com/
公式相關:
- 公式換行:\begin{equation}\begin{split},然后使用 \\\ 換行;
- 謝謝你,公式俠:https://blog.csdn.net/CUMTB_ZHOU/article/details/123395126
- latex 數(shù)學符號:
- \(\times\) \times,\(\sim\) \sim,\(\dot x\) \dot x
- \(\mathbb{R}\) \mathbb{R},\mathrm,\text
- \(\perp\) \perp,\(\not\perp\) \not\perp
- \(\subset\) \subset,\(\subseteq\) \subseteq,\(\supset\) \supset,\(\supseteq\) \supseteq
- \(\cap\) \cap,\(\cup\) \cup,\(\bigcap\) \bigcap,\(\bigcup\) \bigcup,\(\land\) \land,\(\lor\) \lor
- \(\triangleq\) \triangleq,\(\iff\) \iff,\(\Rightarrow\) \Rightarrow,\(\mapsto\) \mapsto,\(\propto\) \propto
- \(\succeq\) \succeq,\(\preceq\) \preceq,\(\succ\) \succ,\(\prec\) \prec,\(\gg\) \gg,\(\ll\) \ll
- \(\otimes\) \otimes,\(\oplus\) \oplus,\(\odot\) \odot
- \(\underset{a\sim A}{R(a)}\)
\underset{a\sim A}{R(a)}
匹配行末注釋:
- (?<=\S)%.+
- (?<=\S) %.+
匹配整行注釋:
- ^%.+
良好的子圖示例:
\usepackage{graphicx}
\usepackage{subcaption} % 使用 subcaption 來處理子圖
\begin{figure*}[htbp]
\centering
\vspace{10pt}
\begin{minipage}{0.2\textwidth}
\centering
\includegraphics[width=\textwidth]{fig/placeholder_1.png}
\subcaption{Subplot 1}
\end{minipage} \hspace{10pt}
\begin{minipage}{0.2\textwidth}
\centering
\includegraphics[width=\textwidth]{fig/placeholder_1.png}
\subcaption{Subplot 2}
\end{minipage} \hspace{10pt}
\begin{minipage}{0.2\textwidth}
\centering
\includegraphics[width=\textwidth]{fig/placeholder_1.png}
\subcaption{Subplot 3}
\end{minipage} \hspace{10pt}
\begin{minipage}{0.2\textwidth}
\centering
\includegraphics[width=\textwidth]{fig/placeholder_1.png}
\subcaption{Subplot 4}
\end{minipage}
\caption{Subplots in a row}
\label{fig:main_embedding}
\end{figure*}
良好的三線表示例:
\begin{table}[htbp]
\caption{}
\label{tab:error_ratio}
\begin{center}
\begin{tabular}{ccc}
\toprule
% & \makecell[c]{Disagreement \\ query selection}
% & \makecell[c]{Skill-based \\ query selection} \\
& Disagreement & Skill-based \\
\midrule
Cheetah\_run & 0.3270 & \textbf{0.4839} \\
Walker\_run & 0.2448 & \textbf{0.4648} \\
Quadruped\_walk & 0.3570 & \textbf{0.3800} \\
Quadruped\_run & 0.2545 & \textbf{0.2856} \\
\midrule
% & \makecell[c]{Disagreement \\ query selection \\ (the first 50\%)}
% & \makecell[c]{Skill-based \\ query selection \\ (the first 50\%)} \\
& \makecell[c]{Disagreement \\ (the first 50\%)}
& \makecell[c]{Skill-based \\ (the first 50\%)} \\
\midrule
Cheetah\_run & 0.5708 & 0.5375 \\
Walker\_run & 0.4475 & \textbf{0.7183} \\
Quadruped\_walk & 0.4806 & \textbf{0.5719} \\
Quadruped\_run & 0.4229 & \textbf{0.5346} \\
\bottomrule
\end{tabular}
\end{center}
\end{table}

浙公網(wǎng)安備 33010602011771號