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

learn more… | top users | synonyms

0
votes
0answers
31 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} ...
2
votes
1answer
34 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
22 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} ...
1
vote
0answers
38 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 ...
0
votes
1answer
79 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, ...
1
vote
0answers
22 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
104 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
54 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
66 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 ...
1
vote
1answer
119 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} ...
2
votes
0answers
51 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} ...
3
votes
1answer
43 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 ...
2
votes
1answer
382 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
118 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
190 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. ...
1
vote
1answer
138 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} ...
1
vote
0answers
49 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{標楷體} ...
3
votes
1answer
62 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 ...
0
votes
0answers
42 views

Spacing between quote marks, letters and footnote number (xeCJK)

At the end of a line, a break sometimes happens between a quotation mark and the number of a footnote, while using xeCJK with xelatex. MWE: \documentclass{scrreprt} \usepackage{xeCJK} ...
0
votes
0answers
147 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
44 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
396 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
92 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
94 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
81 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
109 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 ...
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 ...
1
vote
1answer
219 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
193 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
323 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
72 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 ...
1
vote
2answers
231 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 ...
0
votes
1answer
754 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
217 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 ...
3
votes
2answers
443 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
997 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
206 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 ...
7
votes
4answers
952 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
205 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
163 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
144 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
176 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 “ ...
2
votes
1answer
495 views

Problem with XeTeX input and output encoding

As we all known, the TeX engine XeTeX takes UTF-8 as its default input and output encoding format. However, it provides two new primitive control sequences that could define input encoding: ...
3
votes
1answer
1k views

What packages are required for “setmainfont” and “setCJKmainfont”?

I've searched for this extensively but couldn't find anything that could help me, but if you know of some previous question that might help, feel free to point me to it. I have a document with ...
2
votes
0answers
89 views

Why xeCJK cannot work?

I tried to use LaTeX with the package xeCJK to typeset Chinese chars. But when I was compiling my .tex document, I got a lot of errors. The code and the screenshot of error msg are showed below. ...
5
votes
1answer
122 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
189 views

The package zhnumber without xeCJK

I need to use the function zhdigits from the package zhnumber to typeset a counter the way I want, i.e. convert 235 to 二三五. This package requires the package xeCJK to work properly, but xeCJK messes ...