---
created_at: '2017-01-08T15:11:23.000Z'
title: LaTeX Coffee Stains (2009)
url: http://hanno-rein.de/archives/349
author: gandalfar
points: 279
story_text: 
comment_text: 
num_comments: 37
story_id: 
story_title: 
story_url: 
parent_id: 
created_at_i: 1483888283
_tags:
- story
- author_gandalfar
- story_13349950
objectID: '13349950'

---
[Source](http://hanno-rein.de/archives/349 "Permalink to LaTeX Coffee Stains | hanno-rein.de")

# LaTeX Coffee Stains | hanno-rein.de

[hanno-rein.de][1]

Cambridge and other planets

![][2]

[Skip to content][3]

* [Home][4]
* [About][5]
* [Blog][6]
* [Science][7]
    * [Stochastic migration of small bodies in Saturn’s rings][8]
    * [Planetary Migration][9]
    * [Scientific Software][10]
        * [DPMHD3D][11]
        * [Fargnuplot][12]
        * [GravTree][13]
    * [iPhone][14]
* [Legacy (from old site)][15]
    * [Miscellaneous][16]
    * [Photos][17]
    * [Software][18]

←[ Hawaii Photos][19]

[Second “Paper” →][20]

# LaTeX Coffee Stains

Posted on [April 3, 2009][21] by [Hanno Rein][22]

![LaTeX Coffee Stains][23]This package provides an essential feature to LaTeX that has been missing for too long. It adds a coffee stain to your documents. A lot of time can be saved by printing stains directly on the page rather than adding it manually.

[coffee.pdf][24] – This is an example of all included stains and also the documentation of the package.

[coffee.tar.gz][25] – This archive contains all files including the documentation (you probably want to download this).

[coffee.sty][26] – This is the actual package which contains everything including the images.

[coffee.tex][27] – This is the source code of the example file.

Update (23 November 2010):

[coffee2.sty][28] – This is an improved version that works with pdflatex. Thanks to Evan Sultanik!

Update (24 March 2011):

[coffee3.tar.gz][29] – This is another improved version that works with pdflatex. It allows you to scale, rotate and change the transparency of any coffee stain. Thanks to Professor Luis Randez!

Update (25 May 2012):

[coffee4.tar.gz][30] – Adrian Robson sent me this improved version. He writes: “_I find I rarely manage to put my coffee mug down exacly in the middle of my papers.  
So I have amended coffee3.sty to support off centre coffee stains._”

This entry was posted in [Geek][31]. Bookmark the [permalink][32]. 

←[ Hawaii Photos][19]

[Second “Paper” →][20]

Comments are closed.

* Search for:
* ### Archives

    * [May 2013][33]
    * [November 2012][34]
    * [April 2012][35]
    * [December 2011][36]
    * [November 2010][37]
    * [October 2010][38]
    * [August 2010][39]
    * [July 2010][40]
    * [June 2010][41]
    * [April 2010][42]
    * [March 2010][43]
    * [February 2010][44]
    * [January 2010][45]
    * [December 2009][46]
    * [October 2009][47]
    * [September 2009][48]
    * [August 2009][49]
    * [July 2009][50]
    * [June 2009][51]
    * [May 2009][52]
    * [April 2009][53]
    * [March 2009][54]
    * [February 2009][55]
    * [January 2009][56]
* ### Meta

    * [Log in][57]

[ hanno-rein.de ][1]

[ Proudly powered by WordPress. ][58]

[1]: http://hanno-rein.de/ "hanno-rein.de"
[2]: http://hanno-rein.de/wp-content/uploads/2010/08/IMG_7026.jpg
[3]: http://hanno-rein.de#content "Skip to content"
[4]: http://hanno-rein.de/ "Home"
[5]: http://hanno-rein.de/about "About"
[6]: http://hanno-rein.de/blog "Blog"
[7]: http://hanno-rein.de/science "Science"
[8]: http://hanno-rein.de/science/saturn "Stochastic migration of small bodies in Saturn’s rings"
[9]: http://hanno-rein.de/science/planetary-migration "Planetary Migration"
[10]: http://hanno-rein.de/science/scientific-software "Scientific Software"
[11]: http://hanno-rein.de/science/scientific-software/dpmhd3d "DPMHD3D"
[12]: http://hanno-rein.de/science/scientific-software/fargnuplot "Fargnuplot"
[13]: http://hanno-rein.de/science/scientific-software/gravtree "GravTree"
[14]: http://hanno-rein.de/science/iphone "iPhone"
[15]: http://hanno-rein.de/legacy "Legacy (from old site)"
[16]: http://hanno-rein.de/legacy/miscellaneous "Miscellaneous"
[17]: http://hanno-rein.de/legacy/photos "Photos"
[18]: http://hanno-rein.de/legacy/software "Software"
[19]: http://hanno-rein.de/archives/345
[20]: http://hanno-rein.de/archives/362
[21]: http://hanno-rein.de/archives/349 "22:17"
[22]: http://hanno-rein.de/archives/author/admin/ "View all posts by Hanno Rein"
[23]: http://hanno-rein.de/wp-content/uploads/2009/04/coffee.png "LaTeX Coffee Stains"
[24]: http://hanno-rein.de/downloads/coffee.pdf
[25]: http://hanno-rein.de/downloads/coffee.tar.gz
[26]: http://hanno-rein.de/downloads/coffee.sty
[27]: http://hanno-rein.de/downloads/coffee.tex
[28]: http://hanno-rein.de/downloads/coffee2.sty
[29]: http://hanno-rein.de/downloads/coffee3.tar.gz
[30]: http://hanno-rein.de/downloads/coffee4.tar.gz
[31]: http://hanno-rein.de/archives/category/geek "View all posts in Geek"
[32]: http://hanno-rein.de/archives/349 "Permalink to LaTeX Coffee Stains"
[33]: http://hanno-rein.de/archives/date/2013/05 "May 2013"
[34]: http://hanno-rein.de/archives/date/2012/11 "November 2012"
[35]: http://hanno-rein.de/archives/date/2012/04 "April 2012"
[36]: http://hanno-rein.de/archives/date/2011/12 "December 2011"
[37]: http://hanno-rein.de/archives/date/2010/11 "November 2010"
[38]: http://hanno-rein.de/archives/date/2010/10 "October 2010"
[39]: http://hanno-rein.de/archives/date/2010/08 "August 2010"
[40]: http://hanno-rein.de/archives/date/2010/07 "July 2010"
[41]: http://hanno-rein.de/archives/date/2010/06 "June 2010"
[42]: http://hanno-rein.de/archives/date/2010/04 "April 2010"
[43]: http://hanno-rein.de/archives/date/2010/03 "March 2010"
[44]: http://hanno-rein.de/archives/date/2010/02 "February 2010"
[45]: http://hanno-rein.de/archives/date/2010/01 "January 2010"
[46]: http://hanno-rein.de/archives/date/2009/12 "December 2009"
[47]: http://hanno-rein.de/archives/date/2009/10 "October 2009"
[48]: http://hanno-rein.de/archives/date/2009/09 "September 2009"
[49]: http://hanno-rein.de/archives/date/2009/08 "August 2009"
[50]: http://hanno-rein.de/archives/date/2009/07 "July 2009"
[51]: http://hanno-rein.de/archives/date/2009/06 "June 2009"
[52]: http://hanno-rein.de/archives/date/2009/05 "May 2009"
[53]: http://hanno-rein.de/archives/date/2009/04 "April 2009"
[54]: http://hanno-rein.de/archives/date/2009/03 "March 2009"
[55]: http://hanno-rein.de/archives/date/2009/02 "February 2009"
[56]: http://hanno-rein.de/archives/date/2009/01 "January 2009"
[57]: http://hanno-rein.de/wp-login.php
[58]: http://wordpress.org/ "Semantic Personal Publishing Platform"

