kanji-sheets/main.tex

81 lines
1.6 KiB
TeX
Raw Normal View History

2020-05-20 10:19:01 +02:00
% !TEX program = xelatex
\documentclass{article}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=blue,
}
\usepackage{geometry}
\geometry{
a4paper,
left=20mm,
right=20mm,
top=20mm,
}
2020-05-25 23:03:19 +02:00
\setlength{\parskip}{0.5em}
\setlength{\parindent}{0pt}
2020-05-27 16:54:57 +02:00
\usepackage{longtable} % For multipage tables
2020-05-25 22:17:03 +02:00
2020-05-25 23:03:19 +02:00
%Japanese typesetting and fonts
2020-05-20 10:19:01 +02:00
\usepackage[japanese]{babel}
\usepackage{xeCJK}
2020-05-25 23:03:19 +02:00
\usepackage{fontspec}
2020-05-26 23:05:15 +02:00
\setCJKmainfont{Noto Sans Mono CJK JP} %TODO Add fonts to repo
2020-05-20 10:19:01 +02:00
\setmainfont{Open Sans}
\input{./kanjiLib.tex}
2020-05-27 16:54:57 +02:00
\usepackage{etoc} % For local tocs containing level based kanji list.
2020-05-20 10:19:01 +02:00
\begin{document}
2020-05-27 16:54:57 +02:00
\input{./title/titlepage.tex}
2020-05-20 10:19:01 +02:00
2020-05-28 22:03:03 +02:00
% Kanji table settings that should not affect the titlepage
\renewcommand{\arraystretch}{2}
2020-05-28 22:11:12 +02:00
\rowcolors{1}{white}{kanjiColor!30}
2020-05-28 22:03:03 +02:00
2020-05-27 16:54:57 +02:00
\break
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
\tableofcontents
\break
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
\section*{Preface}
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
%TODO: Add more detailed information
2020-05-25 22:17:03 +02:00
2020-05-27 16:54:57 +02:00
Thanks to Timothy Eyre for making the Choumei font and the edition containing stroke order numbers. You can find his work at \url{https://www.nihilist.org.uk/}
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
Kanji data is taken from \url{https://jisho.org/}
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
This document splits the kanjis into JLPT levels. Please note that there is no official list of kanji JLPT levels. This list is based on \href{http://www.tanos.co.uk/jlpt/skills/kanji/}{tanos.co.uk}.
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
\break
2020-05-20 10:19:01 +02:00
2020-05-28 23:38:36 +02:00
\jlptSection{N5}{n5}
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
\input{./data/testing/test.tex}
2020-05-20 10:19:01 +02:00
2020-05-28 23:38:36 +02:00
\jlptSection{N4}{n4}
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
% \input{./data/pages/n4.tex}
2020-05-20 10:19:01 +02:00
2020-05-28 23:38:36 +02:00
\jlptSection{N3}{n3}
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
% \input{./data/pages/n3.tex}
2020-05-20 10:19:01 +02:00
2020-05-28 23:38:36 +02:00
\jlptSection{N2}{n2}
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
% \input{./data/pages/n2.tex}
2020-05-20 10:19:01 +02:00
2020-05-28 23:38:36 +02:00
\jlptSection{N1}{n1}
2020-05-20 10:19:01 +02:00
2020-05-27 16:54:57 +02:00
% \input{./data/pages/n1.tex}
2020-05-20 10:19:01 +02:00
\end{document}