Dr. Xiao-Le Deng

Nature期刊的LaTeX模版

2020-11-03 14:00
#LaTeX #Skills

1. 下载Nature的LaTeX模版

CTAN: /tex-archive/macros/latex/contrib/nature下载模版,基本信息如下:

Nature package
Version: 1.0, 24 Feb. 2004
by Peter Czoschke

2. 添加图片模块

默认Nature模版是不加入图片模块的,可通过templates - Nature include graphics - TeX - LaTeX Stack Exchange给出的解决方案:

\documentclass{nature}
\usepackage{graphicx}
\makeatletter
\let\saved@includegraphics\includegraphics
\AtBeginDocument{\let\includegraphics\saved@includegraphics}
\renewenvironment*{figure}{\@float{figure}}{\end@float}
\makeatother
\begin{document}

\begin{figure}[!htbp]
	\centering
	\includegraphics[width=4.0in]{name.pdf}
	\caption{Descriptions of the picture}
	\label{label of the picture}
\end{figure}

\end{document}