我想制作一个同时显示首字母缩略词和词汇表的列表。目前只显示词汇表,不显示首字母缩略词。
\usepackage[utf8]{inputenc}
\usepackage[acronym, section]{glossaries}
\makenoidxglossaries
\newacronym{bpmn}{BPMN}{Business Process Modeling Notation}
\newacronym{bpm}{BPM}{Business Process Model}
\newglossaryentry{iot}
{name= Internet of Thing (IoT),
description={Network of physical objects—“things”—that are embedded with sensors, software, and other technologies for the purpose of connecting and exchanging data with other devices and systems over the internet}}
\begin{document}
%How I use the acronym in the text:
The \acrfull{bpmn} will be used to illustrate...
\chapter*{List of Terms and Acronyms}
\printnoidxglossary
\end{document}
结果:
我该怎么做才能让这个列表也显示首字母缩略词?
答案1
\printnoidxglossary
相当于\printnoidxglossary[type=main]
,它仅打印主词汇表,缩写词将作为单独的type=acronym
词汇表创建。
您可以使用
\printnoidxglossaries
一次打印两者,或\printnoidxglossary
使用不同类型多次调用
\printnoidxglossary
\printnoidxglossary[type=acronym]
\documentclass{report}
\usepackage[acronym, section]{glossaries}
\makenoidxglossaries
\newacronym{bpmn}{BPMN}{Business Process Modeling Notation}
\newacronym{bpm}{BPM}{Business Process Model}
\newglossaryentry{iot}
{name= Internet of Thing (IoT),
description={Network of physical objects—“things”—that are embedded with sensors, software, and other technologies for the purpose of connecting and exchanging data with other devices and systems over the internet}}
\glsaddall
\begin{document}
\chapter*{List of Terms and Acronyms}
\printnoidxglossaries
\chapter*{Other List of Terms and Acronyms}
\printnoidxglossary
\printnoidxglossary[type=acronym]
\end{document}