RESEND: using pagenumbring

11 views
Skip to first unread message

Idris Maxdoni Kamil

unread,
Sep 11, 2012, 2:56:45 PM9/11/12
to latexus...@googlegroups.com, max...@ftsl.itb.ac.id
(sorry, i forgot the attachment)

Hi,,

I have problem in using pagenumbering for  my table of content of my work. My short version of the file:

\documentclass[11pt,oneside]{book}
%
\usepackage{graphicx, fancyhdr, natbib, setspace}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{breqn}
\usepackage{pdfpages}
\usepackage{rotating}
\usepackage{longtable}
\DeclareMathSizes{11}{19}{13}{9}
% Double-spaces the entire document
\usepackage{setspace}
%\doublespacing
%\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
%---------------------------------------
\begin{document}
%\input{./coverTP.tex}
\def\partname{Bagian}
\def\chaptername{Bab}
%-------------------------Roman
\pagenumbering{roman}
\setcounter{page} 2
%\singlespace
\begin{center}
\section*{Kata Pengantar}
\addcontentsline{toc}{section}{Kata Pengantar}
\end{center}
Bahan kuliah dipersiapkan untuk mata kuliah Pencemaran Tanah dan Air Tanah (TL-6184).
Penyusun
\newpage
%------------Daftar Isi---------------------
\def\contentsname{Daftar Isi}
\tableofcontents
\addcontentsline{toc}{section}{Daftar Isi}
\newpage
%
%-------------Daftar Gambar ----------------
%
\def\listfigurename{Daftar Gambar}
\listoffigures
\addcontentsline{toc}{section}{Daftar Gambar}
\newpage
%
\def\listtablename{Daftar Tabel}
\listoftables
\addcontentsline{toc}{section}{Daftar Tabel}
\newpage
%--------------- 
\pagenumbering{arabic}
\setcounter{page}{1}
\chapter{Pendahuluan}
Apa kabar
\section{Umum}
Air yang ada di bumi terdiri dari air laut, es di kutub, air permukaan, dan air tanah. 
Sebagian kecil adalah \emph{freshwater} yaitu air yang dapat dikonsumsi olah manusia.
Air tanah (\emph{Groundwater}) adalah bagian dari 
%..........
%..........
\end{document}

This file will produce a nice pagenumbering combination between roman and arabic. But the trouble comes when
I used it for long version of my work. The numbering sistem for arabic part was jumped from ii to v (attached the ourput)

I have tried to find the bug, but no success. Anybody knows something? Thank in advance.

Doni
toc.JPG

Werner Grundlingh

unread,
Sep 11, 2012, 3:05:58 PM9/11/12
to latexus...@googlegroups.com, max...@ftsl.itb.ac.id
...try

\clearpage

%------------Daftar Isi---------------------

\def\contentsname{Daftar Isi}
\addcontentsline{toc}{section}{Daftar Isi}

\tableofcontents
\clearpage

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Maxdoni

unread,
Sep 11, 2012, 8:53:28 PM9/11/12
to latexus...@googlegroups.com
Werner,

Thank you for your help. I tried your suggestion and clean up some blank lines between commands and restructure some statements...everything OK now.

Regards--Doni

Sent from my iPad
Reply all
Reply to author
Forward
0 new messages