[Tugindia] Contents, List of Figures etc.

Duvvuri Venu Gopal venugopal_duvvuri at rediffmail.com
Mon Sep 8 06:19:45 CEST 2008


  
One of my student is preparing her thesis using "thesis.cls"

The following is the preamble of her main .tex file:

\documentclass[a4paper,openany,noupper,nocenter,12pt]{thesis}

\usepackage{graphicx,mhchem,amstext,fancyhdr,amsmath}

\usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}

\usepackage{array,enumerate,}

%\usepackage{times,color,makeidx}

\usepackage[authoryear,round,colon,comma,sort]{natbib}
\usepackage{setspace,longtable}
\usepackage[below]{placeins} 
\usepackage{multicol,multirow,rotating,afterpage}
%\makeindex

The problem is in the list of figures, list of tables and in contents the chemical formulae are not properly formatting (i.e., extending in to the margins). Previously the chemical formulae are not coming in the table of contents (errors occuring), but with the latest packages (ProTeXt 2.7 - Windows) this problem is solved.

example of title:

 \chapter{SYNTHESIS AND CHARACTERIZATION OF THE SYSTEM \ce{(Ba_{1-x}La_x) (Ti_{0.85-x}Co_xSn_{0.15})O_3}}

This was solved with the following :

 \chapter[SYNTHESIS AND CHARACTERIZATION OF THE SYSTEM \\ \ce{(Ba_{1-x}La_x) (Ti_{0.85-x}Co_xSn_{0.15})O_3}]{SYNTHESIS AND CHARACTERIZATION OF THE SYSTEM \ce{(Ba_{1-x}La_x) (Ti_{0.85-x}Co_xSn_{0.15})O_3}}

Example of figure :

\begin{figure}[ht]
	\centering
		\includegraphics[height=20cm]{BLTCSfig/xrdbltcs.eps}
	\caption[X-ray diffraction pattern for (a) x=0.01, (BLTCS1) (b) x=0.03, (BLTCS3) and (c) x=0.05, (BLTCS5) respectively in the system $(Ba_{1-x}La_x)(Ti_{0.85-x}Co_xSn_{0.15})O_3$]{X-ray diffraction pattern for (a) x=0.01, (BLTCS1) (b) x=0.03, (BLTCS3) and (c) x=0.05, (BLTCS5) respectively in the system $(Ba_{1-x}La_x)(Ti_{0.85-x}Co_xSn_{0.15})O_3$}
	\label{xrdbltcs}
\end{figure}

As previously the \ce (from mhchem) is giving trouble she avoided using it in (i) \chapter \section etc., \caption of table and figures. Instead she used the $ $ convention.

Any suggestions will be highly appreciated.

Venu Gopal



More information about the tugindia mailing list