% Créé le lun 30 oct 2006 06:34:00 CET - MOUTINHO Julien
% On peut trouver un peu d'aide sur LaTeX ici : http://www.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/ltx-2.html
%  en plus de l'aide teTeX ici : file:///usr/share/texmf/doc/index.html
% Aide avancée : http://www-sop.inria.fr/miaou/tralics/
% Exemples d’utilisations de langues exotiques : file:///usr/share/doc/texmf/latex/latex-cjk/examples/
\documentclass[a4paper, 12pt, final]{article}
\usepackage[top=2cm, bottom=2cm, left=0.42cm, right=0.42cm]{geometry}
\usepackage{fancyhdr}
\usepackage[T1]{fontenc}
\usepackage{CJKutf8}
\usepackage[USenglish]{babel}
\usepackage[overlap, CJK]{ruby}
\usepackage{CJKulem}
\usepackage{ulem}
\usepackage[scaled=0.76]{berasans}% libre \o/

\renewcommand{\rubysep}{-0.2ex}

\newenvironment{Japanese}{%
  \CJKfamily{min}%
  \CJKtilde
  \CJKnospace}{}

% FONCTIONS USUELLES
%
% rom
\newcommand{\rom}[1]{%
    {\fontfamily{fvs}\footnotesize\itshape{#1}}%
}
% kana
\newcommand{\kana}[1]{%
    {\Large{#1}}%
}
% syl
\newcommand{\syl}[2]{%
    \kana{#1} & {\rom{#2}}%
}
%
% ENTETE ET PIED-DE-PAGE
%
\fancypagestyle{plain} {
    \fancyhf{}% efface entêtes et pied-de-pages
    \fancyhead[L]{\fontfamily{fvs}\slshape v.~1.42 --- lun 30 oct 2006}% version - date
    \fancyhead[R]{\fontfamily{fvs}\slshape\large Katakana}
    \fancyfoot[C]{\fontfamily{fvs}\slshape «~Kanji \& Kana~», W.~Hadamitzky et P.~Durmous}
    \renewcommand{\headrulewidth}{0.42pt}
    \renewcommand{\footrulewidth}{0.42pt}
}

\begin{document}
%
% POLICE COURANTE
%
    \flushleft
    \renewcommand*\familydefault{fvs}
    \fontfamily{fvs}
    \fontseries{m}
    \fontshape{n}
    \selectfont
    \pagestyle{plain}

    \parskip 3ex
    \parindent 0pt

    \begin{CJK}{UTF8}{}
        \center{\fontsize{42}{0}
    \begin{Japanese}
        \ruby{片}{カタ}\ruby{仮}{カ}\ruby{名}{ナ}
    \end{Japanese}
    }\\\ \\
    \huge
    \begin{Japanese}
    \begin{center}
    \begin{tabular}{|lr|lr|lr|lr|lr|lr|lr|lr|}
        \hline
        \syl{ア}{a} & \syl{イ}{i} & \syl{ウ}{u} & \syl{エ}{e} & \syl{オ}{o} & \syl{ヤ}{ya} & \syl{ユ}{yu} & \syl{ヨ}{yo} \\
        \hline
        \syl{カ}{ka} & \syl{キ}{ki} & \syl{ク}{ku} & \syl{ケ}{ke} & \syl{コ}{ko} & \syl{キャ}{kya} & \syl{キュ}{kyu} & \syl{キョ}{kyo} \\
        \hline
        \syl{サ}{sa} & \syl{シ}{shi/si} & \syl{ス}{su} & \syl{セ}{se} & \syl{ソ}{so} & \syl{シャ}{sha/sya} & \syl{シュ}{shu/syu} & \syl{ショ}{sho/syo} \\
        \hline
        \syl{タ}{ta} & \syl{チ}{chi/ti} & \syl{ツ}{tsu/tu} & \syl{テ}{te} & \syl{ト}{to} & \syl{チャ}{cha/tya} & \syl{チュ}{chu/tyu} & \syl{チョ}{cho/tyo} \\
        \hline
        \syl{ナ}{na} & \syl{ニ}{ni} & \syl{ヌ}{nu} & \syl{ネ}{ne} & \syl{ノ}{no} & \syl{ニャ}{nya} & \syl{ニュ}{nyu} & \syl{ニョ}{nyo} \\
        \hline
        \syl{ハ}{ha~(wa)} & \syl{ヒ}{hi} & \syl{フ}{hu/fu} & \syl{ヘ}{he~(e)} & \syl{ホ}{ho} & \syl{ヒャ}{hya} & \syl{ヒュ}{hyu} & \syl{ヒョ}{hyo} \\
        \hline
        \syl{マ}{ma} & \syl{ミ}{mi} & \syl{ム}{mu} & \syl{メ}{me} & \syl{モ}{mo} & \syl{ミャ}{mya} & \syl{ミュ}{myu} & \syl{ミョ}{myo} \\
        \hline
        \syl{ラ}{ra} & \syl{リ}{ri} & \syl{ル}{ru} & \syl{レ}{re} & \syl{ロ}{ro} & \syl{リャ}{rya} & \syl{リュ}{ryu} & \syl{リョ}{ryo} \\
        \hline
        \syl{わ}{wa} & \syl{ヰ}{\sout{wi}} & & & \syl{ヱ}{\sout{we}} & \syl{を}{wo} \\
        \hline
        \syl{ガ}{ga} & \syl{ギ}{gi} & \syl{グ}{gu} & \syl{ゲ}{ge} & \syl{ゴ}{go} & \syl{ギャ}{gya} & \syl{ギュ}{gyu} & \syl{ギョ}{gyo} \\
        \hline
        \syl{ザ}{za} & \syl{ジ}{ji/zi} & \syl{ズ}{zu} & \syl{ゼ}{ze} & \syl{ゾ}{zo} & \syl{ジャ}{ja/zya} & \syl{ジュ}{ju/zyu} & \syl{ジョ}{jo/zyo} \\
        \hline
        \syl{ダ}{da} & \syl{ヂ}{(ji)} & \syl{ヅ}{(zu)} & \syl{デ}{de} & \syl{ド}{do} & \syl{ヂャ}{(ja)} & \syl{ヂュ}{(ju)} & \syl{ヂョ}{(jo)} \\
        \hline\hline
        \syl{バ}{ba} & \syl{ビ}{bi} & \syl{ブ}{bu} & \syl{ベ}{be} & \syl{ボ}{bo} & \syl{ビャ}{bya} & \syl{ビュ}{byu} & \syl{ビョ}{byo} \\
        \hline
        \syl{パ}{pa} & \syl{ピ}{pi} & \syl{プ}{pu} & \syl{ペ}{pe} & \syl{ポ}{po} & \syl{ピャ}{pya} & \syl{ピュ}{pyu} & \syl{ピョ}{pyo} \\
        \hline
        \syl{ン}{n} & \\
        \cline{1-2}
    \end{tabular}
    \end{center}
    \end{Japanese}
    \end{CJK}
\end{document}
% vim:tw=0
