[OS X TeX] different lineheight again
Will Robertson
will at guerilla.net.au
Fri Jan 21 03:35:55 EST 2005
On 21 Jan 2005, at 6:51 PM, max wrote:
> I wonder if you can give me a tip on how to define different
> linespread on different "fontareas"
>
> I whant to have
> \linespread{2.5}
> in
> \newfont{\textOne}{phvrrn at 38 pt}
> and
> \linespread{1.5}
> in
> \newfont{\textTwo}{phvrrn at 16 pt}
You need to be using LaTeX, if I understand your request correctly:
\def\textOne{\fontfamily{phv}\fontsize{38}{95}\selectfont}
\def\textTwo{\fontfamily{phv}\fontsize{16}{24}\selectfont}
Read fntguide.pdf for font selection details in LaTeX.
In short,
\fontfamily{phv} chooses Helvetica,
\fontsize{38}{95} chooses 38 pt type with 95pt baseline skip,
and
\selectfont does what it says :)
Hope that helps,
Will
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the MacOSX-TeX
mailing list