How to add “Nomenclature” in “elsarticle” (2-column format)

Step1. You should add these lines at the top of the page in TeXmaker:

\documentclass[5p]{elsarticle}

\usepackage{framed} % Framing content

\usepackage{multicol} % Multiple columns environment

\usepackage{nomencl} % Nomenclature package

\makenomenclature

\setlength{\nomitemsep}{-\parskip} % Baseline skip between items

\renewcommand*\nompreamble{\begin{multicols}{2}}

\renewcommand*\nompostamble{\end{multicols}}

\begin{document}

Step2. Add these codes in the body of the document:

\begin{table*}[!t]   

\begin{framed}

\nomenclature{$abbreviation$}{explanation for the abbreviation}

\printnomenclature

\end{framed}

\end{table*}

Note1: this command allows you to add Nomenclature as many times as you want

\nomenclature{$abbreviation$}{explanation for the abbreviation}

Step3. Go to Options > Configure Texmaker > TEX Commands

In the Latexmk command space, add this code at the end of the already written command (completely):

 ; makeindex elsarticle-template.nlo -s nomencl.ist -o elsarticle-template.nls 

(don't forget, you may need to change the name of *.nlo or *.nls if you have made some modifications to the name)


Step4. Go to Tools > open Terminal

and then enter this code (same code):

 ; makeindex elsarticle-template.nlo -s nomencl.ist -o elsarticle-template.nls 

Step5. From the drop-down menu, choose LatexMK to compile your code and then you can choose Quick Build as well. (try more than once if the first time the table doesn't appear)

That's it guys. The final work should create a table like this at the top of the second page:

 

enter image description here

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值