Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/language/korean/kotex-utf

ko­tex-utf

In­tro­duc­tion

ko­tex-utf is a macro pack­age for type­set­ting Han­gul, the na­tive al­pha­bet of the Korean lan­guage. The in­put Korean text should be en­coded in UTF-8. ko­tex-utf be­longs to ko.TeX, a com­pre­hen­sive Korean type­set­ting sys­tem to­gether with pack­ages ko­tex-oblivoir, ko­tex-plain, ko­tex-utils, cjk-ko, xe­texko, and lu­ax­exko.

Depen­den­cies

ko­tex-utf de­pends on the fol­low­ing pack­ages:

  • xe­texko: Han­gul and hanja map­ping ta­bles
  • cjk-ko: main style, Korean coun­ters and cap­tions

Files

TeXin­puts

dhucs-nanumfont.sty -> tex/latex/kotex/
dhucs.sty -> tex/latex/kotex/
hfontspec.default -> tex/latex/kotex/
kosections-utf.sty -> tex/latex/kotex/
kotex.cfg -> tex/latex/kotex/
kotexutf.sty -> tex/latex/kotex/
lucenc.dfu -> tex/latex/kotex/
lucuhcmj.fd -> tex/latex/kotex/
contrib/dhucs-cmap.sty -> tex/latex/kotex/contrib/
contrib/dhucs-enumerate.sty -> tex/latex/kotex/contrib/
contrib/dhucs-enumitem.sty -> tex/latex/kotex/contrib/
contrib/dhucs-gremph.sty -> tex/latex/kotex/contrib/
contrib/dhucs-interword.sty -> tex/latex/kotex/contrib/
contrib/dhucs-paralist.sty -> tex/latex/kotex/contrib/
contrib/dhucs-sectsty.sty -> tex/latex/kotex/contrib/
contrib/dhucs-setspace.sty -> tex/latex/kotex/contrib/
contrib/dhucs-trivcj.sty -> tex/latex/kotex/contrib/
contrib/dhucs-ucshyper.sty -> tex/latex/kotex/contrib/
contrib/dhucsfn.sty -> tex/latex/kotex/contrib/
contrib/kotex-logo.sty -> tex/latex/kotex/contrib/
contrib/kotex-varioref.sty -> tex/latex/kotex/contrib/

TeX4ht

tex4ht/dhucs.4ht -> tex/latex/kotex/tex4ht/
tex4ht/dhucs.cfg -> tex/latex/kotex/tex4ht/
tex4ht/kosections-utf.4ht -> tex/latex/kotex/tex4ht/

Doc­u­ments

README (this file) -> doc/latex/kotex-utf/
doc/kotexdoc.pdf -> doc/latex/kotex-utf/
doc/kotexdoc.tex -> doc/latex/kotex-utf/
doc/sample-finemath-setup.tex -> doc/latex/kotex-utf/
doc/yettext.tex -> doc/latex/kotex-utf/
doc/yettext.txt -> doc/latex/kotex-utf/
doc/fig/allowbreak-dhucs.pdf -> doc/latex/kotex-utf/fig/
doc/fig/fntexp.pdf -> doc/latex/kotex-utf/fig/
doc/fig/fntnormal.pdf -> doc/latex/kotex-utf/fig/
doc/fig/histkotex.jpg -> doc/latex/kotex-utf/fig/
doc/fig/linebreaktest.pdf -> doc/latex/kotex-utf/fig/
doc/fig/testdhucsallowbreak.pdf -> doc/latex/kotex-utf/fig/

Usage

Call kotex.sty (in cjk-ko pack­age) with pack­age op­tions as fol­lows:

\usepackage[<options>]{kotex}

When ko­tex-utf is in­stalled and ap­pro­pri­ate op­tions are given, ko­tex-utf will be used for Han­gul type­set­ting. Cer­tain pack­age op­tions are in­ter-re­lated to the TeX en­gines that are used for com­pi­la­tion. For pdfLaTeX and LaTeX, you can use utf op­tion:

