2

I'm relatively new to LaTeX, and I'm trying to find the right style for my PhD thesis. I want something simple and elegant, inspired by the layout of some books published by Oxford University Press.

Specifically, my goal is to get a chapter style that looks like this (including the chapter title style, the quote and if possible the indented section title style):

My ideal chapter style

I know that some of this can be done with the titlesec package in principle. However, I'm at a loss when it comes to actually writing to the corresponding code. I've tried to provide a MWE, but in that case I'm really not sure where to begin.

Any help would be greatly appreciated!

2

Here is a way to go:

\documentclass[12pt, a4paper]{report}%
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[lf]{ebgaramond}
\usepackage{geometry}
\usepackage[newlinetospace]{titlesec}%

\titleformat{\chapter}[display]{\fontsize{30pt}{36pt}\selectfont\filright}{\fontsize{36pt}{48pt}\bfseries\thechapter}{2ex}{}

\begin{document}
\setcounter{chapter}{1}

\chapter{The History of the Seven Families \\ of the Lake Pipple-Popple}

       In former days -- that is to say, once upon a time, there lived in the Land of Gramblamble, Seven Families. They lived by the side of the great Lake Pipple-popple (one of the Seven Families, indeed, lived in the Lake), and on the outskirts of the City of Tosh, which, excepting when it was quite dark, they could see plainly. The names of all these places you have probably heard of, and you have only not to look in your Geography books to find out all about them.

       Now the Seven Families who lived on the borders of the great Lake Pipple-popple, were as follows in the next Chapter.

\end{document} 

enter image description here

Added: if you want for the title a wider right margin (than that of the text), you can add a \parbox{some width} s the very last argument of \titleformat, like this:

 \titleformat{\chapter}[display]{\fontsize{30pt}{36pt}\selectfont\filright}{\fontsize{36pt}{48pt}\bfseries\thechapter}{2ex}{\parbox{0.75\textwidth}}

enter image description here

  • 1
    That's amazing, thank you so much! One small thing: would you know how to reduce the margins of the title (and the epigraph), as in the example I provided? And speaking of the epigraph, do you have a suggestion about the snippet of code I could use for that? Many thanks in advance! – random_grad_student May 24 '19 at 20:36
  • Do you mean have shorter margins for the title as compared to the margins of the document? As to the epigraph, you have Robert Wilson's excellent epigraph package (maybe you already used it?). – Bernard May 24 '19 at 21:13
  • Yes, that's exactly what I meant. I've found plenty of information to change the spacing before/after the title, but not the left/right spacing. Thanks, I'll check out the epigraph package! – random_grad_student May 25 '19 at 11:17
  • For the title margin problem, please see my update, – Bernard May 25 '19 at 11:55
  • Thank you Bernard! Is it possible at all to do the same with the left margin of the title, as in the example I provided? – random_grad_student May 25 '19 at 12:34
1

The memoir class, which encompasses the book, report and article classes and extends them provides some 29 different chapter styles; unfortunately your desired style is not among them but perhaps you would like one of those provided. If not then in the manual (> texdoc memoir) code is given for many of these and you could make your own.

The class also provides for epigraphs which you want to put after the chapter title.

For indenting the section title the class provides the macro \setsecindent{<length>} for setting the indent before section titles.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.