# Contents using roman numerals

I am using \tableofcontents to make the contents of the chapter. but its does not include the contents of pages in frontmatter how can that be done?

\documentclass[english,openany]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{geometry}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{subscript}
\doublespacing

\makeatletter
\usepackage{amsmath}

\makeatother

\usepackage{babel}
\begin{document}
\frontmatter
\chapter*{}
\tableofcontents{}
\listoffigures
\listoftables
\mainmatter
\chapter
\end {document}

• Your MWE doesn't contain \makecontents ... And please, be so kind and remove from MWE all what is not necessary to show your problem. – Zarko Jan 2 '16 at 11:44
• This is a follow up to roman numerals in page – Johannes_B Jan 2 '16 at 11:57
• Edited MWE is much better, however still contain packages, which are surplus for your problem. Also loading \ampsmath package not need \makeatletter...\makeatother construct. – Zarko Jan 2 '16 at 12:02
• \tableofcontents is doing that for the present book class that I am using.But the chapters specified under \frontmatter are not included. – user87834 Jan 2 '16 at 12:07
• Thanks but I cannot change the starred form. What else can be done in that case? – user87834 Jan 2 '16 at 12:22

Try:

\documentclass[english,openany]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[margin=25mm]{geometry}
\usepackage{babel}

\begin{document}
\frontmatter
\chapter{Preface}
\tableofcontents
\listoffigures
\listoftables
\mainmatter
\chapter{First}
\end{document}


As you can see, the chapter in front matter should not be of starred form to be included in table of contents. Since it is in front matter, it will not be numbered.

BTW, your question title is miss leading. Change it so, that it will reflect your problem.

• @UlrikeFisher, thank your for correction start to starred ... – Zarko Jan 2 '16 at 12:18