All uses of LaTeX (I never use LaTeX except for …)

Vid Merljak 08/14/2017. 23 answers, 7.879 views
fun latex-misc big-list

I am designing a comical T-shirt about LaTeX and I would like it to boast about all the purposes that one can use LaTeX for. I started with

I never use LaTEX except for typesetting documents.

and then remembered that you could also make (Beamer) presentations, draw figures, and, well, make T-shirt designs. : ) So I am aiming to add a footnote explaining what all could be understood by "(typesetting) documents". E.g.:

(Documents, presentations, letters, figures, logos, T-shirt designs, ... you name it!)

So my question is the following: Could you provide a list of all purposes of LaTeX known to (or used by) you - possibly accompanied by the most important package dependencies (e.g. tikz for drawing figures).

PS: Any suggestions on how to improve the originally proposed T-shirt text may be left in the comments. I shall then post the final design.

EDIT: Admitedly, my question is similar to "What is the most bizarre thing you have seen done with TeX", although it concerns TeX while I refer to LaTeX (I am not sure if this matters). Other possible duplicate list is "In what ways can TeX be used beyond document production?". I hope that the added value of my question is getting the package dependencies and in the end producing a T-shirt design.

3 CarLaTeX 07/26/2017
There are the donkeys, here are the ducks:
11 wizzwizz4 07/26/2017
Perhaps you could put the source for the t-shirt design on the back.
3 cfr 07/26/2017
... cats, cauldrons, Halloween maths, Christmas trees, Thanksgiving, fireworks, Mothers' Day, obscurely-illustrated timelines, people seeds, demons and devils, thought experiments, schemata, extraterrestrials, dilemmas and trilemmas, Turing machines, mind maps, good and evil, trolleology, caves, (good) wills ....

23 Answers

Travis N. Miller 07/27/2017.

Create beautiful math exams. My students don't seem to notice

14 JamEngulfer 07/30/2017
As someone with professors that use LaTeX, I appreciate it. Nothing worse than an exam that looks like it was made using Word.

Marijn 07/26/2017.

For the purposes of this question I wrote a terminal tic-tac-toe game in LaTeX.

Example run:

$ pdflatex tictactoe.tex 
next move X (qwe/asd/zxc)?
next move O (qwe/asd/zxc)?
next move X (qwe/asd/zxc)?
next move O (qwe/asd/zxc)?
next move X (qwe/asd/zxc)?
X won
Output written on tictactoe.pdf (1 page, 10812 bytes).



% macro for each position
\def\q{.} \def\w{.} \def\e{.}
\def\a{.} \def\s{.} \def\d{.}
\def\z{.} \def\x{.} \def\c{.}
% string separator
% toggle for finished game
    % print board to terminal
    % print board to string, all horizontal, vertical, diagonal lines
    % horizontal board to print to pdf
    % check for win or tie
        \typeout{X won}
            \typeout{O won}

    \typein[\move]{next move X (qwe/asd/zxc)?}
    % \def\q{X} etc.
    % check for win or tie
    % continue with other player 
    \typein[\move]{next move O (qwe/asd/zxc)?}
% start with player X
% print final board in pdf
6 GuM 07/26/2017
Well, there’s the famous Reversi implementation in TeX by Bruno Le Floch, too…
3 Skillmon 07/26/2017
Made My Day! (which is too short so I write this stuff inside of the brackets)

Nicola Talbot 07/29/2017.

Here are some of the things I've used LaTeX for:

Schweinebacke 07/26/2017
Apropos illustrated children's books: The printed version of „Die Wolke Wolfgang” has been made using LaTeX (with KOMA-Script).
Chris H 07/27/2017
And of course @NicolaTalbot wrote some of the packages used for the examples in this list expanding the range of possible documents for all of us.

Chris H 07/26/2017.

Some more:

