如何從第一頁開始用阿拉伯語進行頁碼編號,並持續到文件末尾?

如何從第一頁開始用阿拉伯語進行頁碼編號,並持續到文件末尾?

我正在使用書本課程來寫論文。
我希望頁碼從第一頁開始。
所以目錄看起來像

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}

相關內容