KTUG 한국 텍 사용자 그룹

Menu

KTUG :: 마당

저도 "서울남산체 vert 폰트"와 "함초롬바탕 LVT"으로 다시한번 해봤습니다. 

세로쓰기는 함초롬바탕 LVT가 좋아요. 


vertical_writing.png


% vertical_writing.tex

\documentclass[a4paper]{memoir}


\settypeblocksize{200mm}{130mm}{*}

\setlrmargins{*}{*}{1.0}

\checkandfixthelayout


\usepackage[hangul]{kotex}


\usepackage[svgnames,dvipsnames]{xcolor}


\setmainfont{Junicode}


\setmainhangulfont[BoldFont={NanumMyeongjo Bold}]{NanumMyeongjo}

\setsanshangulfont[BoldFont={NanumGothic Bold}]{NanumGothic}

\setmonohangulfont[Scale=.80]{NanumGothic}


\usepackage{iftex}


\maxsecnumdepth{chapter}


\setsecheadstyle{\Large\bfseries\color{Black!60!Cyan}}

\setsubsecheadstyle{\large\bfseries\color{Black!40!Cyan}}



% \setlength{\droptitle}{-4\onelineskip}


\title{세로쓰기 테스트}

\author{progress}


\raggedbottom


\newcommand\sampletext{%

《한국어 텍스트 레이아웃 및 타이포그래피를 위한 요구사항》에 따르면 문장에 삽입된 〔로마자〕 및 【숫자】의 방향은 다음과 같다.

‘가로짜기’는 정상적인 방향으로 배치하고, 〈세로짜기〉 경우는, 다음 세 가지 배치 방법이 있다.\\

\indent 一.  한글과 같은 방향으로 한 글자씩 배열한다.\\

\indent 二.  문자를 시계 방향으로 \ifXeTeX\vertlatin{90}\else\ifLuaTeX90\fi\fi도를 돌려 배열한다. 주로 로마자 단어를 표현한다.\\

\indent 三. 한글과 같은 방향으로 한다. 두 자릿수의 숫자는 그룹화하여 “시계방향” \ifXeTeX\vertlatin{90}\else\ifLuaTeX90\fi\fi도로 회전한 후, 글줄 가운데에 정렬한다.

}



\begin{document}


% \verticaltypesetting


\maketitle


\section{샘플 텍스트}


\wrappingon

{\color{gray}

\begin{verbatim}

《한국어 텍스트 레이아웃 및 타이포그래피를 위한 요구사항》에 따르면 문장에 삽입된 〔로마자〕 및 【숫자】의 방향은 다음과 같다.

‘가로짜기’는 정상적인 방향으로 배치하고, 〈세로짜기〉 경우는, 다음 세 가지 배치 방법이 있다.\\

\indent 一.  한글과 같은 방향으로 한 글자씩 배열한다.\\

\indent 二.  문자를 시계 방향으로 90도를 돌려 배열한다. 주로 로마자 단어를 표현한다.\\

\indent 三. 한글과 같은 방향으로 한다. 두 자릿수의 숫자는 그룹화하여 “시계방향” 90도로 회전한 후, 글줄 가운데에 정렬한다.

\end{verbatim}

}



\section{‘서울남산체 세로쓰기(SeoulNamsan vert)’ 폰트}


\subsection{가로쓰기}

{\hangulfontspec{SeoulNamsan vert}

\hanjafontspec{SeoulNamsan vert}

\fontspec{SeoulNamsan vert}

\sampletext

}


\subsection{세로쓰기. SeoulNamsan vert 폰트엔 vmtx feature는 있는데 vrt2 feature가 없나봐요. GSUB에 의한 문장부호 대체도 아니되고.}


\begin{vertical}{15em}

\ifXeTeX

\fontspec{SeoulNamsan vert}

\hangulfontspec[Vertical=RotatedGlyphs]{SeoulNamsan vert}

\hanjafontspec[Vertical=RotatedGlyphs]{SeoulNamsan vert}

\else

\ifLuaTeX

\fontspec[Vertical=RotatedGlyphs]{SeoulNamsan vert}

\fi\fi

\sampletext

\end{vertical}


\section{‘함초롬바탕(HCR Batang LVT)’ 폰트}


\subsection{가로쓰기}

{\hangulfontspec{HCR Batang LVT}

\hanjafontspec{HCR Batang LVT}

\fontspec{HCR Batang LVT}

\sampletext

}


\subsection{세로쓰기. 문장부호의 변화, 특히 따옴표 온점 반점}


\begin{vertical}{15em}

\ifXeTeX

\fontspec{HCR Batang LVT}

\hangulfontspec[Vertical=RotatedGlyphs]{HCR Batang LVT}

\hanjafontspec[Vertical=RotatedGlyphs]{HCR Batang LVT}

\else

\ifLuaTeX

\fontspec[Vertical=RotatedGlyphs]{HCR Batang LVT}

\fi\fi

\sampletext

\end{vertical}



\end{document}



KTUG 한국 텍 사용자 그룹