2017년 4월 20일 목요일

LyX 한글 사용하기...

도움말은 아래에서 읽어서 따라했다.

http://wiki.lyx.org/LyX/Unicode



설정은 다음 스크린 샷과 같이 했다.
  1. 메뉴 > 문서(Document) > 설정(Settings)... > 언어 탭 > 언어(Language)
    선택한 것은 Korean
  2. 메뉴 > 문서(Document) > 설정(Settings)... > 언어 탭 > 인코딩
    선택한 것은 '다른 인코딩(O): '
    다시 다음 항목으로, [  Unicode (CJK) (utf8)  ] 항목을 선택

'LaTeX 소스'라는 창에 보이는, LyX가 자동으로 생성한 소스는 아래와 같다.
% Preview source code

%% LyX 2.2.2 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass{article}
\usepackage{CJKutf8}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
% used for custom paragraph shapes
\IfFileExists{candleshape.def}{%
\input{candleshape.def}}{}
\IfFileExists{dropshape.def}{%
\input{dropshape.def}}{}
\IfFileExists{TeXshape.def}{%
\input{TeXshape.def}}{}
\IfFileExists{triangleshapes.def}{%
\input{triangleshapes.def}}{}


\makeatother

\begin{document}
\begin{CJK}{UTF8}{nanumgt}%
도대체가 이렇게 어려워서야...

나 같은 얼간이는 어떻게 쉽게 쓰라는 것이야 !


\end{CJK}

\end{document}


댓글 없음:

댓글 쓰기