Giter Site home page Giter Site logo

naereen / latex-article-with-pokemon-numbering Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 0.0 16.34 MB

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

Home Page: https://perso.crans.org/besson/publis/LaTeX-article-with-Pokemon-numbering.git/test.pdf

License: MIT License

Makefile 6.43% TeX 73.24% Shell 12.21% Python 8.12%
latex-package pokemon stupid-shit funny useless page-numbering i-love-pokemon

latex-article-with-pokemon-numbering's Introduction

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

latex-article-with-pokemon-numbering's People

Contributors

naereen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

latex-article-with-pokemon-numbering's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.