# Left justifying chapter name while chapter number is right justified

Considering the following code:

\documentclass{book}
\usepackage{fullpage}
\usepackage[english]{babel}
\usepackage[avantgarde]{quotchap}

\begin{document}
\chapter{Introduction}
\end{document}


How can we left justify the chapter name only?

• Where should the chapter number go to then? Left justified to what?
– user31729
Aug 3 '15 at 10:54
• I simply need chapter number to appear on its default position i.e. on right side of the page while moving the chapter name to left side of the page. Aug 3 '15 at 10:56
• What does quotchap documentation say about this?
– user31729
Aug 3 '15 at 11:01
• I am not sure about this but even if I remove fillpage package, chapter name and chapter number appear on right side of the page except the overall size of the page is decreased. Aug 3 '15 at 11:01
• Assuming the chapter name and number fit on the same line, should they in fact be set on the same line? Or do you want to preserve the default vertical positioning, viz., chapter number on a line by itself and above the chapter name?
– Mico
Aug 3 '15 at 11:03

Patch the redefined \@makechapterhead to have \raggedright in the right place:

\documentclass{book}
\usepackage{fullpage}
\usepackage[english]{babel}
\usepackage[avantgarde]{quotchap}
\usepackage{etoolbox}

\makeatletter

• @Shahzad Sorry, but I don't understand. If you do \input{file} and file.tex contains \chapter{Title}, there should be no difference at all. Aug 3 '15 at 11:37