You are not logged in.

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

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

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: 7,132

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.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB