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.

I'd love to exchange the "obsolete" utopia package against the fourier package for a couple of reasons. Unfortunately, the Utopia font in the fourier package renders much smaller compared to the utopia package. This looks especially bad when combined with the avant package.

Here is a (very) minimal example:

\documentclass[a5paper,12pt]{article}

\usepackage{avant}
\usepackage{utopia}  % exchange for "fourier" to see the differences

\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{sectsty}
\allsectionsfont{\sffamily}

\begin{document}

\section{Section title}

Paragraph with a single \textsf{sans-serif} word.

\blindtext{}

\subsection{Subsection title}

\blindtext{}

\end{document}

Look for the size differences between headings and paragraphs as well as the different size of the word sans-serif in the first paragraph.

How can I enlarge the Utopia font in fourier to get rid of the problem? Or do you know of other ways to tackle the problem?

EDIT: Sorry, I forgot to add the package sectsty, so the headings were printed in serifs.

share|improve this question
    
using sectsty makes no difference to my solution with using the tex gyre fonr adventor, which is the free type 1 variant of the non free avantgarde –  Herbert Dec 22 '10 at 8:07
    
@Herbert: I was wondering why you recommended a quite different-looking font, only to find out that it had serifs, looked much like Utopia - and that my headings were not printed in sans-serif. So that's why I edited my question. –  mzuther Dec 22 '10 at 10:24
add comment

2 Answers

\documentclass[a5paper,12pt]{article}
\usepackage[T1]{fontenc}

\usepackage{tgadventor}
\usepackage{fourier}
\def\fourierScale{s*[1.2]}   
\usepackage[english]{babel}
\usepackage{blindtext}

\begin{document}

\section{Section title}

Paragraph with a single \textsf{sans-serif} word.

\blindtext{}

\subsection{Subsection title}

\blindtext{}

\end{document}

alt text

share|improve this answer
    
Thanks! I really like your solution, but it unfortunately only works with this special combination of fonts. What I'm really looking for is a way to enlarge Utopia, not scale AvantGarde down. :) –  mzuther Dec 22 '10 at 10:19
    
replace the three t1fut* files from texnik.dante.de/misc with your files, then you get a scaled fourier. In your documents preamble you can also modify the scaling with \def\fourierScale{s*[1.2]}. The result of this setting is seen in my edited answer –  Herbert Dec 23 '10 at 20:47
add comment

You can experiment with the \scalefont command from the scalefnt package:

\documentclass[a5paper,12pt]{article}
\usepackage{scalefnt}
\usepackage{avant}
\usepackage{fourier}  % exchange for "fourier" to see the differences
\usepackage[english]{babel}
\usepackage{blindtext}

\begin{document}

\section{Section title}

Paragraph with a single {\scalefont{0.8}\textsf{sans-serif }} word.

\blindtext{}

\subsection{Subsection title}

\blindtext{}

\end{document}
share|improve this answer
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.