Fonts & Character SetsCustomizing font and title (memoir + titlesec)

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

Customizing font and title (memoir + titlesec)

Post by shankar_kizzie »

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
Capture02.JPG (13.46 KiB) Viewed 4271 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Customizing font and title (memoir + titlesec)

Post by Ijon Tichy »

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.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply