Thursday, June 20, 2013

Makefile for LaTeX

Sometimes it is very useful to have standardized ways to compile documents. I use vim to edit LaTeX source, and I was looking for makefile for LaTeX for a while, when I found this project:

http://code.google.com/p/latex-makefile/downloads/detail?name=latex-makefile-2.2.0.tar.gz

Simply copy the Makefile in the directory on your linux system and type

$make
 Works perfectly for me for creating the pdf from the surce.

Monday, June 17, 2013

How to write citations on the right side on beamer

Sometimes when you cite (repeat) entire parts or figures of cited work in presentation it is advisable to write a citation on the right bottom corner  of the slide. This can be done as:
 \begin{flushright}
    \cite{mypaper}
\end{flushright}

How to make two colums horisontally on LaTeX beamer slides

The easiest way to do this is to use \column as

 \begin{columns}[cc]
 \column{0.5\textwidth}
    some content ...
 \column{0.5\textwidth}
    some more content
\end {columns}