% !TEX encoding = UTF-8 Unicode

\documentclass{article}

\usepackage{amsmath,amssymb}
\usepackage[hangul]{kotex}
\usepackage{kotex-logo}

\usepackage{iftex}
\ifPDFTeX
  \usepackage{dhucs-nanumfont}
\else\ifXeTeX
  \setmainhangulfont{HCR Batang LVT}
  \setsanshangulfont{HCR Dotum LVT}
\else\ifLuaTeX
  \setmainhangulfont{HCR Batang LVT}
  \setsanshangulfont{HCR Dotum LVT}
\fi\fi\fi

\begin{document}

\title{\koTeX-article 템플릿}
\author{저자}
\date{}
\maketitle

\section{절 제목}

\subsection{소절 제목}

이 문서는 \koTeX\ 문서입니다.

\end{document}

