Text FormattingPartial ToC for Chapters not displayed

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
alhawiti
Posts: 1
Joined: Sat Nov 23, 2013 9:37 pm

Partial ToC for Chapters not displayed

Post by alhawiti »

I use minitoc as shown in this file.

Code: Select all

\documentclass[11pt,oneside]{book}
\usepackage{minitoc}
\usepackage[round]{natbib}
\usepackage{longtable}
\usepackage[font={footnotesize,it}]{caption}
\usepackage{bookman} 
\usepackage[T1]{fontenc} 
\usepackage{setspace}
\doublespacing 
\usepackage{multirow}

\usepackage[left=30mm,top=30mm,right=30mm,bottom=30mm]{geometry}
\pagenumbering{Roman}
\usepackage[small,compact]{titlesec}
\usepackage[Lenny]{fncychap}
\usepackage{arabtex}
\usepackage{cp1256}
\setcode{cp1256}
\usepackage{float}
\usepackage[final]{graphicx}
\usepackage{epstopdf}
\usepackage{array}
\setarab
\raggedbottom
\title{\center \textbf{AAAAAAAAA}}
\author{
Submitted by AAAAAAA \\

}

\begin{document}

\maketitle

\chapter*{\thispagestyle{empty} Declaration} 


This thesis is an account of research undertaken between February 2004 and 
October 2004 at The Department of Physics, Faculty of Science, 
The Australian National University, Canberra, Australia.

Except where acknowledged in the customary manner, the material 
presented in this thesis is, to the best of my knowledge, original and 
has not been submitted in whole or part for a degree in any 

\chapter*{\thispagestyle{empty} \begin{center} \vspace*{2in}  To my AAAAA \end{center}}
\chapter*{\thispagestyle{empty} Abstract}
\chapter*{\thispagestyle{empty} Acknowledgments}
\dominitoc 
\tableofcontents
\listoffigures \addcontentsline{toc}{chapter}{List of Figures}
\listoftables \addcontentsline{toc}{chapter}{List of Tables}
\clearpage
\pagenumbering{arabic}
\chapter{Introduction}
\minitoc \newpage
\section{aaaaaa}
wefwefwefwefwefwefwefwerfwrefwefwef
wfwefwefwefwefwefewfwefwefewf
\end{document}
The partial ToC not appearing after chapter. What I missed?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

tom
Posts: 73
Joined: Thu Apr 18, 2013 4:02 am

Partial ToC for Chapters not displayed

Post by tom »

Hi!

Use \addstarredchapter instead of \addcontentsline to add the list-of-figures and list-of-tables. Please see the minitoc documentation (page 36) for more details. Also, it is usually a good idea to reduce your document to a minimum. You might have been able to locate your problem right away.

Code: Select all

\documentclass{book}
\usepackage{minitoc, blindtext}
\begin{document}
\dominitoc
\tableofcontents
\clearpage
\addstarredchapter{List of Figures}
%\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\clearpage
\chapter{Introduction}
\minitoc
\blindtext
\section{Something}
\blindtext
\end{document}
Post Reply