61

Lighten up a bit guys. How about the following

\documentclass{article}
\usepackage{graphicx}
\begin{document}
If~~$\displaystyle\lim_{x\rightarrow8}\frac{1}{x{-}8}=\infty$
~~then~~$\displaystyle\lim_{x\rightarrow5}\frac{1}{x{-}5}=\rotatebox{90}{5}$
\end{document}

Which gives — enter image description here

Can anyone give me some nice Tikz of PStricks code for the following enter image description here

I am sure there there must be more Latex humor out there, even among the Germans ;-)

Andrey Vihrov
  • 22,325
Danie Els
  • 19,694
  • To avoid this becoming simply a rehash of the AMS article, may I add the proviso that TeX has to be non-trivially involved in the joke (as is the case in the two examples given). – Andrew Stacey May 16 '11 at 06:59
  • 4
    I made it CW because it asks about more contributions which wouldn't fit in the normal Q&A scheme. – Martin Scharrer May 16 '11 at 07:21
  • 2
    @Danie: You should add any new examples that you think of as answers rather than editing the question. – Andrew Stacey May 16 '11 at 08:41
  • @Andrew Stacey, Yes I'll do that – Danie Els May 16 '11 at 10:33
  • 2
    1+1=3 for sufficient large 1s and sufficient small 3s. – Martin Scharrer May 16 '11 at 10:55
  • 1
    @Martin: That's exactly the sort of thing I'd like this place to avoid. (Though I did once have a friend who said "As 5 -> 0 ..." with a straight face.) – Andrew Stacey May 16 '11 at 12:40
  • Long live South Park ;) – Zenon May 16 '11 at 12:41
  • For the first example I think \rotatebox{-90}{5} is more correct. Notice where the heavier stroke of the 8 and \infty fall. Yes I am a pedant. – Lev Bishop May 16 '11 at 13:07
  • 1
    @Lev: Actually you need a reflection. – Caramdir May 16 '11 at 15:56
  • Can I please change the first sentence a bit? The way I read it, there is a hidden implication that we take ourselves too seriously here on TeX-SX. – Andrew Stacey May 17 '11 at 18:26
  • @Andrew Stacey: I've started using Latex way back in the previous millennium. The one thing that I have seen everywhere, here, CTT, other newsgroups is that we are taking ourselves way to serious. This is the first time through all the years that I have seen postings on latex humor. History in the making and you are part of it ;-) – Danie Els May 18 '11 at 04:15
  • @Danie: This is the first TeX-like group that I've joined and I've found it to have a good atmosphere. Serious enough that we don't get overwhelmed with silly stuff, but not so serious that we can't enjoy ourselves (for example, I note that your question has only one downvote). Your first sentence reads (to me): "Everyone here is so serious. Let's lighten up a bit!". I would have written something more neutral, such as "They say that humour is a great way to learn. So let's have some examples of TeX humour. Things like ..." – Andrew Stacey May 18 '11 at 08:32
  • @Danie: (Probably worth noting that I cut my teeth on MathOverflow where we do take ourselves very seriously.) – Andrew Stacey May 18 '11 at 08:33
  • 1
    Since this starts to attract lots of negatively voted answers, I vote to close the question. – Caramdir May 26 '11 at 19:00
  • @Caramdir: We will never find this bug http://meta.stackexchange.com/q/93093/151752 without many negatively voted responses. – Display Name May 29 '11 at 14:16
  • 3
    I've also voted to close now. The idea I had was that the "jokes" should reveal something about TeX, such as illustrating a technique. Some answers did that, but the longer the question stays open then the less likely it is that new answers will continue in that vein. So while I enjoyed it when it was asked, I think that it had a finite life and it is now time to close it. – Andrew Stacey May 29 '11 at 20:21
  • This topic did not explain the rules from the beginning. I thought that we have to make a joke of mathematics using LaTeX. Or make a joke of mathematics without using LaTeX. Or make a joke of LaTeX without associating it with math. This topic has been subjective since the beginning and we are late to close it. Obviously there are benefits that can be learned. :) – Display Name May 31 '11 at 04:07
  • 2

9 Answers9

37

I was laughing about this one quite a bit. I had to recall it from German and translate it. Feel free to adjust the language.

500random

\documentclass[a4paper,12pt]{article}
\usepackage[margin=1in]{geometry}

\usepackage{graphicx}
\usepackage{pgffor}
\pagestyle{empty}

\parindent=0pt
\begin{document}
\large\sffamily

\resizebox{\textwidth}{!}{The first 500 natural random numbers}

\vspace{1em}

\centerline{\LARGE For easy access listed in their natural order}
\bigskip

\par\noindent
\foreach \n in {1,...,500} {%
    \makebox[1.8em][r]{\n}
}

\end{document}
Martin Scharrer
  • 262,582
37
\documentclass{article}
\usepackage{amsmath}

\begin{document}

Expand $(a+b)^n$:
\begin{gather*}
  (a + b)^n\\
  (a\ + \ b)^n\\
  (a\quad + \quad b)^n\\
  (a\qquad + \qquad b)^n
\end{gather*}

\end{document}

enter image description here

EDIT: to Andrew:

