## Writing papers using LaTeX

These are some random tips that I always forget, because I don't write enough papers :(

Run dvips -t letter -Ppdf in order to use letter-size paper instead of A4, and to use high-resolution fonts so the resulting PDF file won't look blurry (a problem with old versions of Acrobat reader).

To make a figure, use Xfig or Winfig to create a Postscript (EPS) file, then use \includegraphics in Latex. You can use the Latex package psfrag to substitute math expressions into the figure.

Or, use JPicEdt to generate code for PSTricks, which can be inserted directly into the Latex source file.

AutoHotkey is a handy utility that automates keystrokes and other tasks. Here are some keyboard shortcuts for LaTeX:

;HotkeysforLaTeX
;--Yi-Kai,12/20/13

#KeyHistory0;Disablekeyhistory

F1::^x;Control-X
F2::^c;Control-C
F3::^v;Control-V
;don'ttouchF4,it'salreadyusedinAlt-F4

F5::Send+4+4{Left};andmovecursorinbetween
F6::+6;^

F9::Send+9+0{Left};()andmovecursorinbetween
F10::Send+[+]{Left};{}andmovecursorinbetween
F11::+-;_
F12::SendInput\begin{{}equation{}}{Enter}{Enter}\end{{}equation{}}{Enter}{Up2}
;andmovecursorinbetween