\usepackage[utf]{kotex}

This will ac­ti­vate the de­fault be­hav­ior of ko­tex-utf. The op­tion utf does not need to be spec­i­fied since it is a de­fault op­tion. You can use other com­mon op­tions such as hangul, hanja, and no­josa.

Calling ko­tex.sty in the fol­low­ing way

\usepackage[cjk]{kotex}

will type­set Han­gul us­ing the cjk-ko pack­age. Op­tions use­dotemph and usecjk­t1­font can be spec­i­fied in ad­di­tion to the com­mon op­tions.

For XeLaTeX and LuaLaTeX, you can just load ko­tex.sty with­out any pack­age op­tions. ko­tex-utf will call XTeX-ko or LuaTeX-ko ac­cord­ingly.

Sam­ple doc­u­ment

The fol­low­ing doc­u­ment is a sam­ple doc­u­ment uti­liz­ing the if­tex pack­age for cop­ing with mul­ti­ple en­gines:

\documentclass{article}
\usepackage{amsmath,amssymb}
\usepackage{hyperref}
\usepackage[hangul]{kotex}
\usepackage{kotex-logo}
\usepackage{iftex}
\ifPDFTeX
  \usepackage{dhucs-nanumfont}
  \hypersetup{pdftex,unicode,bookmarks}
  \input glyphtounicode
  \pdfgentounicode=1
\else\ifXeTeX
  \setmainhangulfont[Ligatures=TeX]{HCR Batang LVT}
  \setsanshangulfont[Ligatures=TeX]{HCR Dotum LVT}
\else\ifLuaTeX
  \hypersetup{unicode,bookmarks}
  \setmainhangulfont[Ligatures=TeX]{HCR Batang LVT}
  \setsanshangulfont[Ligatures=TeX]{HCR Dotum LVT}
\fi\fi\fi
\begin{document}
\title{\koTeX-article 템플릿}
\author{저자}
\date{}
\maketitle
\section{절 제목}
\subsection{소절 제목}
이 문서는 \koTeX\ 문서입니다.
\end{document}

For more in­for­ma­tion, please re­fer to the in­cluded doc­u­men­ta­tion (writ­ten in Korean).

Li­cense

ko­tex-utf is li­censed un­der the LaTeX Project Public Li­cense (LPPL).

Con­tacts

Please re­port any er­rors or sug­ges­tions to the pack­age main­tainer, Ki­h­wang Lee <leekh@ktug.org>.

Direc­to­ries

Name Notes
contrib
doc
tex4ht

Files

Name Size Date Notes
ChangeLog 3821 2014-05-23 04:00
README 4670 2013-10-30 07:47
README.md 4667 2013-10-30 07:47
dhucs-nanumfont.sty 1033 2013-10-21 14:48
dhucs.sty 4733 2013-10-21 14:49
hfontspec.default 236 2013-10-21 09:32
kosections-utf.sty 17377 2013-10-21 14:51
kotex.cfg 116 2013-10-21 09:33
kotexutf.sty 18545 2013-10-21 14:51
lucenc.dfu 6872 2013-10-21 14:51
lucuhcmj.fd 769 2013-10-21 14:52

Down­load the con­tents of this pack­age in one zip archive (7.7M).

ko­tex-utf – Type­set Han­gul, coded in UTF-8

The pack­age type­sets Han­gul, which is the na­tive al­pha­bet of the Korean lan­guage; in­put Korean text should be en­coded in UTF-8.

The bun­dle (of class and as­so­ci­ated pack­ages) be­longs to the ko.TeX bun­dle.

Pack­age De­tailsko­tex-utf
Ver­sion2.0.1
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2007-2013 Koaunghi Un, Kang­soo Kim and Do­hyun Kim
Main­tainerKi­h­wang Lee
Con­tained inTeXlive as ko­tex-utf
MikTeX as ko­tex-utf
Topics sup­port for type­set­ting Korean
Guest Book Sitemap Contact