Zum Inhalt springen



17.11.2005

Tram marshals

Sky marshals, accompanying US airplanes, are old hats – our municipal transport services now deploy tram marshals, accompanying the tram cars and protecting the passengers. On my way to the dentist (yeehaa, no cavity found!) I saw a tram marshal – at least I think it was one. A heavyset bearded man, looking very tired, sat behind me. He was wearing a uniform of the transport service with a label saying "Aufsicht" (supervisor, surveillance). Now two questions come to my mind: 1. Was this really a tram marshal? If yes, what exactly is his job? I never experienced any situation in a tram that might have been dangerous. I think our city is pretty safe. 2. Or was he a controller, checking if people have a ticket. If yes, why was he wearing a uniform then? People could recognize him easily and jump off the tram car …

15.11.2005

The porn cannot be displayed

Just found while looking for some hints for compiling an application:
No porn here!

[LaTeX] Tip No. 3 – Change the bullets of an enumeration

I needed to change the bullets of an enumeration, so that it looks like /LF10/, /LF20/, /LF30/ etc.
I googled the German tex usenet group and found a quite nice hint. There is a package called enumitem that realizes exactly that. It only has one bug, it sets the value of the left indent to zero. Achim Blumensath offers a corrected version of enumitem on his webpage for download.

How to use enumitem:

\usepackage{enum}
...
\begin{enumerate}[/LF10/]
\item foo
\item bar
\end{enumerate}

Latex recognizes the 1 in the optional parameter for the enumeration as enumeratable item and enumerates this number.

14.11.2005

Blog Update

Updated to version 0.4.6.1 (Maintenance Release). This version fixes some minor bugs like charset stuff and corruption of PNG files.

P.S: I noticed that trackbacking is broken. The blog cannot send or receive trackback pings. The bug is tracked at sourcefourge.

09.11.2005

[LaTeX tip no. 2] Multiple use of footnotes

Imagine you put your citation-commands in a footnote – something like

...foo\footnote{\cite{Smith2000}, p. 42}

Now imagine you have another citation which uses the same citation mark:

... bar\footnote{\cite{Smith2000}, p. 42}

So you have two identical citation marks in footnotes on one page … not very nice huh? So why do you not use the same footnote for both citations? It’s very easy done with a macro:

\newcommand{\lastfootnote}{\footnotemark[\value{footnote}]}

It tells the Latex system to use the last footnote identified by the counter – value{counter} returns the value of the last footnote counter (you guessed so, huh?)

Now you can use it like this:

... foo\footnote{\cite{Smith2000}, p. 42}
.....
... bar\lastfootnote

Both words, foo and bar, will have the same footnote counter referring to one single footnote. Pretty neat!

Did I mention that I start to love Latex? ;-)

03.11.2005

A perfect Latte macchiatto

01.11.2005

[statistics] Search string of the month

foods to use when having a food orgy

Rss Feed Tweeter button Facebook button Technorati button Reddit button Myspace button Linkedin button Webonews button Delicious button Digg button Flickr button Stumbleupon button Newsvine button