Latex 论文elsevier,手把手如何用Latex写论文 |
您所在的位置:网站首页 › 56844是什么意思 › Latex 论文elsevier,手把手如何用Latex写论文 |
这几天在开始写论文,准备发的是elsevier,这个网站的instruction有问题,下载的东西基本上好多的错误,所以我就写博客记录。 首先看下:https://www.elsevier.com/authors/author-schemas/latex-instructions 这里需要我们先安装Latex,我安装的是Ctex CTex的下载可以在网上搜索或使用我网盘,如果我网盘没法使用请和我说:[email protected] 我们首先安装Ctex,一路下一步,注意可以安装到D盘,不一定需要C盘。 然后就是basic-miktex-2.9.6069-x64这里你不一定安装64位,下载可以到http://miktex.org/ 下载,也可以到我网盘下载,如果不能下载请和我说 安装完CTeX如果使用报错 CTeX 系统找不到指定的文件 大概的方法是打开Execution Modes在Options 然后修改Tex System的路径这样很简单我们的CTex就好了 看到CTEX的MikTex不存在Bin,那么需要安装miktex,这个安装必须在C盘,默认位置,记住C盘 安装完,我们可以安装TeXStudio,这个软件做的很好,看下界面 是不是感觉比WinEdt好,如果感觉好的话,那么就去下载,可以到官网www.texstudio.org如果上不了就在我这里下。 我们开始使用官方的模板,官方下载位置https://www.elsevier.com/__data/assets/file/0007/56842/elsarticle-template.zip可以看到里面没有ecrc.sty在我们编译的时候就出错 File `ecrc.sty' not found. 1 1可以去下载我的ecrc.sty,下载放在最后,大家如果发现无法下载,就联系我 这个在于我们打开的模板是ecrc-template.tex,在官网有下载,https://www.elsevier.com/__data/assets/text_file/0007/56878/ecrc-template.tex 打开之后发现还需要Elsevier-logo-3p.pdf, SDlogo-3p.pdf, Elsevier-logo-5p.pdf and SDlogo-5p.pdf ,都可以在官网下载,下载后需要下载elsarticle.cls,同样官方,https://www.elsevier.com/__data/assets/text_file/0005/56903/elsarticle.cls 把这些放在一个文件夹,这样就好啦。 我在TeXStudio打开,发现没有错误。 顺便推荐一个软件:Tickeys这个软将可以让我们打字有声音,晚上打字用这个软件感觉好。 开始写的是\documentclass[3p,times]{elsarticle} 就是引用elsarticle,\documentclass[]{elsarticle} 选项可以使用参见:https://www.elsevier.com/__data/assets/pdf_file/0009/56844/elsdoc2.pdf 我们开始就是题目,我们的题目是乱写 首先题目\title{A paper csdn and Mircrosoft is laji \tnoteref{t1,t2}},其中\tnoteref是引用脚注,一般写的就是t1,t2标识,这个随意。其中写了t1,在题目后面就有一个星,在写一个就出现一个逗号,后面加两个星,规则是第n个就有n个星。 然后我们在外面写\tnotetext[标识]{Content},也就是页面下的内容,这里我写的是垃圾微软,可以看到Content可以很长,而我们还有t3没写,没写的没显示 \tnotetext[t1]{This document is a collaborative effort.} \tnotetext[t2]{The second title footnote which is a longer longer than the first one and with an intention to fill in up more than one line while formatting.But it's to small,I write Mircosoft is laji.} 1234 1234接着我们开始写作者,假如我们两个作者,第一个是lindexi_gd第二个是Microsoft 我们需要知道在Latex的注释是%% 作者的格式是 %% \author[label1,label2]{} %% \address[label1]{} %% \address[label2]{} 123 123每个label就是标签,可以在地址写,可以在别的地方写作者的地址 Latex用\\换行,在我们的地址比较长,可以用这换行 \author[lindexiAddress]{lindexi\_gd \corref{cor1} \fnref{fn1} } \ead{lindexi\[email protected]} %%作者的\corref{lable}就是在脚注,用的是*,第n个有n* %%\fnref{lable} 脚注,这个才是真的,但是没显示 %%\author[lindexiAddress]{lindexi\_gd \corref{cor1} \fnref{fn1} } %%地址写在下面\address[lindexiAddress]{The lindexi's address } %%地址是a,b,c label不区分大小写 \author[Address1,Address2]{Mircrosoft \corref{cor2} \fnref{fn2}} \ead{[email protected]} \cortext[cor1]{Corresponding author} \cortext[cor2]{Principal corresponding author} \fntext[fn1]{This is the specimen author footnote.} \fntext[fn2]{Another author footnote, but a little more longer.} \fntext[fn3]{Yet another author footnote. Indeed, you can have any number of author footnotes.} \address[lindexiAddress]{The lindexi's address } \address[Address1]{River Valley Technologies, 9, Browns Court, Kennford, Exeter, United Kingdom} \address[Address2]{Central Application Management, Elsevier, Radarweg 29, 1043 NX\\ Amsterdam, Netherlands} 123456789101112131415161718192021222324252627 123456789101112131415161718192021222324252627复制我这个放到代码就可看到 然后就是我们的摘要 \begin{abstract} 摘要写在这 \end{abstract} 123 123然后我们开始写关键字 关键字写在 \begin{keyword} \end{keyword} 1234 1234不同的关键字使用\sep分开 \begin{keyword} CSDN \sep lindexi \sep windows.sc \end{keyword} 12345 12345我们就在正文开始写,遇到问题是如何插入图片,插入算法,图片位置不对,这写我都找了连接 输入列表 \begin{enumerate}[标号] 12 12标号可以使用数字或字,其中可以加[],() 我们可以在列表嵌套 \begin{enumerate}[a)] \item This item has roman numeral counter. \item Another one before we close the third level. \begin{enumerate}[a)] \item This item has roman numeral counter. \item Another one before we close the third level. \end{enumerate} \end{enumerate} 12345678 12345678 双栏需要双栏,在\documentclass[3p,times]{elsarticle}改5p 还有其他选项,这些我们现在不需要,直接改5p就好\documentclass[5p,times]{elsarticle} 引用我们的论文会参见很多人的,那么添加一个人或删会让我们修改很多,Latex给我们简单方法,我们可以使用这个来添加我们的参考 首先在页面最下,\end{document}上面写参考,首先要删除\bibliography{} 然后写参考的 \begin{thebibliography}{00} \bibitem[每次参考自动写的内容,作者,如果遇到括号不写]{label} 参见lindexi \end{thebibliography} 12345 12345在文章遇到我们需要参考 \citet{label} 1 1这样就好,如果我们没写作者看起来不好 如果没写作者,只要一个[1]那么在正文 \citep{label} 另一方式 \cite{label} 12345 12345要写一个上标我们应该用^ 假如我们的一个引用 \begin{thebibliography}{00} \bibitem{lindexi 1} lindexi_gd csdn. \end{thebibliography} 12345 12345在引用的写$^{\cite{lindexi 1}}$ 注意$$就是使用公式 标题我们需要一级标题,我们还需要二级,那么一级标题\section{标题名} 二级标题\subsection{标题名} 斜体 \emph{内容} 1 1 粗体 \textbf{} 1 1 排列左对齐 \begin{flushleft} \end{flushleft} 123 123居中 \begin{center} \end{center} 123 123右对齐 \begin{flushright} \end{flushright} 123 123 分数 \frac{上}{下} 1 1 根号 \sqrt{} 12 12插入公式:https://www.kancloud.cn/thinkphp/latex/41806 http://mohu.org/info/symbols/symbols.htm 插入图片插入图片的位置不对,我们可以使用[!htb]来取消latex的美学,latex的美学很烂。 我们需要先引用 float \usepackage{graphicx} \usepackage{float} 1234 1234在引用图片写上 \begin{figure}这里用取消美学[!htb] \includegraphics{fig1.png} \caption{Problem Description } \label{fig1} \end{figure} 12345 12345图片位置可以使用figure= 如果是esp,需要\epsfig \begin{figure}[h] \centerline { \epsfig { figure=images/fig, height=9cm, angle=-90 } } \caption{标题} \label{Fig1} \end{figure} 12345678910111213 12345678910111213参见:http://blog.sciencenet.cn/blog-400681-886697.html http://blog.csdn.net/bingfengxiao/article/details/6650096 多图并排 使用\vfill换行,\hfill 并排 \begin{figure*} \centering \begin{minipage}{0.48\linewidth} 0.48大小 \centering 图在中间 \includegraphics[width=5cm,height=5cm]{f1} 图,如果使用eps需要转换 \caption{图1 } \label{fig:1} \end{minipage} \hfill 并排 \begin{minipage}{0.5\linewidth} \centering \includegraphics[width=5cm,height=5cm]{f2} \caption{图2 } \label{fig:2} \end{minipage} \end{figure*} 1234567891011121314151617 1234567891011121314151617http://blog.csdn.net/lsg32/article/details/8121417 http://www.ctex.org/documents/latex/graphics/node109.html 使用eps引用epsfig \usepackage{graphicx} \usepackage{epsfig} 123 123打开cmd,进入图片路径, 使用epstopdf epstopdf 图.eps 1 1就会生成图.pdf 不需要写后缀名 \includegraphics[width=7cm,height=7cm]{f1} 1 1把生成的pdf也放进去,这样生成就好 重新为图片编号:http://www.52yfjc.com/2014/show.asp?id=887 Visio转eps在线wmf转eps https://cloudconvert.com/wmf-to-eps svg转eps http://cn.office-converter.com/SVG-to-EPS 一个简单方法是选择要转换的图,新建一个visio,然后在页面大小,设为适应,然后保存为pdf就好,一般不需要在转 插入算法http://blog.csdn.net/lqhbupt/article/details/8723478 \begin{algorithm} \caption{} \label{a} \begin{algorithmic} \STATE ) $ $ \end{algorithmic} \end{algorithm} 1234567 1234567 页开始如果需要设置期刊的名 \journalname{期刊名} 1 1下载: basic-miktex-2.9.6069-x64 https://yunpan.cn/OcvKmfknLnEsnJ 访问密码 0943 CTeX https://yunpan.cn/OcvKmJ8EINEN22 访问密码 7fa9 TeXStudio https://yunpan.cn/OcvKmVsRytDq7Z 访问密码 5ef5 https://sourceforge.net/projects/texstudio/?source=typ_redirect ecrc.sty https://yunpan.cn/OcvKHgsSHJMaFc 访问密码 2cef ecrc-template.tex https://yunpan.cn/OcvKHKAiBNIZDi 访问密码 1100 参见:https://www.elsevier.com/authors/author-schemas/preparing-crc-journal-articles-with-latex http://hubl82.blog.163.com/blog/static/1267694852013459412617/ |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |