elsarticle使用入門1

elsarticle使用入門1

覺得有用的話,歡迎一起討論相互學習~Follow Me

參考文獻
https://www.jianshu.com/p/a3e7a14f8905
https://blog.csdn.net/qq_36607894/article/details/100560421

elsarticle初次使用

  • 下載elsarticle.ins和elsarticle.dtx,並放在當前目錄
  • 在當前目錄執行:
    latex elsarticle.ins
    運行上述命令,得到elsarticle.cls和elsarticle-num.bst
    elsarticle.cls和elsarticle-num.bst 真正要用的cls文件出來了,把cls文件放入自己寫的tex文件所在的目錄再運行纔是正確的操作
  • 寫完之後發現hyperref包怎麼都用不了,參考文獻不變顏色,也不能跳轉很難受
    在這裏插入圖片描述

Latex中的cls文件使用

cls文件是latex2e的格式文件,它決定了latex源文件的排版佈局。最一般的cls文件就是我們常用的article.cls,這表現在
\documentclass{article}這一句裏面。如果出版方提供了cls文件,可以將
cls文件和你自己的latex文件放到同一個文件夾裏面,在源文件裏面用

\documentclass{xxx}
而不是
\documentclass{article}
  • 例如此處使用\documentclass[review]{elsarticle}

  • 或者將生成的elsarticle.cls 然後把生成的cls文件複製到D:\texlive\texmf-local\tex\latex\elsevier路徑,也可以放在別的latex編譯時可以搜索到的路徑下
    然後更新latex的文件數據庫,用texlive發行版texhash命令,miktex發行版好像是用mktexlsr

E:\2nd paper\投稿期刊模板\information fusion\elsarticle\elsarticle>texhash
texhash: Updating D:/texlive/texmf-local/ls-R...
texhash: Updated D:/texlive/texmf-local/ls-R.
texhash: Updating D:/texlive/2019/texmf-config/ls-R...
texhash: Updated D:/texlive/2019/texmf-config/ls-R.
texhash: Updating D:/texlive/2019/texmf-var/ls-R...
texhash: Updated D:/texlive/2019/texmf-var/ls-R.
texhash: Updating D:/texlive/2019/texmf-dist/ls-R...
texhash: Updated D:/texlive/2019/texmf-dist/ls-R.
texhash: Done.

E:\2nd paper\投稿期刊模板\information fusion\elsarticle\elsarticle>
發佈了266 篇原創文章 · 獲贊 172 · 訪問量 37萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章