Fonts & Character SetsKOMA-Script | Custom Font for Headings

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
ewk
Posts: 2
Joined: Tue May 01, 2012 4:50 pm

KOMA-Script | Custom Font for Headings

Post by ewk »

Hi all,

First of all, I'm new here and I hope that I "Fonts and character sets" is the correct position for my thread. I have the following problem:

I want to create a document looking a bit old-style, but not too much. For this purpose, I want to have all headings appear in Auriocus Kalligraphicus. The problem is that for this I need the abbreviation of the font, don’t I?
For "French cursive", I found by chance somewhere in the web that the abbreviation was "frc" so I could set the headings with these lines.
Auriocous Kalligraphicus: http://www.tug.dk/FontCatalogue/aurical/

Code: Select all

\newcommand{\changefont}[3]{
\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}

\setkomafont{sectioning}{\changefont{frc}{m}{n}}
Is it possible that I do always need the abbreviation like "frc" to use a font? And if yes, Why isn’t the abbreviation somewhere on the internet (This already hints that I do not always need it I think?).

I hope my question is not too stupid, but it’s the first document in which I want to use non-computer-modern fonts, so I never had that problem before.


cheers,
ewk

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

KOMA-Script | Custom Font for Headings

Post by Stefan Kottwitz »

Hi ewk,

welcome to the board!

Authors usually don't need the abbreviations. Commonly they use a style file, i.e. load a package which provides a font, and loading it already activates the font. Font packages sometimes provide own commands, and that is the case here. So you can do:

Code: Select all

\usepackage{aurical}
\setkomafont{sectioning}{\Fontauri\bfseries}
Stefan
LaTeX.org admin
ewk
Posts: 2
Joined: Tue May 01, 2012 4:50 pm

Re: KOMA-Script | Custom Font for Headings

Post by ewk »

Hi Stefan,

Thank you, I was quite a bit desperate this afternoon :D In every tutorial for Dropcaps, KOMA etc. they always use these abbreviations... like this, it’s quite much easier!

cheers,
ewk
Post Reply