CoCalc
Sharedlatex-tests / hangul.texOpen in CoCalc
Authors: harald @schil.ly, Testing CoCalc, John Jeng, Harald Schilly, Harald Schilly, ℏal Snyder, William A. Stein
1
\documentclass{article}
2
\usepackage{amsmath,amssymb}
3
\usepackage{hyperref}
4
\usepackage[hangul]{kotex}
5
\usepackage{kotex-logo}
6
\usepackage{iftex}
7
\ifPDFTeX
8
\usepackage{dhucs-nanumfont}
9
\hypersetup{pdftex,unicode,bookmarks}
10
\input glyphtounicode
11
\pdfgentounicode=1
12
\else\ifXeTeX
13
\setmainhangulfont[Ligatures=TeX]{HCR Batang LVT}
14
\setsanshangulfont[Ligatures=TeX]{HCR Dotum LVT}
15
\else\ifLuaTeX
16
\hypersetup{unicode,bookmarks}
17
\setmainhangulfont[Ligatures=TeX]{HCR Batang LVT}
18
\setsanshangulfont[Ligatures=TeX]{HCR Dotum LVT}
19
\fi\fi\fi
20
\begin{document}
21
\title{\koTeX-article 릿}
22
\author{}
23
\date{}
24
\maketitle
25
\section{ }
26
\subsection{ }
27
\koTeX\ .
28
\end{document}