
ドキュメント内に少なくとも 1 つの図がある場合にのみ図のリストを表示するために、このトリックを使用しています。
\ifnum\value{figure}>0
\listoffigures
\newpage
\fi
-packageを使用してこれを行う方法はありますかglossaries
?
\usepackage[
acronym=true,
toc
]{glossaries}
\makeglossary
[...]
\glsaddall
\printglossary[
type=\acronymtype,
title=Foo,
numberedsection,
nonumberlist
]
[...]
\glsaddall
\renewcommand*{\glspostdescription}{}
\printglossary[
title=Glossary,
numberedsection,
nonumberlist
]
\newacronym
および\newglossaryentry
コマンドのラッパー コマンドを定義し、ブール変数を true に設定することを考えました。