I have bought and installed the font family Frutiger according to https://www.tug.org/fonts/fontinstall.html TexLive on Windows.
Now I would like to set Frutiger as the font for headings (sections and subsections, maybe subsubsections too) and Computer Modern as the font for anything else (text, captions, table of contents, etc.)
How do I do this in LaTeX? My current document looks like this:
\documentclass[a4paper]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{frutiger}
\begin{document}
\section{Section}
Text \textbf{text}
\subsection{Subsection}
Text
\end{document}
\usepackage{frutiger}
uses frutiger.sty
with the following content (I found it on the Internet because I didn't have it while installing the font):
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{frutiger}
[2005/08/08 v1.2 Style file for Linotype Frutiger]
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\DeclareOption{lining}{\renewcommand*{\rmdefault}{lfrx}}
\DeclareOption{oldstyle}{\renewcommand*{\rmdefault}{lfrj}}
\ExecuteOptions{oldstyle}
\ProcessOptions\relax
%%
%% End of file 'frutiger.sty'
If it has to be specified, I'd use "Frutiger 57 Condensed" for headings, found in this document: http://mirror.jmu.edu/pub/CTAN/fonts/psfonts/w-a-schmidt/pfr.txt
If there is a template to set headings and continuous text, how would I have to define right the opposite of my question: Headings in Computer Modern Sans and text in Frutiger with bold using "Frutiger 65 Bold" from the above url?
Best Answer
I found your question because I just had... the same question!
I am using LaTeX standard Helvetica (it's not 100% equal to the original one I guess) since I don't own Frutiger. But you can just look at the
FontName.pdf
file for the abbreviation of Frutiger (Thanks David Carlisle for the light on this great file). It should be something likeftr
orftb
.To keep Computer Modern for the whole text you don't need to change anything, it's already the default. As you mention sans, then just add:
If you are using KOMA-script it's recommended to use the following:
Refer to section 3.2 KOMA-Script
You can also use the
titlesec
package, as the following:To customize it like I did refer to section 3 titlesec. I adapted the code from this answer.
If you giveup KOMA-script then it's possivle to use the
sectsty
package.If you want the otherway around just add:
And replace
phv
withcmss
on any of the above codes.Another site I relay for quick reference on simple latex things is LaTeX Wikibook.
Hope this helps you, even been 3 months later.