
내 문서에 그림이 하나 이상 있는 경우에만 그림 목록을 표시하기 위해 이 트릭을 사용하고 있습니다.
\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로 설정하는 방법을 생각했습니다 .