## LaTeX forum ⇒ Fonts & Character Sets ⇒ Customizing font and title (memoir + titlesec)

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
shankar_kizzie
Posts: 2
Joined: Sun Aug 30, 2020 6:51 pm

### Customizing font and title (memoir + titlesec)

Greetings.

In the attachment, one can see a screenshot with a subsection.
In it, the title is written in italics, and the number is in normal font.
It would be great to know:
1. Which font is the title?
2. Which font is the number?
3. How to achieve these separate treatments for the title and the number?

What I have tried. I used some advice from StackOverflow to figure out the font
is most likely Garamond. Also, I've used `memoir` class, `titlesec` package
to customize the subsection titles as follows:
`\titleformat*{\subsection}{\itshape}`.
However, this changes the section number's shape as well.
I also used `\usepackage{CormorantGaramond}`. Somehow, I can feel my subsection's name in italics is somehow
less "saturated" or "dense".

How to solve the above 3 problems?

Thanks.
Attachments
Capture02.JPG (13.46 KiB) Viewed 217 times

Ijon Tichy
Posts: 314
Joined: Mon Dec 24, 2018 10:12 am
I never used memoir, but AFAIK you should not use titlesec with memoir. memoir has its own interface to change the formatting of the headings. See section 6.6 in the memoir manual.