[OS X TeX] special font for tables in document

Herbert Schulz herbs at wideopenwest.com
Sat Feb 24 13:48:10 EST 2007


On Feb 24, 2007, at 12:18 PM, Gert van Oss wrote:

> hi all,
> I'm writing my Latex documents with Textmate and always use just  
> the standard font (I assume). I recently found out that I can use  
> different fonts as well and I would like to make use of that in my  
> tables. I'd like more 'straight' numbers. What I mean is that for  
> example the 7 in my setup (I've no idea which font it is) has a  
> sort of 'curved' leg. I prefer to have a different formatting, a  
> more straight leg.
> I managed to get there by choosing the setup as written in the  
> 'sample doc' below. I put something like:
>
> \renewcommand{\rmdefault}{ptm}
>
> Above the table. However if I start writing below the table I would  
> like the initial font to appear again. Maybe someone can advice me  
> how to achieve this?
> Thanks for any reply,
> Gert ...

Howdy,

Try placing an opening brace ({) just before the \renewcommand... and  
a closing brace (}) just after the \end{table}. That should localize  
the change in font to that group, i.e., everything between the brace  
set.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)



------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/





More information about the MacOSX-TeX mailing list