Skip to content
Poster of 2200 jōyō and WaniKani kanji
TeX Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data allow sorting by JLPT level Oct 6, 2019
tex reduce annotation font size, fix font spec Oct 8, 2019
.gitignore first working version Sep 30, 2019
README.md Update README.md Oct 8, 2019
generate_tex.py
main.tex reduce annotation font size, fix font spec Oct 8, 2019
poster_gothic.pdf add examples with four different fonts Oct 6, 2019
poster_mincho.pdf
poster_noto_sans.pdf add examples with four different fonts Oct 6, 2019
poster_noto_serif.pdf
screenshot.jpg reduce screenshot size by converting to jpg and reducing quality Oct 1, 2019

README.md

Kanji Poster

screenshot

A simple python script to generate the LaTeX source for a poster to show all jōyō kanji as well as the extra kanji included in WaniKani.

In total the poster includes 2200 kanji. The script supports varies ways of sorting and coloring the kanji; in the screenshot above they are sorted according to the order they occur in Remembering the Kanji by James Heisig and colored according to the log of their frequency in some common texts.

I've also checked in example versions of the poster with different fonts that you can download. Note that this is still a work in progress, I have not checked the poster for correctness.

Usage

# Generate the LaTeX files.
python3 generate_tex.py

# Compile everything into a pdf.
lualatex main.tex

Dependencies

The script uses colour to interpolate colors and jaconv to convert between hiragana and katakana for readings; you can install both from pip.

To compile the pdf, you'll need the LuaLaTeX package; on Ubuntu you can install this with:

sudo apt install texlive-full texlive-luatex

Depending on the fonts you want to use, you might have to install some more packages:

# IPAexMincho and IPAexGothic
sudo apt install fonts-ipaexfont
You can’t perform that action at this time.