写论文的时候,总发现不同杂志对论文的排版要求各不相同,所以就像做一个通用模板,以后直接修改对应的代码就好。
不同杂志对SCI论文的模板要求不同,但是一开始写的时候,就按照下面这个模板会减少很多错误和时间。这是我这段时间以来的总结。
推荐用 TeX Live来写,用 pdfLaTeX 编译,并编译两次。第一次编译后引用参考文献处会是问号,第二次编译后就正常了。
代码如下:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 |
%%% Simple Latex template %%% %%% Version: 1.0 %%% %%% UpDateTime: 2016.11.22 %%% %%% Author: TAHO %%% %%% Contact: tahoroom@163.com %%% %%% Web Site: http://taholab.com %%% %%% Address: Xi'an, Shaanxi, China %%% \documentclass[12pt,a4paper]{article} %%% ADD BY ME%%% \usepackage{exscale} \usepackage{relsize} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{float} \usepackage{graphicx} %插入图片要用到 \graphicspath{{eps/}} %eps是放置eps文件的文件夹,如果图片就在根目录放置,请注释掉这一句 \usepackage{subfigure} %放置子图时用到 \usepackage{epstopdf} %专门面向CTEX设置。因CTEX不能识别eps图片,此处目的是将eps图片转换为pdf图片文件,不需要的可以注释掉 \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{authblk} \usepackage{hyperref} %让引用带有超链接 %%%%%%%%%%%%%%%%% BEGIN OF PREAMBLE %%%%%%%%%%%%%%%% \title{Your Article Title} \author[1,2]{AAAA} \author[1,2]{BBBB} \author[1]{CCCC} \author[2]{DDDD\footnote{Corresponding author. E-mail: dddd@mail.dddd.edu.cn}} \affil[1]{Institute of MMMM, NNNN University,XXXX Road, SSSS, Shaanxi 710069, China} \affil[2]{College of MMMM, NNNN University, 88 South University Ave., JJJJ, Jiangsu 225009, China} \renewcommand\Authands{ and } \date{} %%%%%%%%%%%%%%%%% END OF PREAMBLE %%%%%%%%%%%%%%%% %Start \begin{document} % Make the title of the work. \maketitle %The Abstract \begin{abstract} Put your abstract here.Put your abstract here.Put your abstract here.Put your abstract here.Put your abstract here.Put your abstract here.. \end{abstract} %Keywords \textbf{Keywords:} Keyword1; Keyword2; Keyword3. %PACS numbers: \textbf{PACS numbers:} 04.70.Bw, 04.20.Dw %Start the real content \section{Introduction} First secntion \section{Method} An example of equation with lable \begin{equation}\label{eq:metric} ds^2=-N(\rho)^2dt^2+\frac{1}{L(\rho)^2}d\rho^2+\rho^2 d\phi^2, \end{equation} Cite the equation: In Eq.\eqref{eq:metric} Cite the reference You are good\cite{Penrose,related02}. We could get it in Ref.\cite{related01} . \section{Instert eps Pictures} Single eps: \begin{figure}[!h] \centering \includegraphics[width=6cm]{003ExRhoAfter-emore.eps} \vspace*{8pt} \caption{Plot of $F_{af-e}(\rho)$. There are two points of intersection on the horizontal axis. The left point stands for the inner horizon and the right one stands for the outer horizon. The extreme black hole becomes into a common black hole.\label{fig:003ExRhoAfter-emore}} \end{figure} two sub eps: \begin{figure}[!h] \centering \subfigure[Plot of $E-q$, where $-1 \leqslant q \leqslant 2.5$.]{ \label{fig:001ExMinMax:subfig:a} %% label for first subfigure \includegraphics[width=6cm]{001aExEmaxEmin.eps}} \hspace{1cm} \subfigure[Plot of $E-q$, where $0 \leqslant q \leqslant 0.005$.]{ \label{fig:001ExMinMax:subfig:b} %% label for second subfigure \includegraphics[width=6cm]{001bExEmaxEmin.eps}} \caption{Plot of $E-q$. The shaded area is the intersection of $E_{min-e}<E$ and $E<E_{max-e}$.} \label{fig:001ExMinMax} %% label for entire figure \end{figure} \section{Summary} Summary your work. \section*{Acknowledgments} We thank Dr. YYYY for useful comments and enlightening discussions. This work was supported by NSFC Grant Nos. 11111111, 22222222 and 33333333. \begin{thebibliography}{99} \bibitem{Penrose} R.Penrose, {\it Revistas del Nuovo Cimento} {\bf 1} (1969) 252. \bibitem{related01} V. E. Hubeny, {\it Phys. Rev. D} {\bf 59} (1999) 064013. \bibitem{related02} S. Hod, {\it Phys. Rev. D} {\bf 66} (2002) 024016. \end{thebibliography} \end{document} |
效果如下:
由于Ctex和其他的Tex编辑器略有不同,特针对Ctex制作模板,其实改动主要是 \usepackage{epstopdf} 这一句,因CTEX不能识别eps图片,此处目的是将eps图片转换为pdf图片文件,不需要的可以注释掉。
模板下载:
链接:https://pan.baidu.com/s/1eh-PLhrbQRzvA5lL9vGmxw 密码:xs8f