« Old posts? | Main | CoinOr CLOP for Matlab »

Latex Presentation Fonts

I don't like the standard beamer fonts in LaTeX for linear algebra presentations.  I find the "I" as a big vertical line quite annoying.  Previously, I used the lxfonts set, which has gorgeous characters.  However, lxfonts is too "wide" and makes long equations slightly challenging.

The arev package is a nice compromise: it has a nice I glyph.  Continue reading for some screenshots.

Let’s start with the new arev fonts. 

image

 

The next set is my old preference.  It’s the lxfonts set for math, with Myriad Pro semi-bold for text.  I think this makes a really nice presentation, but the equations are fairly wide.

image

TrackBack

TrackBack URL for this entry:
https://www.stanford.edu/~dgleich/cgi-bin/mt/mt-tb.cgi/18

Comments (5)

Michael:

Hi,
How did you use Myriad Pro semi-bold for text?

[Answer from David:
use xelatex and


\usepackage[no-math]{fontspec}
\usepackage{xunicode,xltxtra}
\setmonofont[Scale=MatchLowercase,Numbers=Monospaced]{Bitstream Vera Sans Mono}
\defaultfontfeatures{Numbers=OldStyle}
\defaultfontfeatures{Ligatures=NoCommon}
\setsansfont[BoldFont=Myriad Pro Semibold]{Myriad Pro}
]

Alfonso:

Hi David,

I agree with you. Myriad pro for text and lxfonts set for math look nice.

why dont you scale down lxfonts slighty to match the x-height of both families?

For example, use the following code

\DeclareFontFamily{OML}{llcmm}{\skewchar\font'177}
\DeclareFontShape{OML}{llcmm}{m}{it}{s*[0.915] lcmmi8}{}
\DeclareFontShape{OML}{llcmm}{bx}{it}{s*[0.915] lcmmib8}{}

% Encoding: OMS

\DeclareFontFamily{OMS}{llcmsy}{\skewchar\font'60}
\DeclareFontShape{OMS}{llcmsy}{m}{n}{s*[0.915] lcmsy8}{}
\DeclareFontShape{OMS}{llcmsy}{bx}{n}{s*[0.915] lcmbsy8}{}

% Encoding: OMX

\DeclareFontFamily{OMX}{llcmex}{}
\DeclareFontShape{OMX}{llcmex}{m}{n}{s*[0.915] lcmex8}{}

Regards, Alfonso

Alfonso:

Hi,

I did a mistake in the code

Each s*[0.915] should read s*[0.915]

Regards, Alfonso

Here are the corrected statements to use the scaled lxfonts. It looks like Movable Type was eating them.

\DeclareFontFamily{OML}{llcmm}{\skewchar\font'177}
\DeclareFontShape{OML}{llcmm}{m}{it}{<->s*[0.915] lcmmi8}{}
\DeclareFontShape{OML}{llcmm}{bx}{it}{<->s*[0.915]lcmmib8}{}
%
%% Encoding: OMS
%
\DeclareFontFamily{OMS}{llcmsy}{\skewchar\font'60}
\DeclareFontShape{OMS}{llcmsy}{m}{n}{<->s*[0.915]lcmsy8}{}
\DeclareFontShape{OMS}{llcmsy}{bx}{n}{<->s*[0.915]lcmbsy8}{}
%
%% Encoding: OMX
%
\DeclareFontFamily{OMX}{llcmex}{}
\DeclareFontShape{OMX}{llcmex}{m}{n}{<->s*[0.915]lcmex8}{}

After trying them out, I still find them just a bit too wide.

Good article thanks...

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on November 9, 2008 12:19 PM.

The previous post in this blog was Old posts?.

The next post in this blog is CoinOr CLOP for Matlab.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34