\frontmatter
, \mainmatter
and \backmatter
is excellent, as these do this: The frontmatter chapters will not be numbered. Page numbers will be
printed in roman numerals. Frontmatter is not supposed to have sections,
since they will be number 0.n because there is no chapter numbering. Check the Counters chapter for a fix.
The mainmatter chapters works as usual. The command resets the page numbering. Page numbers will be printed in arabic numerals.
The backmatter behaves like the frontmatter. It has the same issue with section numbering.
but I get the following error when included in the template.
Missing } inserted \begin{theindex}
I'll be doing that badly, eg Stand "
\frontmatter
" after "\begin{document}
" Note: This error can be fixed by removing all
\index{....}
and removing linesCode: Select all
%----------------------------------------------------------------------------------------
% INDEX
%----------------------------------------------------------------------------------------
\cleardoublepage
\phantomsection
\setlength{\columnsep}{0.75cm}
\addcontentsline{toc}{chapter}{\textcolor{ocre}{Index}}
\printindex
%----------------------------------------------------------------------------------------
but another problem is that after overcoming the above error and compile correctly, so far after each command does not display correctly, eg after the command
\frontmatter
the image that is in the "index" disappears, despeus of \mainmatter
the text looks ugly and plain, different without this command, I would like to use these commands could keep the document well, thank you very much