Friday, October 9, 2009

LATEX: Font Style

Crash Course in Latex
http://www.haptonstahl.org/latex/basics_formatting.php
  • avant
  • bookman
  • chancery -- this is a nice flowing font
  • charter
  • courier
  • helvet (helvetica) -- this only changes the monospace font, and I don't know when that is used
  • lucida
  • newcent (new century)
  • palatino - great everyday font, very readable
  • pslatex
  • punk -- silly font
  • times (time new roman)
  • utopia
All of these worked for me just by putting a line like this in the header
\usepackage{avant}
The font is automatically set for the whole document.

Sunday, October 4, 2009

LATEX: Miktex and cwtex installations

It used to be trivial, but this time it takes me more than five hours.
Tips are as the following:
  1. Edit c:\autoexec.bat. Change all d:\ to be c:\ if disk D is not a writable hard drive.
  2. Make sure the Miktex folder is not 'read-only.'
  3. Change cwps.bat file to set gsview in a correct path. (if the path of gsview in bat files is not set correctly.)
Then, have fun! (0rz...)