TransWikia.com

Chapter Number replaced by chapter name

TeX - LaTeX Asked on September 14, 2020

I would like to have this style
enter image description here
instead of
enter image description here

How would one achieve this? I am using usepackage[md,sc]{titlesec} to make the section titles small-caps style.

EDIT: "I" in my first picture is "1" written in this particular way (probably some non-standard font?).
And the md, sc options do exist in titlesec:
enter image description here

One Answer

This comes pretty close. There was no need to specify options for the titlesec-package:

documentclass{report}
usepackage{ebgaramond}
usepackage[T1]{fontenc}
usepackage{blindtext, color}
usepackage{titlesec}

definecolor{gray75}{gray}{0.75}

titleformat{chapter}[hang]%
    {scshapeHuge}%
    {textcolor{gray75}{fontencoding{U}fontfamily{eur}fontseries{b}selectfontthechapter}%
    hspace{10pt}%
    vrule width.5pt depth0.1ex%
    hspace{10pt}}%
    {0pt}%
    {Large}

begin{document}
chapter{Introduction}
Blindtext[3]
end{document}

fancy chapter

Correct answer by phil-elkabat on September 14, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP