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
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 ;-)
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Font substitution warnings during compilation
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: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
Font substitution warnings during compilation
Code: Select all
\usepackage{vicent}
\usepackage[OT1]{fontenc}
Stefan
Font substitution warnings during compilation
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
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: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Font substitution warnings during compilation
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
Font substitution warnings during compilation
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: 10361
- 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
- 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.
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".