Recent Posts


  • Showing a beamer presentation with preview of next slide

    If you use LaTeX with the package Beamer instead of Powerpoint to make presentations, you will probably miss the possibility to present a slide and at the same time have a quick glance on the next slide (Powerpoint has this great feature).

    Searching the internet, I found the following solution: pympress:

    “It is designed to be a dual-screen reader used for presentations and public talks, with  two displays: the Content window for a projector, and the Presenter window for your laptop. It is portable and has been tested on various Mac, Windows, and Linux systems.”

    You can download it … Read the rest “Showing a beamer presentation with preview of next slide”

  • Aspell does not work anymore with the new Emacs 26.1 for Windows: hunspell to the rescue

    I downloaded the newest version of Emacs (26.1) from Vincent Goublet’s homepage., and run into the problem that my spell-checking of documents doesn’t work anymore. I use ispell and Aspell but the new version of Emacs needs Aspell 6.0 which is not available for Windows. After some googling, I found a good replacement: hunspell. Now I can check my spelling again:

    image

    I added the following code in my .emacs file (I found it somewhere on the internet).

    
    (setq ispell-program-name "C:/Program Files (x86)/hunspell/bin/hunspell")
    ;; "en_US" is key to lookup in `ispell-local-dictionary-alist`, please note it will be passed   to hunspell 
    Read the rest “Aspell does not work anymore with the new Emacs 26.1 for Windows: hunspell to the rescue”

  • Drawing nice side-by-side trees in LaTeX

    In my work I often have to describe the model I use. For this it is almost inevitable to draw some hierarchical production functions. The following shows you how to draw two production functions side by side using Tik/. TikZ is a German acronym and stands for “TikZ ist kein Zeichenprogramm” (TikZ is not a drawing program) and produces high-quality drawings in LaTeX.

    This is how the two production function look in the paper:

    2017-12-06 12_04_12-Report top-down modeling.pdf - SumatraPDF

    I use the Latex package subcaption (as the package subfigure is deprecated) to get the two production functions side by side. You further need to load … Read the rest “Drawing nice side-by-side trees in LaTeX”

  • Tables with footnotes in LaTeX

    Once in a while, I need a table in LaTeX with some footnotes below the table. Doing an internet search I found a nice solution using the package threeparttable. Here is a small example with the nuclear power plants in Switzerland:

    image

    The LaTeX code for this table is self-explaining (note the special structure: table – threeparttable – tabular):

    Read the rest “Tables with footnotes in LaTeX”

  • Efficient desktop environment under Windows 10 using virtual desktops and Vdesk

    You probably know the feeling: You are working in your editor and want to jump to Emacs or another program opened on your computer. You Alt-Tab your way through Chrome, Word, Tetris, and lots of other programs and then you move to fast and just click past Excel. Here is a typical desktop when I am working.

    2017-05-07 16_19_35-

    You could use your mouse and just click on the window showing when you press Alt-Tab or click on the small icon in the task bar. But I don’t like using the mouse and love to have everything below my finger tips.

    Windows … Read the rest “Efficient desktop environment under Windows 10 using virtual desktops and Vdesk”


Categories

Name *

Email *