120 votes

Drawing Super Mario Bros.....in LaTeX

As everyone knows, the game was released in 1985, and at that time LaTeX was just making it out into the world and there was no such thing as pdfTeX, let alone TikZ and other fancy systems, so what ...
Phelype Oleinik's user avatar
69 votes
Accepted

Welcoming 2019 Lunar New Year: How to draw a (lovely) pig?

The very first appearance of the tikzpig: \documentclass{standalone} \usepackage{tikz} \definecolor{piglight}{RGB}{246,208,198} \definecolor{pigdark}{RGB}{241,164,142} \begin{document} \begin{...
samcarter_is_at_topanswers.xyz's user avatar
68 votes

Welcoming 2019 Lunar New Year: How to draw a (lovely) pig?

You really don't need any packages for this \documentclass{article} \begin{document} \begin{picture}(100,100) \put(43,56){\circle{6}} \put(43,56){\circle*{1}} \put(57,56){\circle{6}} \put(57,56){\...
David Carlisle's user avatar
67 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

The spooky blue screen of death: \documentclass[12pt]{beamer} \hypersetup{pdfpagemode=FullScreen} \setbeamertemplate{navigation symbols}{} \setbeamercolor{background canvas}{bg=cyan!70!blue} \...
Fran's user avatar
  • 79.4k
45 votes

Welcoming 2019 Lunar New Year: How to draw a (lovely) pig?

For the sake of completeness, let's go for a Unicode pig! % arara: xelatex \documentclass{standalone} \usepackage{fontspec} \usepackage{graphicx} \setmainfont{Symbola} \begin{document} \scalebox{10}...
Paulo Cereda's user avatar
  • 44.1k
43 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

Here is a minimalist contribution \phantom{} \end
Guido's user avatar
  • 30.6k
43 votes
Accepted

Drawing Super Mario Bros.....in LaTeX

What if Mario and Luigi are going to a party? Somebody said that they love ducks!! From The TikZducks package MWE \documentclass[border=2mm]{standalone} \usepackage{xcolor} \usepackage{tikzducks} \...
Sigur's user avatar
  • 37k
41 votes

Simulating hand-drawn lines

[EDIT on August 13, 2018: better and shorter code, but unfortunately a lot slower now...] I realize I'm a bit late to the party, but here's my attempt. I tried to implement the ideas they used in ...
Frunobulax's user avatar
  • 2,168
41 votes

December challenge: Create an Advent Calendar

You can get the latest PDF containing all pages here (about 4.5 MB). some stats so far: Python Latex lines of code 150 7300 compile time 0.22s 1350s Here's a ...
Tom Bombadil's user avatar
40 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

Any Comic Sans fans here? \documentclass[border=9,tikz]{standalone} \usetikzlibrary{shadings} \usepackage{fontspec} \setmainfont{Comic Sans MS} \begin{document} \fontsize{170pt}{0}\bfseries \...
Symbol 1's user avatar
  • 36.7k
36 votes
Accepted

How to create a Gantt chart?

I think a Gantt Chart is the way to go by looking at your example, using the pgfgantt package. I don't make them as fancy as your example, but I believe you can get quite close with solely using this ...
JiyuuSensei's user avatar
35 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

A drowning witch. (with apologies to the late Roger Price) \documentclass[varwidth]{standalone} \usepackage{pict2e} \begin{document} \begin{picture}(200,200) \thicklines \put(10,10){\line(0,1){180}\...
Mark Wibrow's user avatar
  • 70.1k
33 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

How about some haunting Minecraft mobs like a cheeky Enderman or a hot-headed Creeper? ;) These were created using tikz‑3dplot and LuaTeX. You can see the full source of the Enderman below, but all ...
szantaii's user avatar
  • 4,699
32 votes
Accepted

Seasonal Challenge (Contributions from TeXing Dead Welcome)

Third Addition (!) Now that the nightmare depicted in my original answer has become real, let us try to lighten the spirits by considering @cfr’s comment about cats. I was forced to add another ...
GuM's user avatar
  • 21.4k
32 votes

Should we give up pstricks?

In my opinion everyone who can should switch to LuaLaTeX. It is much more extensible and therefore much more likely to stay relevant in the future. To make the transition easier especially for ...
Marcel Krüger's user avatar
30 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

OK, it has been a rainy Saturday afternoon, but I must be crazy to have wasted more than three hours doing this… The idea is that, since (La)TeX is a language primarily designed to handle text with ...
GuM's user avatar
  • 21.4k
30 votes
Accepted

Man running icon with TikZ

An attempt with tikz rectangles. \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \tikzstyle{body}= [fill=black,rounded corners=14pt] \draw[body,rotate around={...
nidhin's user avatar
  • 7,842
29 votes
Accepted

What are the packages require to draw this stamp below?

Adapting a bit one answer of mine from another similar question, I wrote the following code: (Updated to include the punched rectangle) (Update2 to add the text in the center): \documentclass{...
JLDiaz's user avatar
  • 55.5k
28 votes
Accepted

drawing patterns based on prime factorization

(See update at the end for an alternative output) Done with Lualatex and tikz, simply converting the code from this javascript fiddle This is a sample result for number 36: Which was generated with:...
JLDiaz's user avatar
  • 55.5k
27 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

For the sake of having a duck here, and to honour Harry Potter fans worldwide, here's my humble entry to the seasonal contest. :) As usual, the code is quite long for being posted here, so it's ...
Paulo Cereda's user avatar
  • 44.1k
27 votes
Accepted

pgf's and pstricks's opacity is not working

Ghostscript-9.52 introduced new operators for setting fill and stroke opacity (.setconstantfillopacity, .setconstantstrokeopacity), deprecating the hitherto existing .setopacityalpha. Starting with GS ...
AlexG's user avatar
  • 54.2k
24 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

Two years ago I provided an image that some people commented looked too smiley, so here is the new improved 2016 version with a fierce scary growl. \documentclass{article} \usepackage{color} \...
David Carlisle's user avatar
22 votes

Seasonal Challenge (Contributions from TeXing Dead Welcome)

The family of Arthur's ghost Cézard with PSTricks. http://pstricks.blogspot.fr/2011/11/synthese-additive-et-soustractive-des.html
user73104's user avatar
  • 949

Only top scored, non community-wiki answers of a minimum length are eligible