
我目前正在寫我的論文,並想介紹各部分的術語表。我創建了多個新的詞彙表,其中顯示了我想要的所有首字母縮寫。
仍然存在一個問題,有一些定義應該出現在多個術語表中,有什麼辦法可以實現這一點嗎?
目前條目僅顯示一次。
微量元素:
\documentclass{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[section=subsection]{glossaries}
\newglossary{No1}{1i}{1o} {Glossary 1}
\newglossary{No2}{2i}{2o}{Glossary 2}
\newglossaryentry{1}{type=No1,name=Entry1,description=Desc1}
\newglossaryentry{2}{type=No2,name=Entry2,description=Desc2}
\newglossaryentry{3}{type=No2,type=No1,name=Entry3,description=Desc3}
\makeglossaries
\begin{document}
\section{Section 1}
\printglossary[type=No1]
\gls{1},\gls{3}
\section{Section 2}
\printglossary[type=No2]
\gls{2},\gls{3}
\end{document}
答案1
您可以在列印第一個術語表後移動條目:
\documentclass{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[section=subsection]{glossaries}
\newglossary{No1}{1i}{1o} {Glossary 1}
\newglossary{No2}{2i}{2o}{Glossary 2}
\newglossaryentry{1}{type=No1,name=Entry1,description=Desc1}
\newglossaryentry{2}{type=No2,name=Entry2,description=Desc2}
\newglossaryentry{3}{type=No1,name=Entry3,description=Desc3}
\makeglossaries
\begin{document}
\section{Section 1}
\printglossary[type=No1]
\gls{1},\gls{3}
\section{Section 2}
\glsmoveentry{3}{No2}
\printglossary[type=No2]
\gls{2},\gls{3}
\end{document}
請注意,我不確定這是否會產生不良副作用。買者自負...