GeneralTOC

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
gulni
Posts: 1
Joined: Thu Jul 29, 2010 10:10 pm

TOC

Post by gulni »

I have three questions.

1)The first one is about TOC and chapter appendices.

I am trying to create chapter appendices where the appendices would be named as

A1
A11
A2

etc...

for the chapter after te introduction. And as below for the following chapter.

B1
B2
etc...

I tried \begin{chapterappendices} \end{chapterappendices} did not work. I wondered if it clashed with one of my packages in the preamble.

2)The second one is about how the table of contents appear in the final document. Inmine it appears as Contents and I want it to come out as " TAble of Contents" I tried to change it with renew command, did not work.

3) Whwn I try to change the font to 11 the document does not compile. Probobly I have a clash again with an option or package. Could not figure it out.

I would very much apprecaite your comments if you have come across this before.

Regards



The code is below:

Code: Select all

\documentclass[a4paper]{report}

\usepackage{natbib}
\usepackage{amssymb}
\usepackage{lscape}
\usepackage[dvips, pdftex]{graphicx,color}
\usepackage{amsmath}
\usepackage{epstopdf}
%\usepackage{parskip}
\usepackage[english]{babel}
\usepackage{array}
\usepackage{eqparbox}
\usepackage{rotating}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{afterpage}
\usepackage{amsfonts}
\usepackage{caption}
\usepackage{cite}
\usepackage{chapterbib}
\usepackage{color}
\usepackage{colortbl}
\usepackage{longtable}
\usepackage{ragged2e}
\usepackage{supertabular}
\usepackage{rotating}
\usepackage{setspace}
%\usepackage{subfigure}
\usepackage{subfig}
\usepackage{indentfirst}
\usepackage{graphicx}%
\usepackage{version}

\usepackage{indentfirst,natbib}
\usepackage{lscape}
\usepackage{graphicx,color}
\usepackage{endnotes}
%\usepackage{comment}
\usepackage[toc,page]{appendix}







\setcounter{MaxMatrixCols}{30}

\providecommand{\U}[1]{\protect\rule{.1in}{.1in}}

\DeclareGraphicsExtensions{.pdf,.png,.jpg}
\addtolength{\topmargin}{-0.375in}
\addtolength{\oddsidemargin}{-0.45in}
\addtolength{\evensidemargin}{-0.45in}
\addtolength{\textheight}{0.5in}
\addtolength{\textwidth}{0.75in}
\renewcommand{\baselinestretch}{1.2}

\newcommand{\one}{$^{\ast}$}
\newcommand{\two}{$^{\ast\ast}$}
\newcommand{\thr}{$^{\ast\ast\ast}$}

%\setlength{\parindent}{2pt}
%\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex}
\setlength{\parskip}{1.5ex plus0.5ex minus0.5ex}
\begin{document}

\title{Essays }
\author{MA}
\date{2011}

\maketitle

\pagenumbering{roman}

\tableofcontents
\renewcommand\contentsname{Table of Contents}

\listoffigures
\listoftables



\chapter*{Abstract}

\addcontentsline{toc}{chapter}{Abstracts}



\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}





\chapter*{Statement of Original Authorship}
\addcontentsline{toc}{chapter}{Statement of Original Authorship}




\newpage


\pagenumbering{arabic}

\include{Introduction}



\include{chapter2}



\include{chapter3}

\include{chapter4}

\include{Conclusion}

\bibliographystyle{plain}
\bibliography{thesis}

\end{document}
Last edited by Stefan Kottwitz on Wed Aug 17, 2011 10:48 pm, edited 1 time in total.

Recommended reading 2024:

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

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

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Re: TOC

Post by kaiserkarl13 »

Please post an example! (This is helpful, but also a board rule!)

1. I have no idea what you're asking for here. Surely you don't mean you want Appendix A11 to appear after Appendix A1 (11 does not follow 1). If you mean the first section is A.1, then a subsection A.1.1, then section A.2, etc, then the standard article class should do this (after you issue \appendix).

2. \renewcommand{\contentsname}{Table of Contents}

3. \documentclass[11pt]{article}

If you don't provide an example, we can't tell what's wrong, we can only speculate.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

TOC

Post by Stefan Kottwitz »

Hi,

since use babel rename the TOC heading this way:

Code: Select all

\addto\captionsenglish{\renewcommand{\contentsname}{Table of Contents}}
Add 11pt to the options:

Code: Select all

\documentclass[a4paper,11pt]{report}
And check the packages in your preamble, understand which you need.

Look at these three lines from your code:

Code: Select all

\usepackage[dvips, pdftex]{graphicx,color}
\usepackage{graphicx}%
\usepackage{graphicx,color}
You load graphicx three times, without options and with two contrary options. \usepackage{graphicx} should be sufficient, since it autodetects the driver.

Stefan
LaTeX.org admin
Post Reply