Created
July 1, 2018 09:39
-
-
Save kmuto/83b55cf0e2834c149db56a4916a163af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\renewcommand\frontmatter{% | |
\if@openright | |
\cleardoublepage | |
\else | |
\clearpage | |
\fi | |
\@mainmatterfalse | |
\setcounter{page}{3} | |
% \pagenumbering{roman}} | |
} | |
\renewcommand\mainmatter{% | |
\cleardoublepage | |
\@mainmattertrue | |
% \pagenumbering{arabic}} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jsbookのfrontmatter・mainmatterでのナンバリングまわりは固定になっていて書き換えられないので、まるごと全体を置き換えるしかない。
setcounterして3にしないと、p.1表紙・p.2大扉はカウント外で1になってしまう(これのほうがいいという場合はsetcounterをコメントアウト)。