Fonts & Character SetsHow can spaces be output in XeCJK?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
sunnyriegel
Posts: 3
Joined: Tue Apr 12, 2011 9:21 pm

How can spaces be output in XeCJK?

Post by sunnyriegel »

Hi all,

I'm trying to write a text containing Korean characters and decided
to use XeCJK in MikTex 2.9, using TexWorks. While the outputting works fine, no spacing between Korean words are recognized and processed, although being written in the code. Please have a look:

Code: Select all

\documentclass[12pt]{scrartcl} 
\usepackage{mls}
\usepackage[boldfont,slantfont]{xeCJK} 
\usepackage{xunicode,xltxtra}

\setCJKmainfont{Batang} % for \rmfamily 

 \begin{document}
좋은 아침입니다! 안녕하세요, 저의 이름은 김 입니다.
%"Good Morning! My Name is Kim." in Korean
This is bicig. \bicig{munggul bicik} 
\end{document} 
Does anyone know how to implement this? I attached the output-pdf and my source code.

Thanks!
Attachments
Xecjk.pdf
(15.47 KiB) Downloaded 281 times
Xecjk.tex
(358 Bytes) Downloaded 202 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply