Questions tagged [cjk]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Section name with UTF-8 characters using CJK package with beamer

I am using PdfLatex to generate some slides, but I have some troubles using the CJK package to include UTF-8 characters. The source code is attached below. When generating the pdf file, I get an ...
1
vote
0answers
15 views

Navigating between sections in Beamer with CJK package

I am writing some slides using Beamer, and the slides contains UTF-8 characters. For example, here is a version without UTF-8 characters: \documentclass{beamer} \usepackage{CJKutf8} \begin{document} %...
4
votes
2answers
133 views

Mixing Chinese Characters with English (Main Language) in 2019 | What is the “State of the Art”?

I have a English document (in UTF8) and want to place in some placed Chinese translations (single words: symbols and pinyin, which is the Latin character version). Ideally, I want to use pdflatex (or ...
3
votes
1answer
22 views

Incompatibility of packages ucs, CJKutf8, siunitx

I am using pdftex to write a book that mixes mathematics, Chinese and transliterated Arabic. The following setup \documentclass{article} \usepackage{ucs} \usepackage{CJKutf8} \usepackage{siunitx} \...
2
votes
2answers
56 views

Disabling the printing of language only, while using the macro based on language specification in biblatex

I am a Japanese wanting to cite English and Japanese documents. As far as my knowledge goes, there is no neat standard solution in biblatex for dealing with oriental languages in showing surname first ...
3
votes
0answers
34 views

Typesetting bopomofo (zhuyinfuhao) on right side of Chinese characters with ruby

I am writing a document mostly in English with a few Chinese examples. I would like to be able to typeset the Chinese characters with bopomofo (zhuyinfuhao) annotations to the right side of the ...
7
votes
1answer
105 views

Fandol with LuaTeX

The next release of babel will provide basic line breaking for CJK with luatex. When I was making some experiments I discovered an odd and puzzling behaviour in the Fandol family. The file is: \...
3
votes
1answer
56 views

How to use chinese chars in section names?

This is how I (currently) embed chinese in my documents: \documentclass{article} \usepackage{CJKutf8} \begin{document} \begin{CJK}{UTF8}{gbsn} \tableofcontents \section{abstract} 摘要 \end{CJK} \end{...
0
votes
0answers
53 views

CJKutf8 with pdflatex working on Windows but not on Ubuntu

My document is compiling fine on Windows 10 with pdflatex by MikTeX 2.9 but when trying the same under Ubuntu I get this error: (/usr/share/texmf/tex/latex/CJK/UTF8/UTF8.bdg) (/usr/share/texmf/tex/...
3
votes
1answer
384 views

`Package fontspec Warning: Font XXX does not contain requested Script “CJK”`, but visually it does

I have below warning in LuaLaTeX/ltjsarticle project: Package fontspec Warning: Font "fonts/HGS_Mincho/HGRMB.ttc" does not contain requested Script "CJK". I dot't know about Chinese and Korean, but ...
1
vote
1answer
111 views

How I can resolve `Font shape `xxx/it' undefined` warning for CJK in LuaLaTeX?

Below CJK-contains code compiles without errors however with warnings. \documentclass[a4paper, twoside]{ltjsarticle} \usepackage{luatexja-fontspec} \usepackage[abspath]{currfile} \setmainjfont[ ...
2
votes
2answers
51 views

Is it possible to make macros immediately followed by CJK chararacters work?

For example, it reports error when I write (? stands for any CJK character) \TeX?????? Since \TeX?????? is not a defined command. To make it right I have to insert a space or {} after \TeX. But ...
3
votes
2answers
72 views

Is there a way to make fancyhdr with pagestyle fancy to be compatible with Chinese language?

I successfully can compile with Chinese characters in my documents using CJKutf8. However it makes all my files, that use fancyhdr with pagestyle fanc to throw encoding related errors during ...
0
votes
1answer
43 views

Manually sort entries without glossaries-extra package

since none of my issues could be solved yet ( Define special sorting for Lualatex glossaries in Japanese? ) ( Bib2Gls doesn't compile CJK characters correctly ) and I won't be able to turn in my ...
0
votes
0answers
23 views

Bib2Gls doesn't compile CJK characters correctly

I hope it's okay to start a new question, as there are similar ones, but not this exact one (afaik). It all started with this guide, which is exactly what I need for my paper :) Glossaries with CJK ...
0
votes
0answers
136 views

Writing in chinese with miktex and pdflatex : ttf2pk: ERROR: Cannot find `simsun.ttc'

I recently switched from texlive to miktex on an ubuntu machine and I'm trying to use japanese characters in my PDF. Here is my latex code : \documentclass{article} \usepackage{CJKutf8} \begin{...
1
vote
1answer
232 views

XeLaTeX: Chinese characters [closed]

Firstly, apologies for my ignorance but I have tried all the options given in: this post. However, I still am unable to get it working. From the above post, I am trying to achieve this: % Compile ...
2
votes
1answer
103 views

Correct line breaking for Japanese using Babel

MWE \documentclass{article} \usepackage{xeCJK} \usepackage[japanese]{babel} \begin{document} \selectlanguage{japanese} 日本語をををををををををををををををををををををををををををかいぎょうします。 \end{document} In some ...
1
vote
1answer
70 views

How to underline CJK with soul?

I was using soul to underline text. It works until I tried to underline some CJK text. When I have \def \mytest {测试test very long text blah blah blah ...} \ul\mytest in the document, it complains: ...
2
votes
1answer
1k views

How do I specify a font for labelfont in caption?

I would like to set the font for the caption label, not just its series, shape or size, I would like to set the font itself. For example, my document's font is set to be Times New Roman, but I would ...
1
vote
2answers
84 views

Marujirushi symbol won't display using Xelatex

I'm using Xelatex. I'm trying to type the Japanese marujirushi symbol into my document. The exact way I get the symbol is to toggle my keyboard to the Microsoft Japanese IME, type maru, hit the ...
5
votes
0answers
189 views

Localized glyphs (locl) have unicode value U+FFFD (�)

Originally this seemed to me like a font issue, as there was no equivalent problem with other fonts, as indicated by this good MWE: Copied text from good PDF EBGaramond12-Italic.otf: [ - ] бгдпт [...
0
votes
1answer
101 views

Cannot run kotex

I try to run: \documentclass{beamer} \mode<presentation> { \usetheme{default} } \usepackage[ngerman]{babel} \usepackage[cjk]{kotex} \title[Vortrag]{asdas} \author{yxc} \date{xy.\,Oktober ...
1
vote
2answers
281 views

How to change the font of Japanese characters

Im currently working on a file where I need to display some Kanji in the middle of some English text. For this I created a new environment with the CJKuft8 package, according to this post \usepackage{...
2
votes
0answers
174 views

Using Chinese characters with CJKutf8 package [duplicate]

I am writing my dissertation and I need to type around 15/20 examples in Chinese. I am using the CJKutf8 package but the document crashes each time I have Chinese characters. When I follow the ...
2
votes
0answers
118 views

Shifting baseline of CJK characters

I'm using XeLaTeX with the xeCJK package for typesetting Chinese. I've set the Songti SC font on macOS as the main font, while also using Heiti SC and Fangsong in some places. I've noticed that ...
2
votes
1answer
524 views

LaTeX, CJK and Chinese gives missing font file cyberb65 [closed]

This question now has my own answers that I redacted in accordance to work instructions. I would have tried to redact my own answers again, but my workplace has decided that my answers do indeed fall ...
0
votes
1answer
141 views

CJK Package to Type Bolded Japanese Texts

I want to produce a few Japanese sentences using CJK package. Also, I want to make some words bolded. Simply, I tried the following, but obviously, it does not work. \documentclass{article} \...
2
votes
1answer
1k views

Chinese on MacTex2018, simple example

I just installed MacTex2018 (because I was having trouble with TexLive2016). My issue is related to chinese chars. May I ask for a simple example? In the end I would like to have just some chinese ...
3
votes
1answer
74 views

Using Chinese brackets with Biblatex

I would like to use Chinese brackets with biblatex. Is this possible? I could not figure out how from the manual. It should look like the second example: \documentclass{scrbook} \usepackage{xeCJK} \...
2
votes
0answers
59 views

CJK fonts with bib2gls [closed]

I'm having difficulty displaying CJK fonts in a glossary with bib2gls. I'm using MikTeX, which I think may produce different results to TeXLive. Here's a MWE: \documentclass{article} \usepackage[T1]{...
1
vote
0answers
60 views

hyphenation does not work with hyperref and xeCJK (hyperref does not add space)

Without hyperref loaded, LaTeX does hyphenation of Latin text. But with hyperref loaded this stops to work. Is there a way to fix this? \documentclass{scrbook} \usepackage{xeCJK} %\setCJKmainfont{...
0
votes
1answer
68 views

using a different Chinese font in quotations with Koma Script

I try to use SimSun in a Chinese document but SimKai for quotations. The first text is supposed to look like this: The second text is supposed to look like this: This is the code I have: \...
1
vote
1answer
176 views

Chinese fonts without xelatex

To work around a bug in xelatex I have to compile a tree in pdflatex. This works nicely with English words but I need Chinese words for the Chinese version. But whatever I tried was giving error ...
1
vote
1answer
276 views

Adding spaces in xeCJK for Chinese, Japanese, Korean doesn't work

I followed the answers given in various related questions but none of them solve the problem of adding spaces in xeCJK package. \documentclass{article} \usepackage[CJKspace,space,CJKspace=true]{xeCJK}...
2
votes
2answers
145 views

How to list all the Chinese characters with `AR PL KaitiM GB` font in pdf file created by pdflatex?

List all the tested Chinese characters with AR PL KaitiM GB in chrome. vim test.html <html> <style type="text/css"> p{ font-family:AR PL Mingti2L Big5; </style> <p> ...
1
vote
1answer
30 views

Replace ideographic fullstop with CJK package

A common method to replace the ideographic fullstop (。) with fullwidth fullstop (.) is to change the catcode: \catcode`\。 = \active \let。=. However, this method will break when using CJK package ...
1
vote
0answers
78 views

something went wrong with mdframed package when tikz is applied [closed]

The following is the code I downloaded from the Internet: a ordinary environment of theorem. \documentclass{ctexart} \usepackage{xcolor} \usepackage[framemethod=tikz]{mdframed} \usepackage{amsthm} %%%...
2
votes
1answer
500 views

Some Chinese characters go wrong in CJK

I am using CJK package to typeset traditional Chinese text. When using Big5 encoding, some characters will break: \documentclass{article} \usepackage{CJK} \begin{document} \begin{CJK*}{Bg5}{bsmi} 認識 \...
1
vote
0answers
53 views

Multi lingual text with Japanese characters on XeTeX

I need to be able to use different languages and their fonts for a paper. There is no need for multi lingual headings and all of that stuff. Just some examples in my text like so: \documentclass[...
1
vote
0answers
92 views

A difficult CJK Problem - inconsistent Japanese character kerning [closed]

Typesetting the Japanese translation of my free physics book, I am encountering a problem `from hell'. When a specific line of Japanese text is added or commented out, the typesetting of a chapter ...
4
votes
1answer
210 views

How to increase Chinese character space?

Sometimes the spaces between Characters are too small, especially in book titles which could be seen in the following picture. Then my QUESTION is how to increase the space between Chinese ...
5
votes
1answer
268 views

For vertical CJK in XeLaTex, how can I have roman characters aligned with chinese characters, and have chinese fonts “fallback” properly?

I am trying to typeset chinese vertically, with some roman characters mixed in, as well as a few rare characters that require "fallback" to a font different from the main font. The problem of roman ...
0
votes
1answer
87 views

How can I delete the white space between the first name and the family name in moderncv?

The following is adjusted from the preamble of the Chinese template available on ctan \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} ...
6
votes
1answer
383 views

Automatically convert CJK Unicode to percent encoding in HREF

I'm using LuaLaTex, TexShop, class Memoir. I'm trying to make a hyperlinked text with the destination URL containing Unicode characters. For example, https://namu.wiki/w/대전역. Manually converting ...
0
votes
1answer
402 views

Change Kanji display with CJKutf8

I've been using CJKuftf8 to include Japanese in a book containing mostly Latin script. It works fine most of the time, but I'm having problems displaying a particular kanji, 直. When compiled, this ...
7
votes
1answer
363 views

Creating a Japanese (Hiragana) alphabet

I'm creating a Japanese to English dictionary, using the glossaries package with xindy. Thanks to the answer here, I am able to put Japanese text in the name field of a glossary entry; eg. \...
2
votes
1answer
184 views

CJK Bibliography Problem, Biblatex-Chicago author-date style

The solution given to this question on how to cite items in East Asian languages using biblatex-chicago's notes option is excellent. However, it doesn't work when instead of notes (= references in ...
7
votes
1answer
444 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 ...
1
vote
1answer
346 views

Why is CJK not supported by default?

It is possible to process Chinese, Japanese and Korean text using the xeCJK package or the xtexart document class, as shown in the Q&A “How does one type Chinese in LaTeX?”. But why are these ...