LaTeX-article-with-Pokemon-numbering

A stupid LaTeX experimental package that displays page numbers as tiny Pokémons in the bottom left or right corner

MIT License

Stars
15
Committers
1

LaTeX-article-with-Pokemon-numbering

Experiment to have a LaTeX article class which includes a small Pokmon image, in every page (on the bottom right or left), instead of numbering with indexes!

How to use this

  1. First, don't use this code, it's stupid.
  2. Now, to use it:
    • Git clone this repository,
    • Copy the icons and pokemonnumbering.sty in your own directory, wherever you are writing your LaTeX document,
    • Use this LaTeX code in your own document:
      \usepackage{pokemonnumbering}  % default
      
    • After your introduction, abstract etc, when you want to start numbering your pages with Pokmon, use this LaTeX code:
      \pokemonnumbering
      
    • And don't write a document with more than 151 pages! I was lazy and only include the Pokmon from the first generation!
    • Compile with pdflatex, xelatex or luatex (it must support PNG images).

Demo

See any of these PDF files (not gitted, on my website):

Screenshots

Here are a few examples:


How I did that?

See pokemonnumbering.sty:

  • I use fancyhdr to add a image to the bottom right or left.
  • I use adjustbox package, with export option, to force the image to be flushed right or left.

Others things:

  • This Makefile contains some build rule to generate the examples. It takes a few minutes to generate all of them.

For the demo document:


Options

By default, the Pokmon images are inserted on the bottom right corner. The package can be loaded with an option:

  • right : by default,
\usepackage[right]{pokemonnumbering}  % default
  • left : insert them in the bottom left corner instead,
\usepackage[left]{pokemonnumbering}
  • rotate : rotate the image by 20 (clock-wise if right, counter clock-wise if left),
\usepackage[rotate]{pokemonnumbering}

📜 License ? GitHub license

MIT Licensed (file LICENSE). Lilian Besson, 2018.