如何在縮寫表中按字母順序排列縮寫?

如何在縮寫表中按字母順序排列縮寫?

我正在寫科學研究,我需要添加首字母縮寫表,所以我使用了以下命令:

\section*{List of Acronyms}  
\input{acro_list} 

並列出文件中的縮寫詞acro_list,如下所示:

\begin{acronym}[MPC] % Give the longest label here so that the list is nicely aligned
\acro{WSN}{Wireless Sensor Networks}
\acro{MPC}{model predictive control}
\acro{TLA}{Three Letter Acronym}
\end{acronym}

以下是描述該問題的範例:

\documentclass{article}

\begin{document}

\newpage
\section*{List of Acronyms}  
\input{acro_list}
\newpage
\section{Introduction}
First document \ac{MPC}.
\end{document}

首字母縮寫詞表反映了acro-list無序文件中寫入的首字母縮寫。因此,縮寫詞將是:

  • WSN 無線感測器網絡
  • MPC模型預測控制
  • TLA 三個字母縮寫詞

我需要的是一種在縮略詞表中按字母順序顯示縮略詞的方法,但保留使用該acro-list文件,如下所示:

  • MPC模型預測控制
  • TLA 三個字母縮寫詞
  • WSN 無線感測器網絡

相關內容