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

learn more… | top users | synonyms

53
votes
5answers
38k 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 ...
40
votes
3answers
27k 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, ...
16
votes
3answers
6k 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 ...
15
votes
1answer
1k views

“Interactive PDF, Latex and Article of the Future” with opentype/truetype fonts and unicode

I'm looking for a way to get popup references when hovering with the mouse cursor over the references in my papers. I looked around on this forum and found this question and hpesoj626's answer very ...
9
votes
1answer
2k views

Vertical Chinese text with XeTeX

How can I place vertical Chinese text for some of the text in a document? I think the CJK package can do this, but with XeTeX one generally uses xeCJK. I could not find these options in the ...
9
votes
2answers
781 views

xeCJK messes with punctuation

Neither a question nor really a complain, but I find I cannot use xeCJK in multilingual documents (in the present case French + English + Chinese), simply because it messes with the punctuation in the ...
11
votes
2answers
1k views

Chicago-style citations of CJK documents (e.g. American Oriental Society): Name order; transcribed/translated titles

Is there a way to produce Chicago-style citations of material written in Chinese, Japanese, for an English-language paper using biblatex-chicago? I want to produce a citation that looks like: Li ...
7
votes
2answers
2k 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 ...
7
votes
1answer
4k views

How to insert three Chinese characters?

I am a rank novice in TeX. I read an earlier TeX question about how to display Chinese characters but it seemed to be in context of an article entirely in Chinese. My document is an English article ...
3
votes
1answer
403 views

Use of Chinese numers similar to \Roman and \Arabic

When formatting sections, I see things like \renewcommand \thesection{\Roman{section}}. I'm currently working on a set of Japanese History course notes, how would one go about defining a \Chinese ...
6
votes
2answers
2k 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 ...
11
votes
4answers
2k views

Displaying pinyin over Chinese characters, without impacting word spacing

I want to display pinyin (romanized form) over Chinese characters. However, the two methods I know (using stackrel or tabular both change the spacing between characters. This demonstrates the problem: ...
14
votes
2answers
595 views

Japanese and Russian Characters in the same Document

I'm writing a document in English. However, I need to use a few words of both Japanese and Russian. In principle, it seems to work, but as soon as I used Japanese characters, I cannot use Russian ...
5
votes
1answer
495 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 ...
17
votes
3answers
458 views

How to draw a picture by using tikz as backgroud of a character?

I am writing some Chinese character and hope to draw simple pictures by tikz and use it as background of this chinese characters. In a short I'd like to get some results as this picture (ignore the ...
21
votes
1answer
758 views

Russian and Japanese and biblatex oh my

I'm trying to typeset a book with bibliography entries in English, Russian and Japanese. Getting the bibliography to work right is driving me mad. I have got pretty close (I think) by cobbling ...
10
votes
1answer
762 views

How can I write an English document with a few words of Thai, Japanese, and Chinese?

I'm writing a document which is 99% English but needs a few words of other languages, including Thai, Japanese, and Chinese. I've had success with the latter two, but I'm stuck on Thai. Here's a MNWE: ...
6
votes
1answer
2k views

Combining Chinese, Japanese and Korean text with xeCJK

When combining Chinese, Japanese and Korean text in a document, is there a way to define individual fonts for the respective characters? Especially for Korean, since few fonts support Cn/Jp AND Korean....
8
votes
2answers
3k views

Standard CJK fonts for LaTeX?

TUG maintains an extensive catalogue of fonts at http://www.tug.dk/FontCatalogue/allfonts.html . Is there also one maintained for CJK fonts? I've been using XeLaTeX on OS X with my own fonts, mostly ...
7
votes
1answer
940 views

How to input kana with PDFLaTeX?

There are a lot of topics about how to use Japanese font, but, often the answer is: use XeLaTeX (or some other), or worse, it's just doesn't work at all. So, knowing that I'm working with PDFLaTeX (...
6
votes
1answer
468 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: ...
5
votes
2answers
3k views

Chinese typing on mac

I want to type Chinese with latex. I have new installed mac OS system (English). I use texshop as IDE. And now I keep getting simsun or simhei not found error. I guess these fonts are windows fonts. ...
9
votes
1answer
4k views

pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) has been already used, duplicate ignored

I've tried to make bilingual caption with package "ccaption" and compiled it with pdfLaTeX. It works fine but with a warning: pdfTeX warning (ext4): destination with the same identifier (name{...
9
votes
1answer
1k views

Getting started with Chinese in ConTeXt

I am trying to setup a basic document with ConTeXt, but I am having difficulty even getting started. First, I tried the documentation at ConTeXt wiki: Chinese. I tried the sample code on that page: \...
4
votes
1answer
725 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. ...
2
votes
1answer
2k 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
2answers
2k views

MiKTeX 2.9 CJK Korean font not found error

After a day of trying to use Korean fonts in my LaTeX file, I ask this forum for some helpful insight. I'm using MiKTeX 2.9 (just upgraded a few days ago from 2.7). So far, I have been able to use ...
2
votes
1answer
1k 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 ...
9
votes
2answers
508 views

