3

So, basically I'm working on my memoir. TeX and LaTeX are rather new for me. I really looked everywhere to be able to design the same chapter heading as Walter Appel does in his brilliant book called "Mathematics For Physics and physicists !".

This is how it looks:

Chapter Headings From Walter Appel

I tried using the titlesec package like this:

\documentclass[11pt, a4paper,oneside]{book}
\usepackage{titlesec}
\titleformat{\chapter}[display]
  {\normalfont\huge\bfseries\centering}
  {\begin{adjustbox}{angle=90}\hbox{\chaptertitlename}\end{adjustbox}\ \color{gray}\thechapter}{20pt}{\Huge}  

But I don't know how I can make it look more like Walter Appel does.

I would really appreciate your help. Also, I apologize in advance for my bad English (I'm French) and for the code I provided which is rather not that advanced.

CarLaTeX
  • 62,716
simon0242
  • 43
  • 4
  • Somewhat related: https://tex.stackexchange.com/questions/23477/fancy-chapter-headings. Personally, I avoid titlesec. I don't need it, and it is much more complicated than the standard \chapter definitions. – John Kormylo May 03 '20 at 14:06

2 Answers2

4

Without using titlesec but with manually redefining the internal \@makechapterhead. This comes pretty close, the fonts differ and maybe the sizes aren't perfect.

\documentclass[11pt, a4paper, oneside]{book}

\usepackage[french]{babel}

\usepackage{duckuments}
\usepackage{xcolor}
\usepackage{graphics}

\colorlet{chapnum}{black!40}

\makeatletter
\renewcommand\@makechapterhead[1]
  {%
    \vspace*{50\p@}%
    \begingroup
      \centering
      \normalfont
      \bfseries
      \rotatebox{90}{\Large\sffamily\chaptername}
      \begingroup
        \scalebox{3.5}{\Huge\color{chapnum}\thechapter}\par\vskip10\p@
      \endgroup
      \interlinepenalty\@M
      \Huge
      #1\par
      \nobreak\vskip40\p@
    \endgroup
  }
\makeatother

\begin{document}
\chapter{Convergence et limites}
\blindduck

\duckument
\end{document}

enter image description here

Skillmon
  • 60,462
4

A simple solution with titlesec:

\documentclass[11pt, a4paper,oneside]{book}
\usepackage{graphicx}
\usepackage[svgnames]{xcolor}
\usepackage{titlesec}
\titleformat{\chapter}[display]
  {\normalfont\bfseries\Huge\filcenter}
{\sffamily\rotatebox{90}{\normalsize\chaptertitlename}\,\scalebox{2.24}{\color{Gainsboro}\thechapter}}
  {20pt} {}

  \begin{document}

    \chapter{Some Fancy Chapter}

  \end{document} 

enter image description here

Bernard
  • 271,350