Skip to content

Instantly share code, notes, and snippets.

@perillamint
Created May 1, 2015 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save perillamint/64dad0e0490494a63d8b to your computer and use it in GitHub Desktop.
Save perillamint/64dad0e0490494a63d8b to your computer and use it in GitHub Desktop.
%!TEX TS-program = xelatex
\documentclass {article}
\usepackage{xetexko}
\usepackage[a4paper]{geometry}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{mathtools}
\usepackage{amsmath}
\usepackage{fontspec}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{makeidx}
\usepackage{indentfirst}
%\setmainfont {NanumMyeongjo}
\setmainfont {UnBatang}
\setmonofont[Scale=0.8]{DejaVu Sans Mono}
\lstdefinestyle{diff}{
belowcaptionskip=1\baselineskip,
breaklines=true,
frame=L,
xleftmargin=\parindent,
showstringspaces=false,
% Diffstart
morecomment=[f][\color{gray}]{@@},
% Diffincl
morecomment=[f][\color{Green}]{+},
% Diffrem
morecomment=[f][\color{Red}]{-},
basicstyle=\footnotesize\ttfamily,
}
\lstdefinestyle{customtxt}{
belowcaptionskip=1\baselineskip,
breaklines=true,
frame=L,
xleftmargin=\parindent,
showstringspaces=false,
basicstyle=\footnotesize\ttfamily,
}
\lstdefinestyle{customc}{
belowcaptionskip=1\baselineskip,
breaklines=true,
frame=L,
xleftmargin=\parindent,
language=C,
showstringspaces=false,
basicstyle=\footnotesize\ttfamily,
keywordstyle=\bfseries\color{green!40!black},
commentstyle=\itshape\color{purple!40!black},
identifierstyle=\color{blue},
stringstyle=\color{orange},
}
\begin {document}
\title {키스의 고유 조건은 입술끼리 만나야 하고 특별한 기술은 필요치 않다.}
\author {앨리스, 밥}
\maketitle
\end {document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment