LyXAdding the word Chapter in the ToC

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
lepagano
Posts: 12
Joined: Tue Dec 22, 2009 1:42 am

Adding the word Chapter in the ToC

Post by lepagano »

Hi,

I have seen a few posts about this, but I need the word Chapter to be on the same line as the Chapter number and name.

For example:
1 Introduction.............................................1

I need to look like:
Chapter 1 Introduction.....................................1

Can this be done?? Any help would be greatly appreciated.

Regards,

Lara

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

lepagano
Posts: 12
Joined: Tue Dec 22, 2009 1:42 am

Adding the word Chapter in the ToC

Post by lepagano »

Answering my own post thanks to another post I recently found:

Code: Select all

\usepackage{tocloft}

\renewcommand{\cftchapfont}{\bfseries}
\renewcommand{\cftchappagefont}{\bfseries}
\renewcommand{\cftchappresnum}{Chapter }
\renewcommand{\cftchapaftersnum}{:}
\renewcommand{\cftchapnumwidth}{6em}
Post Reply