GeneralChapter titles

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Mikerada6
Posts: 42
Joined: Fri Oct 17, 2008 5:55 pm

Chapter titles

Post by Mikerada6 »

How do i make the code \chapter{Slope fields. Separation of Variables. Existence and uniqueness} read
Project 1 Slope fields. Separation of Variables. Existence and uniqueness

rather than:

Chapter 1 Slope fields. Separation of Variables. Existence and uniqueness

Thank you in advance for your help

Recommended reading 2024:

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

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

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Chapter titles

Post by Stefan Kottwitz »

Hi,

it depends on the document class you are using, this works for instance with book and report, but without babel:

Code: Select all

\renewcommand*\chaptername{Project}
Stefan
LaTeX.org admin
Mikerada6
Posts: 42
Joined: Fri Oct 17, 2008 5:55 pm

Chapter titles

Post by Mikerada6 »

and i assume to rename sections it would be

Code: Select all

\renewcommand*\sectionname{Problem}
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Chapter titles

Post by Stefan Kottwitz »

Is \sectionname defined by your document class? If not, that line above will just raise an error.

Stefan
LaTeX.org admin
Mikerada6
Posts: 42
Joined: Fri Oct 17, 2008 5:55 pm

Chapter titles

Post by Mikerada6 »

i am using

Code: Select all

\documentclass[openright]{book}
and the section is just "built in" i assume
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Chapter titles

Post by Stefan Kottwitz »

Yes, it doesn't have a name. If you want use more complicated titling/sectioning have a look at the titlesec package.

Stefan
LaTeX.org admin
Post Reply