符号和缩写列表

符号和缩写列表

\documentclass[a4paper,11pt]{memoir}当我使用输入文件时,如何创建符号列表?

这是我的主要文件:

\documentclass[a4paper,11pt]{memoir}

% Include all settings
\input{setup}
\begin{document}

%\input{titlePage}
%\input{hip}
%\frontmatter


%\input{abstract}
%\input{resume}
%\input{preface}
%\input{Acknowledgments}
%\printnomenclature

%\cleardoublepage
%\tableofcontents*
%\cleardoublepage
%\listoffigures*
%\cleardoublepage
%\listoftables*
\makenomenclature
\printnomenclature[6em]
\input{Symb}

%\mainmatter



%\input{chapter01}
\input{chapter02}
%\input{chapter03}
%\input{chapter04}
%\input{chapter05}
%\input{chapter06}

%\input{thebib}

%\appendix
%\appendixpage


%\input{appendix01}
%\input{appendix02}
%\input{appendix03}
%\input{appendix04}
%\input{appendix05}


%\backmatter
%\bibliography{mybib}
%\bibliographystyle{unsrt}

\end{document}

以及符号列表文件:

\chapter*{List of Symbols and Abbreviations}

$a$
$N$
$A$
$\sigma$
$m$

\nomenclature{$a$}{The number of angels per unit area}%
\nomenclature{$N$}{The number of angels per needle point}%
\nomenclature{$A$}{The area of the needle point}%
\nomenclature{$\sigma$}{The total mass of angels per unit area}%
\nomenclature{$m$}{The mass of one angel}

设置如下:

\usepackage[T1]{fontenc}
\usepackage[ansinew]{inputenc}
\usepackage[danish, english]{babel}
\usepackage{graphicx}
\usepackage{microtype}
\usepackage{lmodern}
\usepackage{lipsum}
\usepackage[intoc]{nomencl} % Nomenclature package
\usepackage{color}
\usepackage{times}
\usepackage{textcomp}
\usepackage{hyperref}
\usepackage{textpos}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage{ifthen}
%\usepackage{mathtools}
\usepackage{ragged2e,array,booktabs}
\usepackage{nomencl}
\makeheadrule{headings}{\textwidth}{1pt}

你知道我该做什么吗?

答案1

我喜欢这个nomencl软件包,因为它很简单。它可能不是一个高端解决方案,但它满足了我的需求,并且与arara它集成在一起,使用起来非常简单。只需使用 排版下面的示例即可arara

% arara: pdflatex
% arara: nomencl
% arara: pdflatex

\documentclass[a4paper,11pt]{memoir}
\usepackage{nomencl}
\makenomenclature
\begin{document}

\printnomenclature[6em]

\section*{Section using some Symbols}

$a$
$N$
$A$
$\sigma$
$m$

\nomenclature{$a$}{The number of angels per unit area}%
\nomenclature{$N$}{The number of angels per needle point}%
\nomenclature{$A$}{The area of the needle point}%
\nomenclature{$\sigma$}{The total mass of angels per unit area}%
\nomenclature{$m$}{The mass of one angel}

\end{document}

在此处输入图片描述

如果你不喜欢“命名法”这个标题,你可以简单地将其更改为你喜欢的任何内容

\renewcommand{\nomname}{List of Symbols}

相关内容