The TeX showcase

This is the TeX showcase, edited by Gerben Wierda. It contains examples of what you can do with TeX, the typesetting engine from Donald Knuth, world famous mathematician, computer scientist and above all well known for TeX. I will try to keep this showcase small. For remarks on submissions, see at the end of this document.

In this showcase, you will not only find examples of material prepared with TeX proper, but also with macro packages like LaTeX, ConTeXt and with related programs like METAPOST. And though TeX is a typesetting language, you will find graphics and even an MPEG movie.

Showcases are mostly PDF files. Some PDF files contain tricks that only work in certain PDF-viewers, e.g. they might contain automatic changes in the page that work in certain versions of Acrobat and only when certain preferences are set. The descriptions will contain special instructions if any.

Index

General Typesetting

Case (click for document)SourceWhat it is
diminuendo.pdf diminuendo.tex Submitter Peter Hammond writes:

This is some rather old trickery, using Plain TeX and a readily resizable Postscript font, based on the \length macro example on p. 219 of the TeXbook. The result would be the complete decimal expansion of some prominent rational, irrational and transcendental numbers, in a finite area, except that of course the digits become too small to see (or print) rather fast. (Some of it appears within the cover design for our textbook, Essential Mathematics for Economic Analysis.)

csky-sample.pdf csky-sample.tex Another fine typesetting example, which shows marginal notes and graphics. It is created with the ConTeXt package. Submitted by Bill McClain.
partofTheBookofTea.pdfNo source availableTypography from The Book of Tea by Okakura Kazuko, submitted by William Adams

The complete book (including the graphics shown in the icon) can be downloaded here (2.7MB)

winawer.pdf Blatny-Klinger.tex Blatny-Klinger-readme1st.txt Note, this impressive example is 1.1MB in size.

Submitter Ulrich Dirr writes:

Here are a few pages of 352 from a chess book (Kindermann/Dirr: Französisch Winawer, Band 1: 7. Dg4 0--0). Typesetting was done by PDFLaTeX (then v0.14h). Printed on art paper using a two colour setup (black and a spot color), the book was published in 2001 by Chessgate AG.

The interested TeXie will recognize the creation and utilization of special fonts (Adobe Jenson (with special ligatures and kerning for german), ITC Legacy Sans, Castellar (initials), and self-made chess fonts for figurine notation and diagrams )

I've downsampled the images to 96dpi. Otherwise the file would have been 3.2MB.

peace_on_earth.pdfNo source availableLook at this example and especially, zoom in to the text. Submitter William Adams writes:

It is a small French gatefold card which one can print to fit any decent size paper and then fold in half twice to get a card.

It is typeset in Zapfino using Omega and techniques which I hope to document and present presently.

I hope everyone will enjoy it in the spirit in which it is offered.

pp.pdf pp.tex Another fine typesetting example showing how well TeX can produce beautiful books. It is created with the ConTeXt package. Submitted by Bill McClain.
ShowcaseCircular.pdf ShowcaseCircular.tex This example shows TeX's power to set in strange paragraph shapes. TeX has been told the shape, but for the rest TeX just does its normal job, breaking lines into words and paragraphs into lines. Submitted by Dariusz Wilczynski.
leaflet.pdfNo source availableI think you need to zoom in or print this document if you really want to see how nice it is. And remember its advice: you need at least 66MHz processor and 32MB memory for TeX!

Submitter Karl Berry writes:

Peter Flynn's LaTeX brochure is pretty amazing, IMHO.

onetype.pdf onetype.tex A treatise on a typeface by font-specialist William Adams.

It's designed to be printed all on a letter-sized sheet of paper and folded into a small booklet.

Graphics

Case (click for document)SourceWhat it is
lee-wilczynski.pdf lee-wilczynski.tex A piece of math and pictures submitted by Dariusz Wilczynski. He writes:

I'm sending you a one-page excerpt from a paper of mine that was published in the American Journal of Mathematics. Hope you will find it useful. I'm sure Ross Moore and others can provide more interesting examples of the power of Xy-pic.

BarnstormingBitter.pdf BarnstormingBitter.tex A Beer bottle label created with TeX.

Submitter Kester Clegg writes:

