
我正在使用書本課程來寫論文。
我希望頁碼從第一頁開始。
所以目錄看起來像
1,3,5
是否比
i, 1, 3
我有
來自
% arara: pdflatex
% arara: pdflatex
\documentclass[12pt]{book}
\usepackage{tocbibind}
\usepackage[toc]{appendix}
\usepackage[bookmarks]{hyperref}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{main}
\begin{appendices}
\chapter{appendix}
\end{appendices}
\end{document}
答案1
只是根本不要發出問題,因為如果您想從編號\frontmatter
開始,那麼技術上不需要它。\arabic
如此一來,\mainmatter
也變得多餘了。因此,您的文件將具有以下結構:
\documentclass{book}
\usepackage{tocbibind}
\usepackage[toc]{appendix}
\usepackage[bookmarks]{hyperref}
\begin{document}
\tableofcontents
\chapter{main}
\begin{appendices}
\chapter{appendix}
\end{appendices}
\end{document}