Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How to use the \substitutefont in the normal font?

I need substitute cmr (\familydefault) to yvo (Venturis ADF Old) but is no work.

\documentclass[a4paper]{article}
\usepackage{parskip}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lipsum}
\usepackage{substitutefont}

% Normal
\substitutefont{T1}{cmr}{yvo} % Venturis ADF Old

% Sans Serif
\substitutefont{T1}{cmss}{pzc} % Zapf Chancery

% Monospaced
\substitutefont{T1}{cmtt}{phv} % Helvetica

\begin{document}

\textbf{Normal}

\lipsum[1]

\textbf{Sans}

\textsf{\lipsum[1]}

\textbf{TT}

\texttt{\lipsum[1]}

\end{document}

enter image description here

share|improve this question
    
I just noticed that you have some questions that have received answers but you haven't accepted any of them. Please consider revisiting those questions and accepting the answer that best solved your problem. I know that you've accepted answers to most of your questions; this is just a reminder for the other ones ;-) (Please forgive me if I bother you with this.) –  Gonzalo Medina Aug 19 '12 at 0:58
    
ok, is that it took me a while to test, has no problem remembering, thank you. –  Regis da Silva Aug 19 '12 at 23:57
add comment

1 Answer

up vote 4 down vote accepted

You basically can't for the standard size. The default font should be specified by changing \rmfamily:

\renewcommand{\rmfamily}{yvo}

In the case of Venturis ADF it's better to say

\usepackage[<options>]{venturis}

(see the package documentation for the <options>).

share|improve this answer
    
Thank you egreg. –  Regis da Silva Aug 19 '12 at 23:58
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.