The labels are designed to be cut out and put round the neck of beer bottles (my home brews as it happens!). One thing I like about using latex instead of a normal graphics program is that I get minute control, I can work on a single label for speed, and when I'm finished, I uncomment my 'block' of labels and bingo! I get the whole lot at once!

I could use a bottle right now...

maps.pdf maps.tex Submitter Jonathan Guyer writes:

This is a set of maps that I made for the frontispiece of a bound volume of my mother's journals that she wrote during a sailing trip in the Greek islands. My fiancée and I put the whole thing together for a Christmas present last year. Key ingredients are WARMreader for the route labeling and babel for the place names.

There are some errors in the route [probably doesn't matter to you 8^) ] and there's a lot of extraneous stuff in the preamble because it was cut and pasted from the manuscript. Further, I don't know squat about Greek, so I undoubtedly made errors in some of the labels.

The map was produced in IGOR Pro from coastal data I found someplace online (I don't remember where offhand). I supposed If I'd been truly masochistic, I would have used XYpic to produce the whole thing...

ps_s_1b.pdf ps_1_1b.tex A physics problem sheet with pictures created with pstricks.

Submitted by Christopher Allen.

Dynamical documents

Case (click for document)SourceWhat it is
Automaton.pdf Automaton.tex This example shows dynamic output created with TeX. Not all previewers will be able to display the dynamism in this document, e.g. Preview.app on Mac OS X cannot handle it. But Acrobat can. Open it, set it to Full Screen and hit return a couple of times. Submitted by Stephan Lehmke. He writes: a bit of finite automata simulation done with PSTricks (automata package).
macqtexDemo.pdfNo source availableThis example does not work in all PDF-viewers (especially Mac OS X Preview.app does not handle this). Use Acrobat. Submitter Frances Griffin writes:

This is an example of the mathematics quizzes we are using at Macquarie University, Sydney, Australia. It uses JavaScript inside a PDF document, so that the questions are automatically marked, and on completion of the quiz, the correct answers and fully worked solutions become visible.

We have set up an automated system which generates random parameters for the questions, pdfTeXs the quiz and serves a unique and personalised version of it to the student. The demo quiz here is fully self contained, but the quizzes we use for the students send the scores back to our server to be recorded.

It is based on DP Story's exerquiz package, along with some customizations we have made, and pdfscreen. There are more like this here.

LorenzAttractor.pdf LorenzAttractor.tex This example does not work in all readers (e.g. it does not work in Mac OS X 10.2's Preview.app), but it works in Acrobat. Click on the picture and see it rotate.

Submitted by Jochen Skupin

Mathematics

Case (click for document)SourceWhat it is
cheat.pdf cheat.tar.gz Note, the source is a gzip compressed tar archive.

Submitter Martin Jansche writes:

Here's an example of TeX formatting many many equations under tight space constraints: Steve Seiden's theoretical computer science cheat sheet, available from this URL. Quoting the web page:

I grant permission for you to reproduce this cheat sheet, and redistribute it for educational purposes only. You may not reproduce it for profit. If you reproduce it, you must not alter or delete my copyright.

Languages of the world

Case (click for document)SourceWhat it is
tibetan.pdf tibetan.tex A piece of Tibetan text which describes the Story of a Brahman and his family.

Submitted by Norbert Preining.

hindi.pdf hindi.dn An example of Hindi, from the devnag package of Velthuis. Submitted by Norbert Preining.

This is an example of how well TeX can be adapted to all different languages. I do not know what it says here, so do not hold me responsible.

chinese.pdf chinese.tex Submitter Martin Jansche writes:

I'm attaching two files that use the CJK package to typeset Chinese. Note that you don't see anything like \includepackage{CJK} in the LaTeX source, since it has to first be exported in cjk-encoding by Emacs, at which point the appropriate commands are inserted. The process is described in the file. The tight integration of CJK and Emacs makes it especially easy to mix and match different scripts and/or character sets.

arabic.pdf arabic.tex An excerpt from Multilingual Typesetting with OMEGA, a Case Study: Arabic, by Yannis Haralambous and John Plaice. These are the last three pages from the well known torture.tex file. (This is done with Omega, the extension of TeX to Unicode). Submitted by Norbert Preining.

This is an example of how well TeX can be adapted to all different languages, even typesetting from right to left. I do not know what it says here, so do not hold me responsible.

esther-ch2.pdf esther-ch2.tex Submitter Art Werschulz writes:

Alan Hoenig has recently released version 2 of his Makor system. Makor is a system for high-quality Hebrew typesetting, which runs under Omega.

As an experiment, I typeset the second chapter of the book of Esther from the Hebrew Bible. This essentially involved downloading the BHS (Biblia Hebraica Stuttgartensia) version of Esther from the web, changing all instances of ~ to @, adding a few lines of boilerplate to the top and the bottom of the file, and running it through omega. BTW, I'm running MacOS X 10.2.4 on an 800MHz G4 iMac, along with your latest i-Installer distribution of the TeX stuff.

Miscellanous

Case (click for document)SourceWhat it is
en_gb_eclipse_114.pdfNo source availableAn example of a catalog entry automatically created from a vendor's database. Submitted by Stephan Lehmke. He writes:

I've attached another PDF which doesn't really have a TeX source because it's automatically generated from data, but I find the application itself quite excellent. You can find it among around 800 siblings at www.erco.com (for instance /download/data/_lsp/indoor/system/fr/fr_pollux_119.pdf).

x.mpg x.README x.makemovie x.mp x.param Note, this file is 1MB in size.

This example is a funny MPEG movie, created with METAPOST, which is part of the TeX family of programs. It has been submitted by Hartmut Henkel. He writes:

I have created a small technical movie (premiere) about a certain species of liquid Indium ion emitter (Liquid Indium Metal Source, LIMS), which sometimes is used in space for propulsion or scientific experiments (e.g. by the company www.vh-s.de where I work).

The movie shows the heating of the Indium reservoir until the Indium melts. Forced by a strong electrical field (not shown) the Indium creeps to the tip of a Tungsten needle and builds a so-called Taylor cone there. From the tip of the cone Indium ions are extracted by the same field. --- After some operational time the In reservoir gets empty. Don't take this part too serious :-)

It's some 600 frames, drawn by MetaPost one by one, printed, put sheet by sheet on the scanner. Just kidding, it goes through a shell script (under debian Linux) starting with MetaPost, blows up to over 1GByte of .ppm files by ghostscript and then shrinks to the mpeg by mpeg_encode.

kv315f.pdf kv315f.tex A Music example submitted by Norbert Preining. This is from the Andante KV 315, W.A. Mozart, transcription from D. Taupin
EulerGibbsDuhem.pdf EulerGibbsDuhem.tex EulerGibbsDuhem.htm No description available
johnhigexerpt.pdf johnhigexerpt.txt Submitter Scott Higinbotham writes:

Here is a contribution to your TeX showcase, if it seems appropriate. I do genealogy as a hobby, and I have kept the results of my work in book format almost from the beginning. I used Word for the Mac originally, but maintaining the document through the constant updates resulting from new information was not easy. I wanted something a little more automatic. This was accomplished using a database (4D) to keep the basic information (names, dates, and family groupings), individual text files for the narratives about each individual, and then having the database generate a LaTeX file, which TeX would process and put together in book form, generating a TOC and an index in the usual manner.

There is not much fancy TeX code involved, but the result seems to impress even experienced amateurs who have looked at it. It seemed to me that this might be interesing because it is an application which is a bit far afield from the usual disciplines where TeX has taken hold.

The example is anexcerpt from the genealogy.

This showcase does not have very fancy markup. It is created automatically by a perl script and a driver file and I am not HTML-expert, that is why.

If you want to contribute something that is not already there, or which is better than what is already there, please send me a submission by e-mail. Do not send me URLs or anything that requires work for me to find it or download it, I must set a limit somewhere and I will generally not include items I have to go browsing for. Sorry.

Include the case and make sure it looks good on screen as well as in print (so no bitmap fonts), and if possible some source and a description. If you want, add a JPG or TIFF of 150x200 (width x length) pixels just like the icons above. E-mail your submissions to tex-showcase at rna.nl.


$Date: 2005/10/06 21:57:09 $; contact webmaster; contact TUG; TUG home page.