Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cjk]

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

80
votes
5answers
76k 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 ...
50
votes
3answers
49k 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, ...
22
votes
4answers
14k 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 ...
22
votes
1answer
1k 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 ...
17
votes
1answer
2k 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 ...
16
votes
3answers
709 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 ...
14
votes
4answers
3k 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
3answers
4k 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 ...
14
votes
2answers
2k 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 ...
13
votes
2answers
1k 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 ...
13
votes
1answer
1k views

How do I combine fonts for different scripts?

I want to combine Helvetica World (for roman, cyrillic, greek and arabic) and Hei Std (for simplified chinese) in one document with LuaLaTeX. Hei Std probably hasn't all the glyphs from Helvetica ...
12
votes
2answers
514 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 ...
11
votes
1answer
3k 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 ...
11
votes
2answers
2k 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 ...
10
votes
2answers
3k 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 ...
10
votes
2answers
1k 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 ...
10
votes
2answers
6k 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 ...
10
votes
2answers
1k views

Japanese practise paper (Genkou Youshi)

I'm trying to figure out a way of creating a Japanese character practice sheet. The type that I'm looking to create looks a little like the Genkou Youshi that this question was looking to cover. ...
10
votes
1answer
3k 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....
10
votes
1answer
6k 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{...
10
votes
1answer
6k 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 ...
10
votes
1answer
2k 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: \...
9
votes
2answers
5k views

How can i use fonts other than gbsn/gkai for CJK Chinese?

The standard CJK package only provides 2 fonts for simplified Chinese, as described here. My question is how to create more fonts for it? I'm using MacTeX 2013 and UTF8 + CJK + pdflatex is the ...
9
votes
1answer
1k 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: ...
9
votes
2answers
15k 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, ...
9
votes
2answers
1k views

Manchu and Mongolian script

I am trying to write a document including Manchu script on a Mac. Manchu is written with the Mongolian alphabet with the addition of some diacritics, but the extra diacritics are included in standard ...
9
votes
2answers
2k views

problem about typesetting Chinese characters in Latex

I found the post How does one type Chinese in LaTeX? about how to typeset Chinese in Latex. I just encountered the same problem, and my questions are: 1.To type Chinese or Japanese, I have to have ...
8
votes
4answers
1k views

Verbatim, wrappable and Unicode text included from a file

I am trying to output several megabytes of UTF8 text into a printable format. As enscript and friends don't like Unicode, this Unix SE question soon turned to LaTeX. Summary of requirements: ...
8
votes
2answers
10k views

Type Chinese in TeX compiled with LaTeX

I would like to type Chinese in TeX compiled with LaTeX. I have read the previous post. As I have to stick on article as documentclass, the following solution works for me so far: % UTF-8 encoding % ...
8
votes
2answers
406 views

Is there any solution for highlighting text in CJK?

Is there any solution for highlighting texts or sentences in Chinese, Japanese, and Korean? I know none, at the moment. But this will be changed, if someone would like to help me with CJK in LaTeX. ...
8
votes
1answer
3k 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 ...
8
votes
1answer
486 views

Language-specific removal of diacritics from text and bibliography

I am using XeLaTeX and BibLateX to write papers in the humanities. I routinely use transcriptions of Chinese (pinyin), Korean (McCune-Reischauer), Japanese (Hepburn), Manchu (Norman) etc. In addition, ...
8
votes
1answer
597 views

Temporarily changing the spacing between Chinese text and numerals

When mixing Chinese text and non-math mode numbers together within a sentence, narrow numbers are given the same amount of space as characters: \documentclass{article} \usepackage{ctexcap} \...
8
votes
1answer
541 views

Old Korean han'gŭl in XeLaTeX?

Does anybody know if it's possible to typeset old han'gŭl (Korean alphabet) in XeLaTeX? I'm referring to these letters: http://en.wikipedia.org/wiki/Old_Hangul It is not possible to type outright ...
7
votes
4answers
2k 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 ...
7
votes
2answers
6k views

Packages CJK versus CJKutf8?

I read texdoc cjk and this CJK documentation recommends \usepackage{CJK} to enable CJK functionality. However, I see a lot of examples use \usepackage{CJKutf8}. The CJK package documentation doesn't ...
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
3answers
9k 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. ...
7
votes
2answers
2k views

Displaying the 64 hexagrams of the Yi Jing (using Unicode range 4DC0 up 4DFF)

I'm writing a book and I need to include the range of Unicode characters 4DC0 - 4DFF up to display the hexagrams of the Chinese book Yi Jing http://en.wikipedia.org/wiki/I_Ching I've used the ...
7
votes
3answers
3k views

Typesetting furigana above and below original text

I have followed Japanese Problem using MacTeX 2011 to set up Ruby Furigana with TeX. I'm wondering if it is possible to set up Furigana both above and below the original character?
7
votes
2answers
1k views

Which fonts to use with pinyin?

I have a document which contains some pinyin. I find that many fonts I tried, however, don't contain all of the tone marks. I have set up the following test file which shows all of the possible ...
7
votes
3answers
2k views

verbatim and CJK

I'm not familiar with chinese characters and fonts. But I have to type some characters into a document. XeLaTeX may be an option, but I'm looking for a solution with pdflatex. Here is my MWE, which I ...
7
votes
1answer
1k 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 (...
7
votes
1answer
552 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: ...
7
votes
1answer
191 views

pdflatex with precompiling does not support .Tex file with Chinese filename

First I am sure, pdflatex can compile Tex file with Chinese file name without problem. For example, the Tex source content is as follows \documentclass[UTF8,hyperref]{ctexart} \begin{document} 中文 ...
7
votes
2answers
445 views

Finding and displaying UTF-8 characters with xesearch

The xesearch package allows one to replace text with other text. E.g.: \documentclass{ctexbook} \usepackage{fontspec} \usepackage{xesearch} \SearchList{list1}{newspaper}{book} \begin{document} ...
7
votes
1answer
4k views

How to type Chinese characters in ShareLaTeX?

I'm going to type a few of Chinese characters among a bunch of English sentences, for example: Note: the first ":" introduces an extensive description of the sememe "tool|用具", describing what kind ...
7
votes
1answer
389 views

Glossaries with CJK characters

I'm trying to create a Japanese to English dictionary for particular words used earlier in my document. I successfully created an English to Japanese version using the glossaries package, now I want ...
7
votes
1answer
610 views

Ask for guidelines for building a Chinese chess with tikz

I want to build a showcase to demonstrate to my friends how powerful Tikz is. LOL But I am still new to Tikz, not sure how to handle this. I want to draw a Chinese chess (Xiangqi) with latex and tikz....
7
votes
1answer
2k views

Using CJK (Chinese/kanji) characters in math using unicode-math on lualatex

I'm trying to persuade the unicode-math package to let me insert CJK characters (Chinese ideograms) in math formulæ. Here's a sample input (the first few lines are merely to check that basic ...