在最後一個 \part 的「外部」定義一個章節 (amsbook)

在最後一個 \part 的「外部」定義一個章節 (amsbook)

目前,我有以下內容:

\documentclass{amsbook}
\begin{document}

\chapter*{Introduction}

\part{First Part}
\chapter{1}
\chapter{2}
\chapter{3}

\part{Second Part}
\chapter{4}
\chapter{5}

\chapter*{Conclusion}

\end{document}

目錄很完美。我唯一關心的是如何查看 pdf 檢視器側面板中的內容。目前顯示:

Introduction
Part 1
  Chapter 1
  Chapter 2
  Chapter 3
Part 2
  Chapter 4
  Chapter 5
  Conclusion

然而,我真正想要的是以下內容,其中「結論」位於最後一個 \ 部分之外。

Introduction
Part 1
  Chapter 1
  Chapter 2
  Chapter 3
Part 2
  Chapter 4
  Chapter 5
Conclusion

答案1

您可以使用bookmark包裹:

\documentclass{amsbook}
\usepackage{bookmark}

\begin{document}

\chapter*{Introduction}

\part{First Part}
\chapter{1}
\chapter{2}
\chapter{3}

\part{Second Part}
\chapter{4}
\chapter{5}

\bookmarksetup{startatroot}
\chapter*{Conclusion}

\end{document} 

Okular 顯示的書籤面板:

在此輸入影像描述

相關內容