Patrick's Blog

Some customization hints for beamer

July 20th, 2006

You can find them here.

Posted in latex | Comments Off

An essential LaTeX package for computer scientists: algorithm2e

July 20th, 2006

One LaTeX package I find particular useful is algorithm2e. As it is not included in tetex I installed it on my workstation:

pat@merkur:/~# mkdir ~/texmf/tex/latex/algorithm2e
pat@merkur:/~# cp algorithme2e.sty ~/texmf/tex/latex/algorithm2e
pat@merkur:/~# texhash

Now you (i.e. the user that just did the steps above) can use a simple \usepackage{algorithm2e} in your documents and LaTeX should find the package on its own.

Posted in latex | Comments Off

My gvimrc

July 17th, 2006

In case someone is interested… For the TeX stuff to work, one needs to install vim-latexsuite.

syntax on
set autoindent

set tenc=utf-8
set enc=utf-8

if has("eval")
let g:Tex_AutoFolding=0
let g:Tex_SmartKeyQuote=0
endif

set lines=50
set columns=100

Posted in linux, programming | Comments Off

LaTeX Beamer Themes

July 17th, 2006

Beamer ships with several different themes, however selecting one that suits your needs is a tedious task (change the theme, compile, open it with acrobat again and again). Maybe this will help you: Beamer Themes overview.

Posted in latex | Comments Off

Ubuntu Dapper and new mainboards

July 8th, 2006

Today I was encountering a small “bug” under Ubuntu Dapper: After getting my laptop back from the IBM Repair center (I had an issue with the graphic card) everything was running as before, except one thing: I didn’t get an IP address from my router. I got an error when ifupping eth0:

SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device

After googling, I found the problem: I guess the mainboard got replaced by the repair center and thus I had an other MAC address. Strangely Ubuntu gets quite confused by such a change! The solution was to replace the old MAC address in /etc/iftab by the new one and reboot the system.

Posted in linux | Comments Off