插入图片
插入单栏图片用:figure*, 插入双栏图片用:figure。
\begin{figure*}[htbp]
\centering
\includegraphics[width=\linewidth]{images/1.pdf}
\caption{Write the label of the picture here.}
\label{fig1}
\end{figure*}
插入表格
- 插入单栏图片用:table*, 插入双栏图片用:table。
\begin{table}[h]
\caption{Write the label of the table here.}
\label{table}
\setlength{\tabcolsep}{1mm}
\begin{tabular}{c|cc}
\hline
A & B &C \\
\hline
D & E & F \\
\hline
\end{tabular}
\label{tab1}
\end{table}
2. 合并单元格
首先需要添加库 :\usepackage{multirow}
合并行:\multicolumn{需合并的行数}{c|}{合并后的单元格名称}
合并列:\multirow{需合并的列数}*{合并后的单元格名称}
\begin{table*}[h]
\centering
\caption{TABLE name}
\label{table}
\setlength{\tabcolsep}{1mm}
\begin{tabular}{|c|c|c|c|c|c|c|}
\hline
\multirow{2}*{A} & \multicolumn{3}{c|}{B}& \multicolumn{3}{c|}{ C} \\ \cline{2-7}
&D &E &F &G&F &G \\
\hline
H & I &G&K&L&F &G\\
\hline
\end{tabular}
\label{tab1}
\end{table*}
插入参考文献
BibTex格式导入:
- 建立bix格式文本:把每一个参考文献的bib格式复制进去。(用谷歌学术添加bib参考文献)。下图数字1和2是可以自己定义,之后用它来引用。
上图数字1和2是可以自己定义,之后用它来引用。
- 在正文当中引用:
先添加包:\usepackage{cite}
其次引用:例如:\cite{1}, \cite{2}, 同时引用多个参考文献可用逗号: \cite{3,4,5} - 生成参考文献:
(1)使用XeLaTex格式运行tex主文件,用于生成aux文件
(2)使用BibTex格式运行生成的aux文件。运行成功会显示: Process exited normally
(3)再次使用使用XeLaTex格式运行tex主文件,正文引用的参考文献显示为**[?]**
(4)最后再使用一次XeLaTex格式运行tex主文件,参考文献引用成功。同时生成正确的参考文献。
插入ORCID
%先添加包:
\usepackage{tikz,xcolor}
\usepackage[implicit=false]{hyperref}
% 设置必有,去方框,取出参考文献的方框
\hypersetup{hidelinks,
colorlinks=true,
allcolors=black,
pdfstartview=Fit,
breaklinks=true}
\definecolor{lime}{HTML}{A6CE39}
\DeclareRobustCommand{\orcidicon}{
\begin{tikzpicture}
\draw[lime, fill=lime] (0,0)
circle[radius=0.16]
node[white]{{\fontfamily{qag}\selectfont \tiny \.{I}D}};
\end{tikzpicture}
\hspace{-2mm}
}
\foreach \x in {A, ..., Z}{%
\expandafter\xdef\csname orcid\x\endcsname{\noexpand\href{https://orcid.org/\csname orcidauthor\x\endcsname}{\noexpand\orcidicon}}
}
%加入作者的ORCID号码
\newcommand{\orcidauthorA}{0000-0001-6484-5457}
\newcommand{\orcidauthorB}{0000-0001-7573-6053}
%最后在作者后面引用
\author{Author1\orcidA{},Author2\orcidB{}
参考文献:
[1] https://blog.csdn.net/fanlily913/article/details/123758290?spm=1001.2101.3001.6650.2&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-2-123758290-blog-117153807.pc_relevant_paycolumn_v3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-2-123758290-blog-117153807.pc_relevant_paycolumn_v3&utm_relevant_index=4