GeneralProblem with Chapters

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
GMathews
Posts: 24
Joined: Sat Jun 14, 2008 7:01 pm

Problem with Chapters

Post by GMathews »

Hi

I use the /chapter{Introduction} in my report class but the output gives the text

Chapter1
Introduction

There is also a huge amount of text between Chapter 1 and Introduction. The problems are :

1. How to make Chapter 1=Introduction so it only prints Introduction without the chapter 1,
2. Controlling space between Chapter1 and the section titles.

Thanks
Running Miktex 2.7 with TexnicCenter on Windows XP
:)

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with Chapters

Post by localghost »

All your questions should be answered by taking a look at the KOMA Script bundle. Perhaps the memoir class could be an additional alternative. Refer to the corresponding documentations. In case of further questions, feel free to ask.


Best regards
Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Problem with Chapters

Post by Stefan Kottwitz »

Hi GMatthews,

if you cannot use KOMA-classes or memoir, both problems can be solved with the titlesec package.
For example:

Code: Select all

\usepackage{titlesec}
\titleformat{\chapter}
{\normalfont\Huge\bfseries}{\thechapter}{20pt}{\Huge}
\titlespacing*{\chapter} {0pt}{30pt}{20pt}
For an explanation, more features and examples have a look at the titlesec documentation.
In general I recommend the KOMA class scrreprt too, like Thorsten already advised. It provides a lot of features and is very well documented.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with Chapters

Post by localghost »

The idea of Stefan is much better than mine. I suggest to follow his advice and add the package with his code example.
GMathews
Posts: 24
Joined: Sat Jun 14, 2008 7:01 pm

Re: Problem with Chapters

Post by GMathews »

LOL i figured my way through the Koma script - thanks though :D
Running Miktex 2.7 with TexnicCenter on Windows XP
:)
maca22
Posts: 1
Joined: Mon May 07, 2007 1:07 pm

Re: Problem with Chapters

Post by maca22 »

Thanks fellas,

You solved this problem for me aswell.
Post Reply