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 do I make Arev the font for the sans-serif family, but nothing else? I tried using

\usepackage{arev}
\usepackage[T1]{fontenc}

as instructed on this page, but that made everything sans-serif. I want the body of my text and everything from math mode and stuff to be roman, specifically Antiqua. Anywhere where I havent specified

\sffamily

I want to be in something different from Arev.

I have tried coming up with a solution using different ways, but none got me all the way where I wanted, and most were quite messy. Anyone know of a quick fix? Doesn't sound like it should be that hard.

share|improve this question
1  
Welcome to TeX.SX! Use \renewcommand{\sfdefault}{fav} instead of \usepackage{arev}, which is quite a “greedy” package. –  egreg Apr 29 at 9:37
add comment

1 Answer 1

up vote 4 down vote accepted

The package arev is “greedy”: it changes everything to (the Arev clone of) the Vera Sans font.

The arevtext.sty package essentially does

\renewcommand{\rmdefault}{fav}
\renewcommand{\sfdefault}{fav}
\renewcommand{\ttdefault}{fvm}

and you just need the second line. So

\documentclass{article}
\usepackage[T1]{fontenc}

\renewcommand{\sfdefault}{fav}

should do what you want.

share|improve this answer
    
Thanks a bunch! I also wanted to try the Gillius package, but this one also seems to be fairly greedy. However, I can't make out anything by reading its .sty files. Any ideas? –  Delta t Apr 30 at 8:45
1  
@Deltat gillius should act only on the sans serif family, if not called with the default option. So \usepackage{gillius} should work. –  egreg Apr 30 at 9:03
    
Thanks again, you have cured me of much headache! –  Delta t Apr 30 at 10:01
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.