
私は論文を書くためにbookクラスを使用しています。
ページ番号を最初のページから開始したいのです
が、目次は次のようになります。
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}