{cjk} is about typesetting documents in Chinese/Japanese/Korean.

learn more… | top users | synonyms

5
votes
2answers
1k views

Typesetting pinyin finals

With the package \pinyin, it is possible to write pinyin using commands such as \bu4. This package produces much better tone marks than are provided by \', \v, etc. The package \pinyin includes all ...
4
votes
1answer
497 views

A couple of questions about Japanese in Title and Chapter; CJK parameters; best fonts, installing; memoir

I'm trying to produce a report using memoir and CJK and seem to keep running into a wall. I was hoping someone on here uses CJK and can point me in the right direction. First, if I want the entire ...
4
votes
1answer
925 views

Error compiling CJK with \tableofcontents and \makeindex

A basic document with Chinese text works fine: \documentclass{article} \usepackage{CJKutf8} \title{标题} \begin{document} \begin{CJK}{UTF8}{gkai} \maketitle (text) \end{CJK} ...
4
votes
1answer
618 views

TeXing special japanese characters

I want to TeX the Japanese characters 因子の部屋 (lit. "factor rooms"). How do I do that with LaTeX?
5
votes
3answers
272 views

question regarding CJK, mbox, and newcommand

I am having quite a difficult time understanding the following behavior. I am trying to use a Japanese character in math mode. Within a certain latex document using CJK, the following code renders ...
13
votes
3answers
1k views

How can I make a stroke order diagram for Chinese characters?

I would like to make a simple document explaining how to write certain Chinese characters. The standard method, which is used in many textbooks, is to first show the complete character and then a ...
2
votes
1answer
1k views

miktex can't find udmj.cfg

I'm trying very hard to compile the minimal document in this example. I just want to use CJK on my Windows install of Miktex and it always fails with this message: miktex-makemf: The udmj source file ...
2
votes
1answer
848 views

Specifying CJK fonts for pdftex and CJK.sty

I'm compiling a Japanese TeX file written with CJK.sty, and using the IPA fonts. I used ttf2tfm to generate tfm files. Is there a way to tell pdftex that a set of tfm files correspond to one Unicode ...
1
vote
1answer
601 views

CJK package and \figurename

I'm using the cjk package to typeset a Japanese document, but somehow can't change the \figurename into CJK. I tried in the preamble, \renewcommand{\figurename}{図} but it only give me an empty ...
6
votes
2answers
1k views

Change XeTeX fonts automatically depending on Unicode blocks

I would like to move from p(La)TeX (which was a TeX system specifically tailored to Japanese in a pre-Unicode era) to Xe(La)TeX, and I'm having a problem. In p(La)TeX, Japanese fonts are only used ...
11
votes
2answers
195 views

How to create a table of random characters in XeTeX

I want to create a table of 1000 characters picked randomly from the unicode block "unified CJK ideograms" (4E00-9FFF). Each cell should contain exactly one huge character, no character should appear ...
34
votes
5answers
21k views

How does one type Chinese in LaTeX?

Can anyone describe how one can type Chinese in LaTeX? When I compile this: \documentclass{article} \begin{document} 你好吗? \end{document} the resulting document shows nothing. For reference my IME ...
4
votes
1answer
594 views

How to write spaces between Korean words with XeCJK?

I'm just trying to get LaTeX output spaces between Korean words. At the moment all it can do is to give long chains of syllables just like in Chinese or in Japanese, ignoring all the spaces I set. ...
14
votes
3answers
4k views

How do I get Korean (Hangul) characters to typeset in LaTeX ?

I've been unable to find a concise answer anywhere else on the web. Since its only a few words, albeit crucial ones, that are in Korean I don't want to have to muck around with HLaTex or deviate from ...
4
votes
1answer
1k views

CJK-friendly Ubuntu editor or IDE for XeLaTeX

I've seen this discussion about the best IDEs for LaTeX on Ubuntu: XEmacs/AucTeX is recommended by my colleagues off of this site. However, I'm interested in the specific case of mixed CJK/Roman ...
5
votes
1answer
448 views

high and low CJK codepoints in a single XeLaTeX document

I often require a combination of CJK characters with both low and high codepoints in the same line of text. (Here "low" means "in the Basic Multilingual Plane" or BMP, with codepoint lower than hex ...
6
votes
1answer
425 views

Suppress space between Chinese and Roman typeface in XeLaTeX

When the Roman characters [a-z0-9] and Chinese characters alternate in XeLaTeX, a space is automatically entered between the two types of character. For example, both Abcde我fg and Abcde 我 fg produce: ...
30
votes
3answers
17k views

How to write Japanese with LaTeX?

I've recently started to use LaTeX but I've just encountered a problem, I tried searching it, although apparently no-one asked it before. I'd like to write using Japanese input, but when I typeset, ...
2
votes
2answers
670 views

dvips: ! Bad PK file

Here is my latex code: \documentclass{ctexart} \begin{document} 中文宏包测试 \end{document} I install the ctex and zhmetrics with Texlive, but I still get the error message: dvips: ! Bad PK file ...
1
vote
1answer
330 views

pdflatex.exe failed to compile an input file with BOM (Byte Order Mark) [duplicate]

Possible Duplicate: LaTeX baffled by BOM---Unicode's byte order mark. \documentclass[12pt,a4paper]{article} \usepackage{CJK} \usepackage{pinyin} \begin{document} ...
5
votes
2answers
443 views

linebreaks for cjk languages?

What do I need to write documents in a CJK language? I'm getting no linebreaks at all on Japanese text. (overfull hboxes, text going off-page) Here is a (mostly) stripped-down test: ...
1
vote
2answers
642 views

Japanese flashcards

I wanted to make some flashcards for learning japanese. I've found the flashcard class and some japanese output package (ucs, CJK). But they don't seem to work together. I've coded the following as an ...
2
votes
1answer
823 views

Han characters replace Hiragana when using Meiryo font with CJK

I've been trying to get the Meiryo font to work with LaTeX CJK for quite a while now, but for some reason or other it's always refused to work. I gave it another go today, and managed to actually get ...
4
votes
2answers
962 views

Latex: Pinyin below Chinese characters

I would like to enter a Chinese (Simplified) Characters in a TeX doc that is rendered by XeTeX and have the Pinyin transcription automatically added below the according characters. So, I only enter ...
5
votes
2answers
1k views

Tone marks above Chinese characters in latex

My aim is to put tone marks above Chinese characters in latex. I have tried \v{好}, but this puts the carron accent (3rd tone) in the space left of the character rather than above it. I have also ...