• Automating writing LaTeX papers even further

    In an earlier post I wrote on how to use R to produce all kind of figures and tables for a LaTeX paper. This time, I will show, how to automate this process even more.

    My work flow consists of a batch file, that runs my model, sends the results to R, produces my tables and figures and sends these to my paper: If I change my model, I just have to run this batch file, and the results in my paper are automatically adjusted. One smaller problem is that I often write in my text on a specific value … Read the rest “Automating writing LaTeX papers even further”

  • Managing papers with Org-Mode and Reftex

    Writing papers means reading lots of papers, and I often lose track of all the papers I am reading: Where did I file a certain paper? Which paper did I start reading? Which paper might be interesting?

    A reading list would be nice, but such a list should be easy to handle. I have all my papers catalogued in JabRef and use AucTex and RefTex for writing and Org-Mode for my tasks.The solution should therefore combine the strength of all three. I found a nice post on how to this ( and adopted it to my needs.

    Here … Read the rest “Managing papers with Org-Mode and Reftex”

  • How to generate nice nomenclatures in LaTeX

    If you have to write up your model results, often you have to write down the model documentation. My colleague at work pointed me to a great package in LaTeX that can make your life easier with respect to the nomenclature used. It allows you to produce a glossary with all your variables, parameters and acronyms without much extra work. The package is called “nomencl” and here is an example of a pdf generated with LaTeX:


    As you can see, I have acronyms, parameters and variables as well as the reference to where they are used for the first time … Read the rest “How to generate nice nomenclatures in LaTeX”

  • Presentation, Article and Notes in one run using Beamer

    Still using Powerpoint for your presentation? Consider using LaTeX with the Beamer package.
    Tom Rutherford taught me how to build an efficient stream for a presentation or lecture:
    1. generate the presentation with beamer,
    2. generate the presentation as an article and
    3. clean up all the stuff
    All this in one batch file. The presentation is projected on the big screen and the article is used for preparation and for notes, I use during my prepartation (I have a printout of the article next to my laptop during the presentation)
    The batch (build.bat) file looks like this:
    @echo off
    Read the rest “Presentation, Article and Notes in one run using Beamer”

  • Auto-Completion in Emacs, LaTeX and Gams

    The fun with Emacs is that you can discover new (or old) stuff that makes your life much easier on an almost weekly base. I was reading the manual on Emacs Speaks Statistics and discovered that there is a mode called auto-completion. I googled it, installed it and after some experimenting, I got it running. You can find it here. It comes with autocompletion for some programming languages (Python, Ruby, C+, etc.) but not for LaTeX, so I googled further and discovered an extension called auto-complete-latex (you can download it here.
    Here are some screenshots: You just start
    Read the rest “Auto-Completion in Emacs, LaTeX and Gams”


Name *

Email *