You are not logged in.

#1 2012-10-12 08:48:34

Heikete
Member
Registered: 2007-04-28
Posts: 37

Latex - list all CJK font families

Recently I found out that there are several font families to choose when typing Japanese in latex.
However it's hard to find which fonts are actually avaliable and what to type into \CJKfamily{}
to trigger the desired font.
By searching briefly the dir-tree and list of files
http://www.archlinux.org/packages/extra … cjk/files/
I tried some names.

1. How do I list all the availiable CJK fonts.
2. Debian has an additonal package latex-cjk-japanese-wadalab claimed to have some improvements.
    Are they included to standard texlive CJK packages?
3. Some of the fonts focus on Chinese, so they miss some of Japanese characters i.e.: kai how to tell one from another?

Minimal working example:

    \documentclass[12pt]{article}
    %-------
    \usepackage{ucs}
    \usepackage[utf8x]{inputenc}
    \usepackage[english]{babel}
    %-------
    \usepackage[overlap, CJK]{ruby}
    \usepackage{CJKulem}
    \renewcommand{\rubysep}{-0.2ex}
    \newenvironment{Japanese}{%
    \CJKtilde
    \CJKnospace}{}

    \begin{document}
    \parskip 3ex
    \parindent 0pt
    \begin{CJK}{UTF8}{}
    \begin{Japanese}
    \CJKfamily{goth}
    私はテレビを見て風邪をひいています。 --- \textsf{goth}\\
    \CJKfamily{maru}
    私はテレビを見て風邪をひいています。 --- \textsf{maru}\\
    \CJKfamily{song}
    私はテレビを見て風邪をひいています。 --- \textsf{song}\\
    \CJKfamily{mj}
    私はテレビを見て風邪をひいています。 --- \textsf{mj}\\
    \end{Japanese}
    \end{CJK}
\end{document}

Offline

#2 2012-10-17 00:21:27

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,677

Re: Latex - list all CJK font families

See http://alexkrispin.wordpress.com/2010/0 … eshooting/

I know you are not using xelatex. However, I think that if you have the texlive fonts added to fontconfig's cache, that xelatex will find those which are good for Japanese along with other system fonts which are suitable for Japanese (but won't work with regular latex). I haven't tried this but it looks at least plausible.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

Board footer

Powered by FluxBB