첫 페이지에서 아랍어로 페이지 번호 매기기를 시작하고 문서 끝까지 계속하는 방법은 무엇입니까?

첫 페이지에서 아랍어로 페이지 번호 매기기를 시작하고 문서 끝까지 계속하는 방법은 무엇입니까?

저는 논문을 쓰기 위해 북클래스를 이용하고 있습니다.
페이지 번호를 첫 페이지부터 시작하고 싶습니다.
TOC는 다음과 같습니다.

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}

관련 정보