{xecjk} is a LaTeX package for typesetting Chinese, Japanese and Korean under the XeTeX engine.

learn more… | top users | synonyms

3
votes
1answer
28 views

How to put CJK in subscript

I want to put a hiragana character in subscript. I have this: \documentclass[a4paper,fontsize=13pt]{scrartcl} \usepackage{xeCJK} \setmainfont[Mapping=tex-text]{Ubuntu} \setCJKmainfont{VL Gothic} \...
5
votes
1answer
38 views

How do I create typeset a document containing obscure Chinese characters?

I have a document with a mix of English, simplified and traditional Chinese characters, and some obscure characters that are typically only used as components in other characters. I'm trying to ...
1
vote
1answer
147 views

How to prevent Furigana (Hiragana put above Kanji) from being copied?

The following MWE will generate pages containing Kanji with Furigana. A Furigana is a text put above Kanji to let us know how to pronounce the Kanji. MWE \documentclass{book} \usepackage{xeCJK} \...
0
votes
1answer
60 views

Improving compile time with xelatex

I'm currently compiling a document using xelatex. I've included a lot of packages that I think slow it down. Here's my preamble: \documentclass{article} \usepackage{cite} \usepackage{pdfpages} \...
6
votes
1answer
65 views

algorithm2e and xeCJK cause TeX capacity exceeded on texlive2016

