Search found 8 matches

by perl0101
Tue Sep 01, 2009 4:33 pm
Forum: General
Topic: How to wrap a word containing a slash character?
Replies: 2
Views: 2182

How to wrap a word containing a slash character?

Hello everyone,

How can I wrap a word in an abstract containing a slash character, for example, cat/dog? Now this kind of word can not be wrapped around. They are too long for a line.

Thanks in advance
by perl0101
Sat Aug 29, 2009 6:53 pm
Forum: General
Topic: Indent Problem in Table of Contents
Replies: 11
Views: 11448

Re: Indent Problem in Table of Contents

I sovle the problem by adding :

\renewcommand{\cftchapnumwidth}{6em}

from one previous post here.
by perl0101
Sat Aug 29, 2009 6:08 pm
Forum: General
Topic: Indent Problem in Table of Contents
Replies: 11
Views: 11448

Re: Indent Problem in Table of Contents

The relevant code in .cls I find is the following. I would like to get suggestions to overcome this problem. Thanks.

\ifnum \c@secnumdepth >\m@ne
\refstepcounter{chapter}%
\typeout{\@chapapp\space\thechapter.}%
\addcontentsline{toc}{chapter}%
{\protect\numberline{\@chapapp\space\thechapter}#1 ...
by perl0101
Sat Aug 29, 2009 2:39 pm
Forum: General
Topic: Indent Problem in Table of Contents
Replies: 11
Views: 11448

Indent Problem in Table of Contents

Hello everyone,

I met one problem with TableOfContent. The indent of the first level is not correct. For example, Chapter 1 Introduction is overlap. I guess it is the problem of \numwidth. But how to solve it. Please help. Thanks.

Image
by perl0101
Sat Aug 29, 2009 4:57 am
Forum: General
Topic: How to change prefix of numbers in ListOfTable or ListOfFigu
Replies: 7
Views: 8378

Re: How to change prefix of numbers in ListOfTable or ListOfFigu

Thank you, Gmedia.

I follow your suggestion by replacing subfigure package with subfig package and using the sample code you provided. The problems in ListOfTable and ListOfFigures are solved.

But in Table Of Contents, the first level title, such as, Chapter1 Introduction, is still overlap. Could ...
by perl0101
Sat Aug 29, 2009 4:31 am
Forum: General
Topic: How to change prefix of numbers in ListOfTable or ListOfFigu
Replies: 7
Views: 8378

Re: How to change prefix of numbers in ListOfTable or ListOfFigu

I add 3 lines listed as follows. The prefix problem is solved. But new problem comes out. The title in Table of Content, List of Figures, and List of Tables are overlapped. How to solve this problem?

\usepackage[subfigure]{tocloft}
\renewcommand\cftfigpresnum{Figure }
\renewcommand\cfttabpresnum ...
by perl0101
Sat Aug 29, 2009 4:12 am
Forum: General
Topic: How to change prefix of numbers in ListOfTable or ListOfFigu
Replies: 7
Views: 8378

Re: How to change prefix of numbers in ListOfTable or ListOfFigu

More information:

The error messages are the following:

("C:\Program Files\MiKTeX 2.7\tex\latex\graphics\dvips.def"))) (subfigure.sty

! LaTeX Error: Command \c@lofdepth already defined.
Or name \end... illegal, see p.192 of the manual.

See the LaTeX manual or LaTeX Companion for explanation ...
by perl0101
Sat Aug 29, 2009 4:05 am
Forum: General
Topic: How to change prefix of numbers in ListOfTable or ListOfFigu
Replies: 7
Views: 8378

How to change prefix of numbers in ListOfTable or ListOfFigu

Hello everyone,

I have one question. I want to change the prefix of numbers in List Of Table or List Of Figure. For example, from 1.1 to Figure 1.1 or Table 1.1. I tried the commande \usepackage{tocloft}. But there are a lot of errors and does not work. How can I do it?

thanks for your advice.