Latex常用语法
图片
单个
\usepackage{float}
\begin{figure}[H] %H为当前位置,!htb为忽略美学标准,htbp为浮动图形
\centering %图片居中
\includegraphics[width=0.3\textwidth]{picture/Germanene_cell.png} %插入图片,[]中设置图片大小,{}中是图片文件名
\caption{锗烯的晶胞} %最终文档中希望显示的图片标题
\label{fig:锗烯的晶胞} %用于文内引用的标签
\end{figure}
并排
\usepackage{float}
\usepackage{subfigure}
\begin{figure}[H]
\centering %图片全局居中
\subfigure[name1]{
\includegraphics[width=0.45\textwidth]{DV_demand}
\label{Fig.sub.1}}
\subfigure[name2]{
\includegraphics[width=0.45\textwidth]{P+R_demand}
\label{Fig.sub.2}}
\caption{Main name}
\label{Fig.main}
\end{figure}
表格
可以用Excel制作好直接复制到在线网站直接生成。
参考文献
file.tex中加入下面代码:
\bibliographystyle{plain} % 标准plain unsrt alpha abbrv
\bibliography{file.bib}
file.bib中加入参考文献,可以用谷歌学术或者哈佛数据库
@article{ren2018tunable,
title={Tunable electronic and topological properties of germanene by functional group modification},
author={Ren, Ceng-Ceng and Zhang, Shu-Feng and Ji, Wei-Xiao and Zhang, Chang-Wen and Li, Ping and Wang, Pei-Ji},
journal={Nanomaterials},
volume={8},
number={3},
pages={145},
year={2018},
publisher={Multidisciplinary Digital Publishing Institute}
}
通过\cite{}引用