Steven B. Segletes 07/27/2017.
\stackinset{c}{}{t}{190pt}{\parbox{.35\textwidth}{\LARGE\centering I don't always use \LaTeX{},\\
but when I \texttt{\textbackslash do}...\\[20pt]
I always remember to\\ step the counter.}}{\includegraphics[width=\textwidth]{%

enter image description here

Shirt image obtained from

CarLaTeX 07/26/2017.

A very important type of document: thesis.


  • CVs
  • greeting cards.

I'm also writing a brief SAS Manual for my newly hired colleagues.

Chris H 07/27/2017
Not this SAS I assume, but the programmign language?
2 CarLaTeX 07/27/2017
@ChrisH The programming language, of couse:!

barbara beeton 07/26/2017.

some rather unexpected topics that were the subject of talks at tex conferences ...

at TUG 2015:

  • Pavneet Arora on embedded documentation for a flow-leak monitoring system; video

at TUG 2016:

  • Stefan Kottwitz on "programmins Cisco network systems" and "designing converged network solutions" (no published paper or video)

  • Matthew Skala on astrological charts; preprint and slides

  • Federico Garcia-De Castro on "TeXcel", a financial tracking and reporting system for keeping the accounts of a non-profit musical organization. (paper accessible only to TUG members until September 2017)

Peter Wilson 07/26/2017.

Solving and generating sudoku puzzles (with the sudoku bundle).

Vincent Fourmond 07/31/2017.

I've used LaTeX and some magnets with a sticky face to make a stick-it-on-the-fridge token system to organize the domestic chores for my daughters. It looks like this (French, sorry):domestic chores organizer, in French

The S and M signs are cut and pasted on the magnets, and then my daughters just place the magnets to pick their chores.

This is made using tikz and Zallman.fd for the font for S/M.

The full source code is the following:

% -*- coding: utf-8; -*-


% \usepackage{yfonts}





% The commented samples below are good alternatives to Zallman.fd
% \input Acorn.fd
% \renewcommand*\initfamily{\usefont{U}{Acorn}{xl}{n}}

% \input AnnSton.fd
% \renewcommand*\initfamily{\usefont{U}{AnnSton}{xl}{n}}

% \input Carrickc.fd
% \renewcommand*\initfamily{\usefont{U}{Carrickc}{xl}{n}}

\input Zallman.fd

      normal/.style = {black, thick},
      dimmed/.style = {black!30},
      \draw[#1] (0,0) rectangle (\ssz, \ssz);

    \draw[gray] (0,0) rectangle (\ssz, \ssz);
    \node[inner sep=0mm] at (0.5 * \ssz, 0.5 * \ssz) {\scalebox{2.2}{\initfamily #1}};



% {\initfamily A}

    & \bfseries Samedi & \bfseries  Dimanche 
    & \bfseries Lundi & \bfseries Mardi 
    & \bfseries Mercredi & \bfseries Jeudi \\
    Mettre la table midi & \sqr & \sqr & \sqr[dimmed] & & \sqr\\
    Débarrasser midi & \sqr & \sqr & \sqr[dimmed] & & \sqr\\
    Vaisselle midi & \sqr{} \sqr & \sqr{} \sqr & 
    \sqr[dimmed]{} \sqr[dimmed] & & \sqr{} \sqr\\[5mm]
    Mettre la table soir & \sqr & \sqr & \sqr & \sqr & \sqr & \sqr \\
    Débarrasser soir & \sqr & \sqr & \sqr & \sqr & \sqr & \sqr \\
    Vaisselle soir & \sqr{} \sqr & \sqr{} \sqr & \sqr{} \sqr 
                      & % \sqr{} \sqr 
                      & %\sqr{} \sqr 
                      & \sqr{} \sqr \\
    Poubelles &  & \sqr &  &  &  & \sqr \\
    Balai &  & & & \sqr{} \sqr  &  & \\



\foreach \n in {1,...,18}{\sqrl{S}\hspace{1mm}}

\foreach \n in {1,...,18}{\sqrl{M}\hspace{1mm}}

CarLaTeX 07/29/2017
+1, great!!!!!!
Vincent Fourmond 07/30/2017
I can post the code somewhere, but, still, it's fairly trivial
Vincent Fourmond 07/31/2017
@CarLaTeX There you are, have fun !
CarLaTeX 07/31/2017
Thank you :):):)

Josse 07/29/2017.

I find LaTeX to be incredibly useful for computer-generated content. For instance, someone I know has to send out bills to all her clients (she is self-employed). She used to create them in Word, but this involved a lot of work: filling in the addresses, the date, the current rate, etcetera. So I created a simple GUI to manage her clients, which automatically generates her bills using LaTeX. Now she can create her bills with a few clicks of a button: simple and effective!

I'm sure there are many other uses of LaTeX in this direction, though billing seems to be the clearest example.

jlinkels 08/01/2017
I second that. I have to add detailed time tracking records to my invoices. So I export those from the time tracking program to CSV. And with awk I generate Latex, including (long) tables with records, my company letterhead, etc.

user1370384 07/27/2017.

Making MOOCs for the Open edX platform.

Vid Merljak 07/26/2017.

To start with, I list the things that came to my mind:

  1. Documents in general
    • books
    • scientific articles
    • work reports and logbooks
    • personal files
  2. Letters
  3. Figures (the tikz package is famous for it)
  4. Presentations (beamer, obviously)
  5. T-shirt designs (as in my case - as long as the output is a .pdf file)
CarLaTeX 07/26/2017
In the document list: thesis. Moreover CVs and greeting cards.
Vid Merljak 07/26/2017
@CarLaTeX Thanks. You are wellcome to post this as an answer, so people can vote on it.
CarLaTeX 07/26/2017
You're welcome! Done :):):)
3 Karl Richter 07/26/2017
If your answer started a list it's better to edit it than posting a separate answer.
3 Skillmon 07/26/2017
Your answer could be made into a wiki-answer and the list adopted. The action to vote an answer is to make clear to people passing by, which answer is helpful and which is not. The effect of gaining reputation is just a nice addition to it.

QtizedQ 07/26/2017.

Creating custom stationery to write on. I created some dot-grid paper with a header to title each page and write my name and a footer where I placed "Page __/__" which I would fill in when I had finished.

It made it easy to find my homework, and make sure I had all of the pages to turn in.

Paŭlo Ebermann 07/26/2017.

Besides typesetting documents, TeX is also a Turing-complete language, and can basically do whatever calculations you want (with some extraneous output). Adding the LaTeX macro package to it doesn't change it. The TicTacToe example by Marjin relies on that.

One example, which is used by LaTeX itself (or by packages), is the docstrip program – it is a program written in (plain) TeX (but also runs with LaTeX, I think) which converts a "documented TeX archive" (or a set of those) into a package file for easier use (or into the kernel source file).

3 percusse 07/28/2017
TeX is also a Schmuring-complete (patent pending) language, meaning "anything that is not possible in a reasonable time/effort will invoke an Turing-completeness argument by its users". Other examples are Brainfuck, iota etc.

m00am 07/27/2017.

At my university, we use LaTeX (among a myriad of other tasks that have already been mentioned) to create exams and worksheets.

  • The worksheets use a custom version of this class (german)
  • I do not know what class is used for the exams. It might be done using a version of exam

As an anecdote: During winter vacation we teased some of our friends that they would need to learn the numbers of all the ski slopes, as they will be part of the final exam. Presenting them with a fake exam sheet based on the university template really threw them off ;) They all "passed", but none of them got the numbers of the slopes right.

prestoaghitato 07/27/2017.

Important but not yet mentioned:

  • contracts
  • legal documents
  • all sorts of diagrams
  • data plots


Also, depending on how 'serious' you wanna be, technically you could use it as a calculator by plotting functions with PGF plots.

yrodro 07/26/2017.

Don't forget to add that you use LaTeX to design T-shirts!

DevNull 07/27/2017.

If you're writing a 300+ page Master's thesis for science or engineering (or any topic really), it's the only way to go. Word starts stalling and taking half a minute to re-compute auto-references past a certain limit every time you hit CTRL+ALT+F11. Tables, cleverref references, being able to reference everything (sections, appendices, figures, equations, quotes, chapter numbers, paragraphs even, etc), make it so easy to keep a train of thought.

It's also awesome for writing quizzes and exams, since it's dead easy to just use the comment package to prevent the answers from rendering. A little command-line argument magic, and you now have your questions and answer key output documents generated by the same source document, without having to maintain two separate source documents side-by-side. Even better, with a little shell scripting knowledge, it's easy to have the questions shuffled, constants in the questions randomized to prevent cheating/collusion, and auto-inserting student/interviewee names into visible (and non-visible) portions of the document.

Finally, it's great for creating "trackable" documents (i.e. embedding copious amounts of watermarking techniques, names, timestamps, hidden meta-data via steganography, etc), since you can setup command-line arguments to be set/randomized/etc and passed to pdflatex before the "compile" stage.

Alexander Wilms 07/28/2017.

I've worked on a project where software engineering requirements were written as LaTeX documents. The requirements were entered using custom LaTeX commands and thus could easily be extracted using regular expressions in Matlab.

Then I created several Matlab scripts that automatically generated LaTeX/TikZ code to show the dependencies between the requirements and if there were missing requirements or missing links between them.

LukasCB 08/01/2017.

As an archaeologist I do Harris-Matrixes with LaTeX as well:

enter image description here

Robert 07/29/2017.

LaTeX Hacks also has a CD cover, an embroidery pattern (Stickvorlage), and a monthly wall calendar.

Y0da 08/05/2017.

Also research papers! All major publisher provide some template.

manthano 08/02/2017.

Well, and do not forget, there was this guy who programmed a mars rover in TeX:

(Originally posted here, however always worth mentioning)

Related questions

Hot questions


Popular Tags