Text Formattingfixed-width fonts for long tables

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
eswap0
Posts: 17
Joined: Tue Sep 28, 2010 8:40 pm

fixed-width fonts for long tables

Post by eswap0 »

Hi!
I am building long tables full of data, and think it would be better to use fixed-width fonts.
1. Which font would you recomend?
2. How can I set a fixed-widht type font for the whole document?
Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

fixed-width fonts for long tables

Post by Stefan Kottwitz »

Hi,

I like the monospaced font Inconsolata:
Inconsolata example
Inconsolata example
inconsolata.png (9.65 KiB) Viewed 3495 times
Regarding your second question, you could write in your preamble:

Code: Select all

\renewcommand*{\familydefault}{\ttdefault}
Stefan
LaTeX.org admin
eswap0
Posts: 17
Joined: Tue Sep 28, 2010 8:40 pm

Re: fixed-width fonts for long tables

Post by eswap0 »

Great, thanks a lot.
Post Reply