How to use Chinese with lualatex?

Searching through tex.stackexchange.com, I've come to understand that xetex is currently the preferred engine for documents that include Chinese characters. In xetex, one simply uses the xeCJK or ctex ...
9
votes
2answers
8k views

How to customize Beamer “definition” environment?

I want to redefine the "definintion" block environment. From the original to this: \begin{定理} 定理内容(theorem details) \end{定理}. After a lot of test I notice there are some difference among Definitions, ...
7
votes
4answers
983 views

Why doesn't my Chinese character display properly?

I'm trying to produce the character 𡰞, which is in unicode and as far as I'm able to ascertain included in my font HanaMinA. The character displays properly in Firefox as well as when I copy it into ...
6
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
745 views

Vertical Chinese text in Italic and bold with uplatex

I want to typeset some ancient writings in Chinese, but there is no derictly class of document to use. Then I try uplatex. I create a sim.map file whose content is: urml UniGB-UTF16-H simsun....
5
votes
2answers
1k views

How to select a font for the main Chinese character and another font for its Furigana?

The objective is to make a list of Japanese vocabularies with Kanji stroke order for the main characters, its furigana (small kana characters placed above the main characters), and its meaning (in ...
2
votes
0answers
66 views

Chicago-style citations of CJK documents #2

I'm regularly citing East Asian material in styles similar to HJAS (but sometimes in the author-date style). This has been possible thanks to the ingenious solution offered in Chicago-style citations ...
1
vote
2answers
401 views

Russian and Chinese in the same document

I'm writing a document that is going to required having Russian, Chinese characters, and English. I'm using CJK and babel and example code is below: \documentclass[12pt]{article} \usepackage[margin=...
7
votes
1answer
1k views

What Chinese fonts can I rely on to be in Mac and Linux?

See this comment; I am involved in a project that needs to have (automatic) XeLaTeX compilation of various language files on both Mac and Linux (usually Fedora or Debian or Ubuntu), and apparently ...
6
votes
1answer
501 views

Graphite features (Chinese Pinyin and low diacritics) on Gentium Plus

I'm trying to activate the Graphite features on Gentium Plus (Chinese Pinyin tone marks + low diacritics). This is my minimal example: \documentclass[utf8,12pt,letterpaper]{article} \usepackage{...
5
votes
1answer
301 views

MonTeX (mls, manju, mongolian) with Latin script with diacritics

I am using the montex package to type text in Manchu (manju). In my documents, I also use Latin script with diacritics. When I load montex, these diacritics no longer appear, and when characters with ...
5
votes
1answer
2k views

Why Glossaries with Xindy unable to execute(cannot find the correct PATH)?

After I compiled a tex file by xelatex, I use Glosarries with Xindy to make a index, it reported: $ makeglossaries test makeglossaries version 2.04 (2012-05-19) added glossary type 'main' (glg,...
5
votes
1answer
124 views

Spacing only works in xeCJK for Chinese and Japanses but not Korean

\documentclass{article} \usepackage{xeCJK} \setCJKmainfont{Batang} \CJKspace \begin{document} 一二三四五 一 二 三 四 五 あいうえお あ い う え お 일이삼사오 일 이 삼 사 오 \end{document} I'm trying to write something ...
4
votes
2answers
777 views

Korean Characters Not Working [duplicate]

I set up hlatex (the package for compiling in Korean) but when I build the file, I end up getting ?? instead of 안녕. How do you fix this? MWE: \documentclass{article} \usepackage{hangul} \begin{...
3
votes
1answer
428 views

Producing html for Chinese documents with Tex4Ht

I'm using TexLive 2011 on Ubuntu 11.10. Take this for example: \documentclass[UTF8]{ctexart} \begin{document} 文章内容。 \end{document} Then I run htlatex test.tex to convert it to html, but after ...
3
votes
1answer
65 views

using pinyin package with xelatex

I am trying to use the pinyin package for glossing Chinese text. There are two problems: First, it complains about \Xiand \Pi allready being defined and second the dash about the a and the e is not ...
2
votes
1answer
150 views

How to put kana with CJK in the name of a “polyglotic” glossary entry?

After discovered how to mix glossary and acronym system (See here), and how to put kana/kanji working with pdfLaTeX (See here), I was trying to mix the both, in order to create kind of dictonnary, ...
2
votes
1answer
186 views

building a table of images

I seem to have run into an impassable issue that I need help solving, and I am 100% aware that this is impossible just pure LaTeX but I wish it was. So onto the question at hand. I am wanting to ...
1
vote
1answer
415 views

copy/pastes odd chars from a document written using hangul package

Recently i've been involved in writing document in Korean. I've managed to install the hangul package and write the following statement : \usepackage{hangul} % pretty simple everything was fine ...
1
vote
1answer
678 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 ...
0
votes
1answer
56 views

description list with long label and wrapping run into the second label, and problem with \tcbline in tcolorbox package

This problem is related to this one Since long enumerate list is not acceptable in table, we have to live with list. Ulrike Fischer provide a frame work to attack this problem with package tcolorbox. ...