lyx_mirror/lib/examples/ko/cjk-ko-doc.lyx
Günter Milde 70bdbd3a57 ctest update.
Debian stable ships now TL18, we don't need to care for older TL versions.

Make CJK-ko documentation more robust (failed with non-TeX fonts and XeTeX,
if LatinModern is not installed system-wide).

The test sample for LyX bug 3059 triggers an error only with
"fontencoding auto-legacy" and can be safely ignored with non-TeX fonts.
2019-11-18 22:24:55 +01:00

3759 lines
39 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#LyX 2.4 created this file. For more info see https://www.lyx.org/
\lyxformat 589
\begin_document
\begin_header
\save_transient_properties true
\origin /systemlyxdir/examples/ko/
\textclass article
\begin_preamble
%% cjk-ko-doc.tex
%%
%% This file is in public domain
\usepackage{xcolor}
\usepackage{hologo}
\def\cs#1{\texttt{\color{teal}\char92 \chardef\{=123 \chardef\}=125 #1}}
\def\koTeX{\textsf{k}\kern-.1em\textit{o}.\kern-.1667em\TeX}
\def\cjkko{\mbox{CJK-\textsf{k}\kern-.1em\textit{o}}}
\linespread{1.3}
% load package "kotex" (option "usedotemph" not required with TeX fonts)
\@ifpackageloaded{fontspec}{
\usepackage[cjk,hangul]{kotex}
% itemize bullet character missing in Korean non-TeX font "Un Jamo Batang":
\newfontfamily\dejavusans{DejaVu Sans}
\newcommand{\mytextbullet}{\dejavusans\textbullet}
% Hanja numerals missing in "Un Jamo Batang"
\newfontfamily\hanjafamily{IPAexMincho}
}{
\usepackage[cjk,hangul,usedotemph]{kotex}
\newcommand{\mytextbullet}{\textbullet}
\newcommand{\hanjafamily}{} % dummy definition
}
\end_preamble
\options b5paper
\use_default_options false
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding utf8-cjk
\fontencoding default
\font_roman "default" "UnJamoBatang"
\font_sans "default" "UnJamoNovel"
\font_typewriter "default" "UnTaza"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_roman_osf false
\font_sans_osf false
\font_typewriter_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\font_cjk mj
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\float_placement class
\float_alignment class
\paperfontsize default
\spacing single
\use_hyperref true
\pdf_title "cjk-ko 간단 매뉴얼"
\pdf_author "Dohyun Kim"
\pdf_keywords "CJK, LaTeX, Korean, ko.TeX"
\pdf_bookmarks false
\pdf_bookmarksnumbered false
\pdf_bookmarksopen false
\pdf_bookmarksopenlevel 1
\pdf_breaklinks false
\pdf_pdfborder false
\pdf_colorlinks false
\pdf_backref section
\pdf_pdfusetitle false
\pdf_quoted_options "pdfencoding=auto"
\papersize default
\use_geometry true
\use_package amsmath 1
\use_package amssymb 0
\use_package cancel 0
\use_package esint 1
\use_package mathdots 0
\use_package mathtools 0
\use_package mhchem 0
\use_package stackrel 0
\use_package stmaryrd 0
\use_package undertilde 0
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 0
\use_minted 0
\use_lineno 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tablestyle default
\bulletLaTeX 0 "\mytextbullet"
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Title
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cjkko
\end_layout
\end_inset
\begin_inset space \space{}
\end_inset
간단 매뉴얼
\end_layout
\begin_layout Author
Dohyun Kim
\size normal
<
\family typewriter
nomos at ktug org
\family default
>
\size default
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
and
\end_layout
\end_inset
\size normal
<
\begin_inset Flex URL
status collapsed
\begin_layout Plain Layout
http://github.com/dohyunkim/cjk-ko
\end_layout
\end_inset
>
\end_layout
\begin_layout Date
Version 1.8
\begin_inset space \quad{}
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
today
\end_layout
\end_inset
\end_layout
\begin_layout Abstract
For introduction in English, please see
\family typewriter
README
\family default
file in this package.
\end_layout
\begin_layout Abstract
본래 \SpecialChar TeX
\begin_inset space \space{}
\end_inset
Writer라는 iOS 앱을 위해 만들었던 한글 패키지를 \SpecialChar TeX
\begin_inset space \space{}
\end_inset
Live용으로 수정했다.
특히 \SpecialChar TeX
\begin_inset space \space{}
\end_inset
Live 버전에서는 나눔글꼴을 트루타입 대신 Type1 글꼴—물론 subfont들이다—로 변환해 넣음으로써 다양한 DVI 툴을 이용할
수 있게 했다.
\end_layout
\begin_layout Abstract
1.3 버전부터는 나눔글꼴이 아닌 다른 한글 폰트를 패키지 옵션으로 지정해서 쓸 수 있다.
\end_layout
\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents
\end_inset
\end_layout
\begin_layout Section
소개
\end_layout
\begin_layout Itemize
CJK 패키지의
\family typewriter
UTF8
\family default
환경 이용
\end_layout
\begin_layout Itemize
복잡한 환경 지시 없이
\family typewriter
kotex
\family default
만 부르면 바로 한글 가능
\end_layout
\begin_deeper
\begin_layout Quote
\begin_inset space \hspace*{}
\length 2cm
\end_inset
\begin_inset Box Boxed
position "c"
hor_pos "l"
has_inner_box 0
inner_pos "c"
use_parbox 0
use_makebox 0
width ""
special "none"
height "1in"
height_special "totalheight"
thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none"
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
vtop
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
hsize
\end_layout
\end_inset
=.5
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
textwidth
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
baselineskip
\end_layout
\end_inset
=1.1em
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
begin{document}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
begin{CJK}{UTF8}{mj}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
leavevmode
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
llap
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
불필요
\begin_inset Formula $\rightarrow$
\end_inset
\begin_inset space \quad{}
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset space \quad{}
\end_inset
\begin_inset Formula $\cdots$
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
end{CJK}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
end{document}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Itemize
한글 문서에 최적화된 줄바꿈 기능
\begin_inset space ~
\end_inset
— 예: 괄호 앞뒤, 수식 뒤
\end_layout
\begin_layout Itemize
영문자와 한글의 조화 추구
\begin_inset space ~
\end_inset
— 예: 한글 글자 크기 조정 허용
\end_layout
\begin_layout Itemize
기초적인 자동조사 기능
\end_layout
\begin_layout Itemize
오로지
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
dotemph
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
현대 한국어
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
문서를 위한 패키지
\begin_inset space ~
\end_inset
— 중세한글, 일본어, 중국어는 지원하지 않는다.
\end_layout
\begin_layout Section
Package options
\end_layout
\begin_layout Description
불러오기 :
\begin_inset space \quad{}
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
usepackage[cjk]{kotex}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset VSpace medskip
\end_inset
\end_layout
\begin_layout Description
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
패키지 옵션
\end_layout
\end_inset
열거되지 않은 옵션은 CJKutf8 패키지에 그대로 전달된다.
\end_layout
\begin_deeper
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
cjk
\end_layout
\end_inset
\SpecialChar TeX
\begin_inset space \space{}
\end_inset
Live에선 이 옵션이 없으면 kotexutf
\begin_inset space \thinspace{}
\end_inset
가 로드된다.
단,
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|kotexutf.sty|
\end_layout
\end_inset
파일을 찾을 수 없다면 이 옵션이 없더라도
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cjkko
\end_layout
\end_inset
\begin_inset space \space{}
\end_inset
패키지를 부른다.
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
hangul
\end_layout
\end_inset
한글 캡션, 줄 간격, 단어 간격, frenchspacing 등의 조정이 이루어진다.
문서의 주된 언어가 한글이라고 선언하는 옵션
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
hanja
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|[hangul]|
\end_layout
\end_inset
\begin_inset Formula $+$
\end_inset
한자 캡션
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
nojosa
\end_layout
\end_inset
자동조사 기능 끄기.
이 옵션을 주더라도 자동조사 명령이 에러를 내는 건 아니다.
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
usedotemph
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
dotemph
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
명령 허용
\begin_inset Newline newline
\end_inset
— 이 옵션은 ulem 패키지도 부르므로
\bar under
밑줄 긋기
\bar default
가능.
단,
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
normalem
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
명령이 선언돼 있으므로
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
emph
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
명령이 밑줄긋기로 동작하게 하려면
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
ULforem
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
선언이 있어야 한다.
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
usecjkt1font
\end_layout
\end_inset
영문자도 한글 글꼴로 식자.
라틴 알파벳이 거의 없는 소설책 따위에 유용할 수 있다.
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
mj=<font>
\end_layout
\end_inset
CJK 명조 글꼴을 지정한다.
예컨대
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|[mj=utbt]|
\end_layout
\end_inset
.
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
gt=<font>
\end_layout
\end_inset
CJK 고딕 글꼴을 지정한다.
ttfamily에도 이 글꼴이 쓰인다.
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\family typewriter
truetype
\end_layout
\end_inset
트루타입 폰트를 사용자 글꼴로 지시했다면 이 옵션을 주어야 텍스트 추출이 가능해진다.
PDF\SpecialChar LaTeX
에서만 유의미하다.
\end_layout
\end_deeper
\begin_layout Section
User commands
\end_layout
\begin_layout Description
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
CJKscale
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
한글만 글자크기 조정
\end_layout
\begin_deeper
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
leftskip
\end_layout
\end_inset
-1cm
\end_layout
\begin_layout Itemize
예:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
CJKscale{0.95}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|[usecjkt1font]|
\end_layout
\end_inset
옵션과는 같이 쓸 수 없다.
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|[hangul]|
\end_layout
\end_inset
옵션 아래서는 단어 간격, 줄 간격, 들여쓰기 크기도 자동 조정
\end_layout
\begin_layout Itemize
전처리부에서만 쓸 수 있다.
\end_layout
\end_deeper
\begin_layout Description
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
lowerCJKchar
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
한글만 아래로 끌어내려 식자
\end_layout
\begin_deeper
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
leftskip
\end_layout
\end_inset
-1cm
\end_layout
\begin_layout Itemize
예:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
lowerCJKchar{-0.07em} % 끌어올려 식자
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|[usecjkt1font]|
\end_layout
\end_inset
옵션과는 같이 쓸 수 없다.
\end_layout
\begin_layout Itemize
전처리부에서만 쓸 수 있다.
\end_layout
\end_deeper
\begin_layout Description
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
dotemph
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
dotemph
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
드러냄표
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_deeper
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
leftskip
\end_layout
\end_inset
-1cm
\end_layout
\begin_layout Itemize
예:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
dotemph{드러냄표}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|[usedotemph]|
\end_layout
\end_inset
옵션 아래에서만 쓸 수 있다.
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
koTeX
\end_layout
\end_inset
과 마찬가지로
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
dotemphraise
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
dotemphchar
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
명령 재정의 가능
\end_layout
\end_deeper
\begin_layout Description
기타 사용자 명령은 CJK 패키지 문서를 참조
\end_layout
\begin_layout Section
자동 조사
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
koTeX
\end_layout
\end_inset
과 마찬가지로
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
으로
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
이라
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset space \thinspace{}
\end_inset
를 쓸 수 있다.
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
ref
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
pageref
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
cite
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
뒤에서만 정상 동작
\end_layout
\begin_layout Itemize
아스키문자 뒤에서만 정상 동작
\end_layout
\begin_layout Itemize
한글 뒤에는
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
jong
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
jung
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
rieul
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
명령을 첨가해 바로잡을 수 있다.
\end_layout
\begin_deeper
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
예:
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
cite{hong}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\SpecialChar ldots
\begin_inset Newline newline
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
hskip
\end_layout
\end_inset
1.3em
\begin_inset space \space{}
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
bibitem[홍길동
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
jong]{hong}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Section
한글 카운터
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
koTeX
\end_layout
\end_inset
\begin_inset space \space{}
\end_inset
패키지와 동일하다.
사용례:
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
pagenumbering{onum}
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
leftskip
\end_layout
\end_inset
=1cm
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
labelsep
\end_layout
\end_inset
=1em
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
itemsep
\end_layout
\end_inset
=0pt plus0pt
\begin_inset FormulaMacro
\newcommand{\cs}[1]{\texttt{\bfseries#1}}
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
jaso
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
ㄱ ㄴ ㄷ ㄹ ㅁ ㅂ ㅅ ㅇ ㅈ ㅊ ㅋ ㅌ ㅍ ㅎ
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
gana
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
가 나 다 라 마 바 사 아 자 차 카 타 파 하
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
ojaso
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
㉠ ㉡ ㉢ ㉣ ㉤ ㉥ ㉦ ㉧ ㉨ ㉩ ㉪ ㉫ ㉬ ㉭
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
ogana
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
㉮ ㉯ ㉰ ㉱ ㉲ ㉳ ㉴ ㉵ ㉶ ㉷ ㉸ ㉹ ㉺ ㉻
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
pjaso
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
㈀ ㈁ ㈂ ㈃ ㈄ ㈅ ㈆ ㈇ ㈈ ㈉ ㈊ ㈋ ㈌ ㈍
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
pgana
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
㈎ ㈏ ㈐ ㈑ ㈒ ㈓ ㈔ ㈕ ㈖ ㈗ ㈘ ㈙ ㈚ ㈛
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
onum
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
pnum
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
⑴ ⑵ ⑶ ⑷ ⑸ ⑹ ⑺ ⑻ ⑼ ⑽ ⑾ ⑿ ⒀ ⒁ ⒂
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
oeng
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
ⓐ ⓑ ⓒ ⓓ ⓔ ⓕ ⓖ ⓗ ⓘ ⓙ ⓚ ⓛ
\begin_inset Formula $\cdots$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
peng
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
⒜ ⒝ ⒞ ⒟ ⒠ ⒡ ⒢ ⒣ ⒤ ⒥ ⒦ ⒧
\begin_inset Formula $\cdots$
\end_inset
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
hnum
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
하나 둘 셋 넷 다섯 여섯 일곱 여덟 아홉 열 열하나
\begin_inset Formula $\cdots$
\end_inset
스물넷
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
Hnum
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
첫 둘 셋 넷 다섯 여섯 일곱 여덟 아홉 열 열한
\begin_inset Formula $\cdots$
\end_inset
스물넷
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
hroman
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
ⅱ ⅲ ⅳ ⅵ ⅶ ⅷ ⅸ ⅺ ⅻ
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
hRoman
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
Ⅱ Ⅲ Ⅳ Ⅵ Ⅶ Ⅷ Ⅸ Ⅺ Ⅻ
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
hNum
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
일 이 삼 사 오 육 칠 팔 구 십 십일 십이
\begin_inset Formula $\cdots$
\end_inset
이십사
\end_layout
\begin_layout Itemize
\begin_inset Argument item:1
status open
\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cs
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
hanjanum
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\end_inset
\begin_inset ERT
status open
\begin_layout Plain Layout
{
\backslash
hanjafamily
\end_layout
\end_inset
一 二 三 四 五 六 七 八 九 十 十一 十二
\begin_inset Formula $\cdots$
\end_inset
二十四
\begin_inset ERT
status open
\begin_layout Plain Layout
}
\end_layout
\end_inset
\end_layout
\begin_layout Section
\family typewriter
kotex.sty
\end_layout
\begin_layout Standard
다양한
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
koTeX
\end_layout
\end_inset
\begin_inset space \space{}
\end_inset
패키지로의 준자동적인 연결을 담당하는 스타일 파일이다.
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|[cjk]|
\end_layout
\end_inset
옵션을 주면
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
cjkko
\end_layout
\end_inset
\begin_inset space \space{}
\end_inset
패키지를 로드한다.
다만
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
hologo
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
XeTeX
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
혹은
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
hologo
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
LuaTeX
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
엔진이 가동되고 있다면 이 옵션은 무시된다.
\end_layout
\begin_layout Itemize
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|[euc]|
\end_layout
\end_inset
옵션을 주면
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|kotex-euc|
\end_layout
\end_inset
패키지를 로드한다.(이 패키지는 텍라이브에 들어있지 않으므로 KTUG 사설 저장소로부터 설치해야 한다)
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
hologo
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
XeTeX
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
엔진 하에서는 이 옵션은 무시된다.
그러나
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
hologo
\end_layout
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
{
\end_layout
\end_inset
LuaTeX
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
}
\end_layout
\end_inset
엔진이 가동되고 있다면
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|
\backslash
luatexuhcinputencoding=1|
\end_layout
\end_inset
명령이 자동으로 실행된다.
\end_layout
\begin_layout Itemize
위 두 가지 옵션이 모두 지시되지 않았다면 현재 동작 중인 텍 엔진을 감지해서
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|kotexutf.sty|
\end_layout
\end_inset
,
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|xetexko.sty|
\end_layout
\end_inset
, 혹은
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|luatexko.sty|
\end_layout
\end_inset
가운데 하나를 로드한다.
플레인텍에서도 마찬가지로 동작한다.
\end_layout
\begin_layout Itemize
어느 경우이든 사용자가 지시한 여타 패키지 옵션들은 새로 불려지는 패키지에 모두 투명하게 전달된다.
\end_layout
\begin_layout Section
License
\end_layout
\begin_layout Itemize
GPL
\begin_inset space ~
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|cjkutf8-*|
\end_layout
\end_inset
파일의 라이선스는 CJK 패키지와 같을 수밖에 없다.
\end_layout
\begin_layout Itemize
LPPL
\begin_inset space ~
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
verb|ko*|
\end_layout
\end_inset
파일들은
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
koTeX
\end_layout
\end_inset
\begin_inset space \space{}
\end_inset
패키지에서 유래한다.
\end_layout
\begin_layout Standard
\begin_inset space \hspace*{\fill}
\end_inset
\begin_inset Box Boxed
position "c"
hor_pos "l"
has_inner_box 1
inner_pos "c"
use_parbox 1
use_makebox 0
width "1em"
special "none"
height "1em"
height_special "none"
thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
\begin_inset Box Frameless
position "t"
hor_pos "c"
has_inner_box 1
inner_pos "t"
use_parbox 0
use_makebox 1
width "1em"
special "none"
height "1in"
height_special "totalheight"
thickness "0.4pt"
separation "3pt"
shadowsize "4pt"
framecolor "black"
backgroundcolor "none"
status open
\begin_layout Plain Layout
\end_layout
\end_inset
\end_layout
\end_inset
\end_layout
\end_body
\end_document