Skip to content

Naereen/LaTeX-article-with-Pokemon-numbering

Repository files navigation

Experiment to have a LaTeX article class which includes a small Pokémon 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 Pokémon, use this LaTeX code:
      \pokemonnumbering
    • And don't write a document with more than 151 pages! I was lazy and only include the Pokémon 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:

screenshots/demo1.png

screenshots/demo2.png

screenshots/demo3.png

screenshots/demo4.png

screenshots/demo5.png


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 Pokémon 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.

Maintenance Ask Me Anything ! Analytics

Contains-Pokémon

ForTheBadge built-with-swag

ForTheBadge uses-badges ForTheBadge uses-git ForTheBadge uses-css ForTheBadge uses-html ForTheBadge uses-js