\documentclass{article}

\newcount\mycntr

\begin{document}

Expand $(a+b)^n$:

\begin{center}
  \mycntr=0
  \loop\advance\mycntr by 1
  \ifnum\mycntr<40
    $(a\hskip\mycntr pt +\hskip\mycntr pt b)^n$\\
  \repeat
\end{center}

\end{document}
Moriambar
  • 11,466
Gonzalo Medina
  • 505,128
36

How about:

\font\donteveruseoutsidecartoons="Comic Sans MS" at 14pt
\font\donteveruseoutsidecartoonstwo="Comic Sans MS/IB:slant=.3pt" at 22pt
\input tikz
\usetikzlibrary{shapes.callouts,positioning}
\tikzpicture[mycallout/.style={draw,ellipse callout,inner sep=1.2ex,
    callout relative pointer={#1}}]
  \node[mycallout={(.5cm,-.5cm)}] (ico) {\donteveruseoutsidecartoons Be rational};
  \node[mycallout={(-.5cm,-.5cm)}, right=of ico] (pco) {\donteveruseoutsidecartoons Get real};
  \node[below=.1ex of ico.pointer] {\donteveruseoutsidecartoonstwo i};
  \node[below left=.1ex of pco.pointer] {\donteveruseoutsidecartoonstwo π\vphantom(};
\endtikzpicture
\bye

enter image description here

morbusg
  • 25,490
  • 4
  • 81
  • 162
33

A silly one I found on a blog:

six

\documentclass{article}
\usepackage{graphicx}
\usepackage{cancel}

\begin{document}

\begin{eqnarray*}
    \frac{1}{n}\sin x & = & \mathrm{?} \\
    \frac{1}{\cancel{n}} \mathrm{si}\cancel{\mathrm{n}} ~x & = & \mathrm{?} \\
    \mathrm{six} & = & 6
\end{eqnarray*}

\end{document}

This one from xkcd is a classic:

transform

\documentclass{article}
\usepackage{graphicx}
\usepackage{amsmath}

\begin{document}

$
\begin{bmatrix}
    \cos 90^{\circ} & \sin 90^{\circ}\\
   -\sin 90^{\circ} & \cos 90^{\circ}
\end{bmatrix}
\begin{bmatrix} a1 \\ a2 \end{bmatrix}
=
$
\rotatebox[origin=c]{270}{$\begin{bmatrix} a1 \\ a2 \end{bmatrix}$}

\end{document}
David Carlisle
  • 757,742
32

I never played with tikz before, so that's my first attempt. I simply love the following joke:

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{decorations.pathmorphing}
\usepackage{frcursive}
\begin{document}

Find $x$.

\begin{tikzpicture}
\draw (0,0) -- (4,0) node[midway,below] {4 cm}
   -- (4,3) node[midway,right] {3 cm}
   -- (0,0) node[midway,left,circle,draw=blue,decorate,decoration={random steps,segment length=1pt,amplitude=0.5pt}]{$x$}
   -- (4,0) rectangle (3.7,0.3)
   -- cycle;
\draw (0.4,0) arc (0:30:0.5);
\draw (4,2.6) arc (270:226:0.5);
\draw (1,2.1) node []{\color{blue}\fontfamily{frc}\selectfont{It's here!}};
\end{tikzpicture}

\end{document}

The result:

Find x.

Paulo Cereda
  • 44,220
16

Mathematicians do it in \LaTeX.

I'll get my coat.

Ian Thompson
  • 43,767
12

To all my Australian friends:

\documentclass{article}
\usepackage{graphicx}
\begin{document}
\noindent Are there any \raisebox{1ex}{\rotatebox[origin=B]{180}{Australians}}
here mate?\\ Hang on tight!
\end{document}

enter image description here

Danie Els
  • 19,694
6

Here's another joke I remember:

\documentclass{article}

\usepackage[T1]{fontenc}
\usepackage[light,math]{anttor}

\begin{document}

Let $\displaystyle f(a) = \sqrt[n]{e^x}$.

\begin{minipage}{0.5\textwidth}
   \begin{eqnarray*}
      \lim_{t\rightarrow\infty} f(a) - \frac{i}{f(t)} & = & \frac{d}{dx} f(u) \\
      \lim_{t\rightarrow\infty} f(a) - \frac{i}{\infty} & = & \frac{d}{dx} f(u) \\
      \lim_{t\rightarrow\infty} f(a) - 0 & = & \frac{d}{dx} f(u)
   \end{eqnarray*}
\end{minipage}

\bigskip

Then

\begin{minipage}{0.5\textwidth}
   \begin{eqnarray*}
      \sqrt[n]{e^x} & = & \frac{d}{dx} f(u) \\
      (\sqrt[n]{e^x})^n & = & \frac{d}{dx} f(u)^n \\
      e^x & = & \frac{d}{dx} f(u)^n \\
      \int e^x & = & f(u)^n
   \end{eqnarray*}
\end{minipage}

\end{document}

The output:

You naughty equation!

David Carlisle
  • 757,742
Paulo Cereda
  • 44,220
3

Riffing on the "Australians" joke, borrowing from this answer.

Any Australians here?

Seamus
  • 73,242