General ⇒ Font substitution warnings during compilation
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Font substitution warnings during compilation
n indeed stands for normal, chancery (or better chorus) is a calligraphic font and does not exist as normal, but only in italics (it). LaTeX uses the next best font, as explained earlier.
WHat a good font for an epigraph is? Depends and it is your decision in the end. What might be ok for a childrens book might not be appropriate for a newspaper or a history book about the second world war.
But that is a design decision, i am the wrong person to ask here ;-)
WHat a good font for an epigraph is? Depends and it is your decision in the end. What might be ok for a childrens book might not be appropriate for a newspaper or a history book about the second world war.
But that is a design decision, i am the wrong person to ask here ;-)
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
NEW: TikZ book now 40% off at Amazon.com for a short time.

Font substitution warnings during compilation
Ok then, how would you edit the previous epigraph code ? This one below ?
Notice that I've removed some parts that appear to be useless.
I also would like to try this font, but I don't know how (just for the epigraphs) : http://www.tug.dk/FontCatalogue/vicentino/
I don't know how to edit the code above. When I tried the
Or else, how do you use the Chorus font in that epigraph ?
Code: Select all
\usepackage{epigraph}
\renewcommand{\textflush}{flushleft}
\setlength{\epigraphrule}{0pt}
\newcommand*{\chancery}{\usefont{T1}{qzc}{m}{it}\selectfont}
\newcommand{\epig}[2]{\epigraphhead[70]{\epigraph{\chancery{#1}}{\chancery{#2}}}}
I also would like to try this font, but I don't know how (just for the epigraphs) : http://www.tug.dk/FontCatalogue/vicentino/
I don't know how to edit the code above. When I tried the
\modernscriptshape
font, it doesn't work.Or else, how do you use the Chorus font in that epigraph ?
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Font substitution warnings during compilation
You need to load the package and to activate the required encoding:
Encoding could be switched for that. Just, no T1 and no Type 1 doesn't seem to be so good.
Stefan
Code: Select all
\usepackage{vicent}
\usepackage[OT1]{fontenc}
Stefan
LaTeX.org admin
Font substitution warnings during compilation
Adding these two lines of code gives me a compilation error !
I guess that's because that font isn't part of my LaTeX standard installation, is that right ?! LaTeX Error: File `vicent.sty' not found.
Font substitution warnings during compilation
If I try this instead, it works, but it changes all my document globally, not just the epigraphs :
The problem is to load a new font just for the epigraphs, without changing anything else.
Here's the MWE code again, to be edited to use the chorus font (just for the epigraphs) :
Code: Select all
\usepackage{tgchorus}
\usepackage[OT1]{fontenc}
Here's the MWE code again, to be edited to use the chorus font (just for the epigraphs) :
Code: Select all
\documentclass[12pt,letterpaper,twoside]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[french]{babel}
\usepackage{epigraph}
\renewcommand{\textflush}{flushleft}
\setlength{\epigraphrule}{0pt}
\newcommand*{\chancery}{\usefont{T1}{qzc}{m}{it}\selectfont}
\newcommand{\epig}[2]{\epigraphhead[70]{\epigraph{\chancery{#1}}{\chancery{#2}}}}
\begin{document}
\chapter{test}
\epig{This is an epigraph}{John Doe}
\end{document}
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Font substitution warnings during compilation
Sure, you need to use the font locally, should work. I just cannot test right now.
Sober books have a certain set of fonts for some purposes, such as for body text, headings, emphasizing, code. I can imagine that epigraphs do emphasizing, but consistent with the rest of the document, so italic, and the default italic family should be defined.
Stefan
Sober books have a certain set of fonts for some purposes, such as for body text, headings, emphasizing, code. I can imagine that epigraphs do emphasizing, but consistent with the rest of the document, so italic, and the default italic family should be defined.
Stefan
LaTeX.org admin
Font substitution warnings during compilation
I don't see how to edit the code above to use the Chorus font in the epigraphs alone.
I need a code example.
EDIT : My epigraphs aren't for emphasizing. They are just some amuzing citations or poems from a famous personn, before introducing a new subject.
I need a code example.
EDIT : My epigraphs aren't for emphasizing. They are just some amuzing citations or poems from a famous personn, before introducing a new subject.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Font substitution warnings during compilation
Yes, I thought so. I said so before because I know often documents use a set of fonts, and choose from that set depending on the purpose. Such as italic for emphasizing, bold for headings, monospace for code, one font for each. So maybe not using some very different font locally, but choosing from the font family set.Cham wrote:My epigraphs aren't for emphasizing.
Stefan
LaTeX.org admin
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Font substitution warnings during compilation
Cham wrote:I don't see how to edit the code above to use the Chorus font in the epigraphs alone.
You are, you are just calling the switch chancery, which will be more than missleading and confusing in the future.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Font substitution warnings during compilation
Ok, I now understand :Johannes_B wrote: You are, you are just calling the switch chancery, which will be more than missleading and confusing in the future.
You mean that "qzc" is already the "Chorus" font itself, and not "Chancery".