術語表附錄之前的白頁

術語表附錄之前的白頁

當我使用\printglossaries環境內部附錄時,我得到了兩個額外的白頁,我無法擺脫。你知道如何去除它們嗎?

這裡有一個 MWE 有這樣的問題:

\documentclass[a4paper,11pt,titlepage,twoside,openright]{book}
\usepackage[makeindex,acronym,numberedsection,counter=chapter,nonumberlist]{glossaries} 
\usepackage[titletoc, page]{appendix}

\newacronym{abc}{ABC}{Alpha test}

\makeglossaries

\begin{document}
\chapter{Chapter 1}
\gls{abc}


\begin{appendices}

\phantomsection\addcontentsline{toc}{chapter}{Acronyms}
\printglossaries

\end{appendices}

\end{document}

答案1

好的,我從另一個角度解決了我的問題郵政。所以如果判斷為重複就可以去掉。

這是一個帶有我想要的輸出的 MWE:

\documentclass[a4paper,11pt,titlepage,twoside,openright]{book}
\usepackage[makeindex,acronym,numberedsection,counter=chapter,nonumberlist]{glossaries} 
\usepackage[titletoc, page]{appendix}

\newacronym{abc}{ABC}{Alpha test}

\makeglossaries

\begin{document}
\chapter{Chapter 1}
\gls{abc}


\begin{appendices}

\begingroup     
\let\clearpage\relax        
\printglossaries
\endgroup

\chapter{Appendix B}

\end{appendices}

\end{document}

相關內容