首页 最新 热门 推荐

  • 首页
  • 最新
  • 热门
  • 推荐

elsevier模板_英文论文双栏模板

  • 25-03-03 21:42
  • 2935
  • 8044
blog.csdn.net

6deffac6783a32072f575eb435455155.png

初始目的仅是自己想用爱斯维尔(Elsevier)出版商论文的双栏模板,如题图,但下载模板后运行失败,原因是该模板不支持ctex, Miktex,而应该用Texlive。但很多人因为中文支持,初次安装的可能就是Ctex或Miketex(我就是的),所以很能出现该错误。这里记录下过程。

1.编译器和编辑器

Ctex,Miktex,Texlive都属于编译器,也就是把我们敲的tex代码翻译成机器语言然后转化成pdf文件。下载这些软件时,它们都会自带一个编辑器,也就是提供一个我们写代码的地方。所以当我们安装完软件后,打开该软件,呈现在眼前的就是一个代码编辑器,写完代码,点击运行后,软件的编译器就开始工作将代码转为pdf文件。

Texstudio属于编辑器。

2.elsarticle-template

先说下第一个模板。

爱斯维尔模板网址 。该页面上elsarticle-template目标下载处,

db0099a18d7ad9d2ed42ba0eef5132b6.png

点击 elsarticle-ecrc.zip 即可下载目标。点击 elsdoc.pdf 为教程。

运行模板里的例子 elsarticle-template.tex 为单栏,

214ef46235f96e1d4a2b7c78a56e35ce.png

将例子中的命令该为,

documentclass

为双栏模板

89cf64d59cf2d6a9d3cf2d867ea5ee6c.png

这个模板文件使用Miktex没有报错。但可以看到双栏模板的标题作者摘要格式,并不是我们想要的。其它细节可看教程文件。

3.els-cas-templates

仍在上面的网址中,

5625861e68c914b390702a9a38ef31c1.png

点击 els-cas-template.zip 下载即可。其中的 cas-dc-template.tex 文件为双栏模板,cas-sc-template.tex 为单栏模板。找到个教程 els-CAS教程 ,教程中没有完整示例,但细节可以在里面查看。

如果已经下载了 texlive 可以打开 texlive 的编辑器 Texworks editor 点击打开,然后运行该模板即可,双栏为,

1622cd160a938961fba2b942414d8b70.png

单栏为,

2218236b012ed01ef25033ce69671bcc.png

实际例子的pdf的前两页有非正文东西,删掉如下两句即可,

  1. begin{graphicalabstract}
  2. includegraphics{figs/grabs.pdf}
  3. end{graphicalabstract}
  4. begin{highlights}
  5. item Research highlights item 1
  6. item Research highlights item 2
  7. item Research highlights item 3
  8. end{highlights}

然而texlive的编辑器不美观,敲起来挺难受的。很多人用的可能是 texstudio,但是先安装了ctex或miktex,此时才装了texlive,这就导致了用texstudio打开例子时,默认使用ctex或miktex的编译器(应该也可以改环境变量来解决),解决办法是使用 texlive 的命令行工具打开文件,如下图,

b2ef9982378f3b6da7cb4d306a389a84.png

f387ca295db8a2068c266a0dae6e80a6.png

会自动使用texstudio,打开该文件,且使用的编译器也是texlive。

texlive的编辑器和命令行都可以运行 "texlive2019tl-tray-menu.exe" 后打开。win10系统也可以在"开始"的下一个桌面里找。

4.els-cas-templates双栏插入表格和图片的问题

1.引用问题

使用双栏的一个问题是有时表格和图片很长,A4的一半无法容纳,办法在教程里有,使用span table,

  1. begin{table*}[width=.9textwidth,cols=4,pos=h]
  2. caption{This is a test caption.}
  3. begin{tabular*}{tblwidth}{@{} LLLLLL@{} }
  4. toprule
  5. Col 1 & Col 2 & Col 3 & Col4 & Col5 & Col6 & Col7
  6. midrule
  7. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  8. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  9. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  10. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  11. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  12. bottomrule
  13. end{tabular*}
  14. end{table*}

然而问题是,使用上面的命令表格的引用 label 正常放置,却无法正常引用(引用处为??),解决办法是将 lable 放在下方,

  1. begin{table*}[width=.9textwidth,cols=4,pos=h]
  2. caption{This is a test caption.}
  3. begin{tabular*}{tblwidth}{@{} LLLLLL@{} }
  4. toprule
  5. Col 1 & Col 2 & Col 3 & Col4 & Col5 & Col6 & Col7
  6. midrule
  7. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  8. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  9. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  10. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  11. 12345 & 12345 & 123 & 12345 & 123 & 12345 & 123
  12. bottomrule
  13. end{tabular*}
  14. label{table2}
  15. end{table*}

图片也是一样,

  1. begin{figure*}
  2. centering
  3. includegraphics[width=textwidth,height=2in]{Fig2.pdf}
  4. caption{Schematic of formation of the evanescent polariton on
  5. linear chain of PMS. The actual dispersion is determined by
  6. the ratio of two coupling parameters such as exciton-WGM coupling
  7. and WGM-WGM coupling between the microspheres.}
  8. label{FIG:2}
  9. end{figure*}

其它细节可看教程网址中的内容。

2.标题问题,caption

图片标题有时添加了注解导致很长,如果使用了 begin{figure*}[htbp] 命令,标题会对齐不正常。办法是不要用 [htbp] 命令。

相关资源:Elsevier爱思唯尔期刊投稿模板(单栏+双栏)_爱思唯尔期刊模板,爱思...
注:本文转载自blog.csdn.net的weixin_39719585的文章"https://blog.csdn.net/weixin_39719585/article/details/110496243"。版权归原作者所有,此博客不拥有其著作权,亦不承担相应法律责任。如有侵权,请联系我们删除。
复制链接
复制链接
相关推荐
发表评论
登录后才能发表评论和回复 注册

/ 登录

评论记录:

未查询到任何数据!
回复评论:

分类栏目

后端 (14832) 前端 (14280) 移动开发 (3760) 编程语言 (3851) Java (3904) Python (3298) 人工智能 (10119) AIGC (2810) 大数据 (3499) 数据库 (3945) 数据结构与算法 (3757) 音视频 (2669) 云原生 (3145) 云平台 (2965) 前沿技术 (2993) 开源 (2160) 小程序 (2860) 运维 (2533) 服务器 (2698) 操作系统 (2325) 硬件开发 (2491) 嵌入式 (2955) 微软技术 (2769) 软件工程 (2056) 测试 (2865) 网络空间安全 (2948) 网络与通信 (2797) 用户体验设计 (2592) 学习和成长 (2593) 搜索 (2744) 开发工具 (7108) 游戏 (2829) HarmonyOS (2935) 区块链 (2782) 数学 (3112) 3C硬件 (2759) 资讯 (2909) Android (4709) iOS (1850) 代码人生 (3043) 阅读 (2841)

热门文章

101
推荐
关于我们 隐私政策 免责声明 联系我们
Copyright © 2020-2025 蚁人论坛 (iYenn.com) All Rights Reserved.
Scroll to Top