Misc Stuff





[ Home ]


  1. If you havent tried out Beamer for making your presentations (especially ``equation-heavy'' presentations), you should. Here is my short introduction to Beamer [PPT]

  2. Read my automatic backups with ssh and rsync howto here. A part of it describes how to ssh without passwords.

  3. Q. Your CV is so beautifully typeset! How did you make it? A. I wish to acknowledge RPI for their LaTex resume template. I used it as a starting point.

  4. List of Latex tips, tricks and annoyances (under construction, but meanwhile...)

    1. Q. pdftex produces A4 sized output in Ubuntu, how to fix it? (horrified to discover this After I prepared my CV)

      A1. In every latex file you ever write, add
      \special{papersize=8.5in,11in}
      \setlength{\pdfpageheight}{\paperheight}
      \setlength{\pdfpagewidth}{\paperwidth}

      A2. OR run texconfig as superuser and choose USLetter as default paper size

    2. Q. Why doesnt copy-paste from Firefox to Emacs work in Ubuntu?

      A. Because by default things are copied to clipboard in every other application but Emacs has its own "kill-ring" from which \C-y (yanking) pastes things. To rectify this add
      (global-set-key "\C-w" 'clipboard-kill-region)
      (global-set-key "\M-w" 'clipboard-kill-ring-save)
      (global-set-key "\C-y" 'clipboard-yank)
      To your .emacs file

    3. Q. How do I check for repeated repeated words in a tex file?

      A. Regex to the rescue
      cat file_to_be_checked | tr \\n ' ' | egrep [[:space:]]\([a-zA-Z]+\)[[:space:]]+\\1[[:space:]]+ -o

    4. Q. How to I embed and subset all fonts in my PDF file?

      A. Use Ghostscript to do the job for you
      gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -sOutputFile=processed_file.pdf your_paper_generated_by_pdftex.pdf