LaTeX is the venerable, gold-standard layout package favored for scholarly papers, especially technical papers; back in 2009, Hanno Rein released LaTeX Coffee Stains, an extension to draw a variety of coffee-cup rings on your paper; the code has been improved by community contributions over the years and is very robust and full-featured! (via Evil Mad Scientist Labs)