Hello everybody,
the document class i'm writing is a book. I am using the quotchap package for the titles of my sections as I like them too much but using them my figure index, tables index and so on get affected. I would like the all the sections that are not chapters (as the ones enumered) to maintain the inicial settings.
I'm getting mad trying to solve it... you'd now realise I am not any good at it... but please any help would save my life by now.
Thank you very very much to all you!
Document Classes ⇒ Two types of title
NEW: TikZ book now 40% off at Amazon.com for a short time.

Two types of title
Check what "initial" settings are, and then use titlesec package to redefine them for certain parts of your document (in this case, for TOC and LOF). E.g.:
Code: Select all
\documentclass{book}
\usepackage{lipsum}
\usepackage{titlesec}
\usepackage{quotchap}
\begin{document}
{% don’t forget this curly brace
\titleformat{\chapter}{\huge\bfseries}{}{0pt}{}
\tableofcontents
\listoffigures
}% don’t forget this curly brace
\chapter{A chapter}
\begin{figure}\centering
\rule{3cm}{2ex}
\caption{A figure}
\end{figure}
\lipsum[1-2]
\section{A section}
\lipsum[1-2]
\end{document}
Re: Two types of title
Thank you really much!! It is already solved!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Two types of title
Now that the problem is obviously solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10