My document cannot be compiled after I updated texlive on my Mac to version 2016. It works fine on texlive 2013. Here is an example: \documentclass[12pt]{report} \usepackage[vlined,linesnumbered,...
1
vote
1answer
35 views

Conflict between `ruby` and `xeCJK`

In my preamble I call xeCJK and ruby in order to add ruby text to Japanese characters. I'm compiling with xetex. Someone mentioned in an earlier post that ruby calls CJK causing a compile error (the ...
0
votes
1answer
98 views

Change fontsize for CJK characters?

I have the following example: \documentclass[10pt, a4paper, parskip=full]{article} % twoside can be added if two sided margin layout is desired \usepackage[a4paper,vmargin={30mm, 20mm},hmargin={30mm, ...
0
votes
0answers
69 views

Use Fandol fonts to create PDF with Chinese

I am using xeLaTeX to create PDF with Chinese characters. This is my code: \documentclass[openany,a4paper,11pt]{book} \usepackage{ctex} \setCJKfamilyfont{song}{FandolSong-Regular.otf} \...
1
vote
1answer
177 views

Changing Chinese Font Size

I've tried to set the default font size through the documentclass optional parameter but the font size hasn't changed. I'm using xetex with texmaker. My document: \documentclass[60pt]{ctexart} \...
2
votes
1answer
41 views

Spacing around CJK text with ucharclasses package

I'm modifying a .sty file that's used with documents that includes Latin, Arabic and Japanese text intermingled without specific markup. I am using xeCJK to identify the Japanese text and ...
2
votes
0answers
23 views

Blank Output for Chinese Characters in LaTex

I have installed all the .sty packages that needed to type Chinese in LaTex, and I used the code below: % UTF-8 encoding % XeLaTeX \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{...
4
votes
1answer
454 views

xeCJK l3-too-old

I started using XeTeX and whenever I use the xeCJK package I get the following error: ! Critical xeCJK error: "l3-too-old" ! ! ! Support package 'expl3' too old. ! ! Please update an up to date ...
1
vote
0answers
40 views

Beamer: My subsection bullets in navigation bar doesn't jump by clicking when I use XeLaTeX, though the pdfLaTeX can render it normally

\documentclass[compress]{beamer} \usetheme{Dresden} \usecolortheme{crane} \title{\LaTeX~\textsc{Beamer}Testing} \author{Testname} \institute{Testing University} \setbeamertemplate{navigation symbols}{}...
1
vote
0answers
23 views

Using xeCJK package, there is no space shown after comma

\documentclass{book} \usepackage{xeCJK} \begin{document} \chapter{Unit 503} \section{Part B Dialogue Intepreting} \subsection*{Dialogue 1: Employment Support} Good morning, Mr. Li. Thank you for ...
5
votes
1answer
105 views

XeLaTeX is not typesetting correctly with xeCJK after texlive update

After a tlmgr update --self --all two days ago, I have had problems with xeCJK with XeLaTeX. Some documents won't compile at all, and others have strange problems. For simplicity, I tried the ...
4
votes
1answer
58 views

Allowing hyphenation line breaks only when hyphens are placed intentionally

I am trying to typeset a document using XeTeX that uses Tâi-lô (Taiwanese romanization), which separates syllables in a word with hyphens, meaning hyphens are very common. I am also using the paracol ...
4
votes
1answer
68 views

How to prevent XeLaTeX from dynamically enlarging or shrinking space after comma?

See the following output. Question How to prevent XeLaTeX from dynamically enlarging or shrinking space after comma? force XeLaTeX to break long sentences automatically without having to ...
2
votes
0answers
58 views

Warning using microtype and exCJK packages

Compiling the following MWE \documentclass[twoside,10pt,a4paper]{report}%,twocolumn \usepackage{ifpdf} \usepackage{lipsum} \usepackage{microtype} \usepackage{fontspec} % \usepackage{xeCJK} \begin{...
3
votes
1answer
46 views

xeCJK breaks non-Chinese characters

\documentclass{article} \usepackage{fontspec} \usepackage{xeCJK} \setCJKmainfont{AR PL UMing CN} \begin{document} something… x’s \end{document} gives me the following output: obviously the ...
3
votes
1answer
454 views

Chinese characters

In an article mostly in English in one quotation there are a few words in Chinese characters. Using the xecjk package for xelatex they mostly get displayed, but two of the word contain characters ...
1
vote
2answers
128 views

Error using microtype and xeCJK package

I’d like to use the microtype and xeCJK packages in one document: \documentclass{scrreprt} \usepackage{microtype} \expandafter\let\csname xetex_suppressfontnotfounderror:D\endcsname \...
1
vote
0answers
226 views

Font 'Kaiti SC Regular' does not contain script 'CJK'

I use xelatex to support Chinese, \usepackage{xeCJK} \defaultfontfeatures{Mapping=tex-text} \setCJKmainfont[BoldFont=Kaiti SC Bold]{Kaiti SC Regular} but it occurs warnings: *fontspec warning: "...
4
votes
1answer
55 views

xecjk: Problem compiling a small number of chinese characters. Example: 為 complies fine but 爲 will give me a  in the pdf. Any advice?

I am using xeCJK for Chinese document typefacing on Ubuntu 14.04. I use: texmaker 4.4.1, included fontspec package. I complied using XeLatex and in general have little problem over the last 2-3 years. ...
3
votes
1answer
69 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 ...
1
vote
0answers
55 views

Chinese punctuation not showing in output

Does anyone know how to get the following Chinese character to display? MWE: \documentclass{article} \usepackage{xeCJK} \usepackage{zhnumber} \usepackage{cjknumb} \setCJKmainfont{標楷體} \begin{...
0
votes
0answers
162 views

ruby furigana + increased ruby size + verse environment = unwanted whitespace

I'm trying to typeset song lyrics in Japanese. I want the words to be accompanied by furigana glosses, as provided by the ruby package. But the default ruby size is too small, so I increased it as ...
0
votes
0answers
47 views

Which else Tex editors for windows are such that XeCJK is smoothly workable?

I already know there are Tex editors compatible with XeLaTeX, say Texstudio and Texworks, so that they can process the XeCJK package. But I find that these two editors somehow get slow when using ...
3
votes
1answer
464 views

How to use CJK font in Mac OS?

OS: Mac OS X 10.10 I am trying to write an article in Chinese and English. The preamble is: \usepackage{fontspec} \usepackage{xeCJK} \setmainfont{Times New Roman} % Set main font for ASCII \...
2
votes
0answers
94 views

XeLaTex and Noto fonts [duplicate]

I get an error - xdvipdfmx:fatal: sfnt: Freetype failure... - when trying to use Google Noto fonts. How should I proceed? MWE: \documentclass[a4paper,12pt]{article} \usepackage{xeCJK} \...
0
votes
0answers
102 views

Should I use fontspec with XeLaTeX + xeCJK?

Everything is in the title. I am currently typesetting a bilingual (French/Japanese) document using XeLatex. xeCJK takes care of the Japanese part and polyglossia takes care of the French part. \...
1
vote
0answers
85 views

xeCJK - CJK text colors for customized commands not changing as specified

I'm using the template Deedy-Resume to create my resume. English version works fine, however I'm not sure how to create a Chinese version properly. I used the package xeCJK. The fonts are rendered but ...
5
votes
1answer
115 views

How to enable OpenType font features for Hangul?

In my document, I need to typeset some Hangul syllables that are not available as composite characters. I tried to set this up as in this MWE: \documentclass{article} \usepackage{fontspec} \...
4
votes
1answer
64 views

Unwanted behavior of Chinese punctuation mark getting incorporated into the URL right before it

Minimal working example: % !TeX program = XeLaTeX \documentclass[12pt]{article} \usepackage{xeCJK} \setCJKmainfont{標楷體} \begin{document} 網址:http://www.google.com/。 \end{document} When I open the ...
1
vote
2answers
259 views

xeCJK doesn't find a font from file

So far I successfully used a Chinese font from a file. Now I decided to use the package xeCJK and my setup does not work anymore. Would you please suggest what should I add for xeCJK? In an example ...
2
votes
2answers
124 views

Too narrow kerning with xeCJK

I'm trying to typeset Japanese using xelatex and the xeCJK package. For some reason, small kana cause odd kerning in the text. In the following example, I get too narrow spacing between two small kana,...
1
vote
1answer
235 views

Missing characters when typesetting Chinese in LaTeX

I posted this question in stack overflow, but didn't get an answer, I'm trying here to see if I have better luck. I'm trying to include some Chinese characters in a LaTeX document. I've tried several ...
4
votes
2answers
205 views

Incorrect Chinese punctuation spacing

When typing Chinese using xeCJK, periods and/or closing square brackets are too closely spaced together. How can I get more natural-looking spacings (e.g., tweaking xeCJK settings to match the Word ...
6
votes
1answer
352 views

Strange spacing with ruby (furigana) package

If I use the ruby package to supply furigana for a kanji character, it seems to glue the characters right adjacent to the kanji closely together and preventing line breaks, creating odd and possibly ...
2
votes
1answer
75 views

My CJK punctuation sits in a margin

I'm trying to forge a macro to produce nice formatting for pairs of sample Japanese sentences and their translation, but I seem to have run into a problem with indentation. If I have a hard line ...
0
votes
1answer
840 views

the error Missing number, treated as zero in tabular

there is my code \documentclass[a4paper,12 pt,adobefonts]{ctexart} \usepackage{xeCJK} \usepackage{caption} \usepackage{multirow}%跨行表格 \usepackage{bigstrut} \renewcommand{\arraystretch}{1.3} \...
6
votes
3answers
226 views

Problem with the zhnumber package

I am trying to write about numerals and the use of symbols. As an example I would like to use chinese/japanese symbols to show a multiplicative system. I have come up with the package zhnumber which ...
1
vote
0answers
40 views

Why does \noindent with CJK text prevent document from compiling?

I had a large linguistics example document with example text from many different languages, which stopped compiling when I transferred it to a new Mac (with all the same software and TeX distribution)....
3
votes
2answers
468 views

Fontspec/xeCJK AutoFakeBold and copyable Chinese characters in PDF

I'm writing a document in mixed English and Chinese (with the xeCJK package. I want to add some fake bold headlines using the font Kaiti SC. When I do this using the AutoFakeBold option, this makes it ...
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 ...
7
votes
4answers
1k 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 ...
2
votes
0answers
216 views

Overlapping Chinese characters using xeLatex kaiu TrueType Font - Windows [closed]

I am quite new to using xeCJK and xelatex in general, so please bear with me. I tried the following code: Code: \documentclass{article} \usepackage{graphicx} % for \rotatebox \usepackage{...
6
votes
1answer
210 views

Allow/force word wrapping at ideographic spaces

I am making a set of flashcards to help me practice my kanji, and the format I want is quite simple: On the front, I'll have the character, and on the back I will have its meanings and readings (with ...
4
votes
1answer
168 views

fontspec and xeCJK conflict: tie (\t{}) over Latin character displaced one position

I want to create a tie over ng by typing: \t{ng}: The following minimal example causes the tie over ng to be displaced one position to the right, so that it appears over the g and empty space. The ...
11
votes
1answer
146 views

Detect if a character is Chinese character

(XeLaTeX + XeCJK) I am trying to translate an English document. I need to convert all '.' to '。' if the antecedent character is a Chinese character. I am using xstring to accomplish this object but I ...
3
votes
1answer
180 views

xeCJK messes up typographical quot and — [duplicate]

Using: XeTeX 3.1415926-2.5-0.9999.3 (TexLive 2013) on openSuse 13.1 Setting up a multilingual buddhist glossary I have encountered the problem that closing (German) typographical quotation marks “ ...