해결방법
<소스>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Style-Type" content="text/css">
\documentclass[chapter]{xoblivoir}
\usepackage{titlesec}
\usepackage{titletoc}
\renewcommand\cftchapterdotsep{\cftdotsep}
\renewcommand\cftsectiondotsep{\cftnodots}
\setcounter{secnumdepth}{0}
\setlength\cftchapternumwidth{5.0em}
\setlength\cftchapterindent{0.8em}
\renewcommand{\cftchapterfont}{\normalfont\ttfamily\LARGE}
\titlecontents*{section}[1.6em]{\sffamily}{\contentslabel{0em}}{\hspace*{1.8em}~}{}
\setsecheadstyle{\sffamily}
\titleformat{\chapter}{\normalfont\ttfamily\Huge\bfseries}{}{0pt}{}
\titleformat{\section}{\normalfont\sffamily\bfseries}{}{0pt}{}
\titlespacing{\section}{0pc}{1.5ex plus .1ex minus .2ex}{1pc}
\title{네팔 안나푸르나 트래킹}
\author{Edmond Wells}
\begin{document}
\maketitle{}
\tableofcontents{}
\chapter{네팔}
\section{카트만두}
얼라리여?
\section{타멜}
지옥같은;;;
\chapter{포카라}
\section{킹왕짱}
놀고먹기 딱 좋은
\section{준비}
침낭 대여
\end{document}
----------------------------------------------------------------------------------------------------------------
원인은 두 가지였다.
1. memoir + titletoc패키지의 titlecontents{chapter} 명령은 제대로 돌아가지 않는다
2. "memoir이 등장하기 전에 누군가가 만들어둔 코드가 memoir와 충돌해서 생긴 문제입니다" from DohyunKim
따라서
1. titlecontents{chapter}를 버리고, memoir가 불러들이는 tocloft패키지의 명령어인 cft~~~~ 를 이용해서 꾸민다.
2. 김도현 교수님이 새로 올려주신 kotex으로 업데이트한다(2011년 2월 14일).
이상입니다.
KTUG 한국 텍 사용자 그룹
해결방법
<소스>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Style-Type" content="text/css">
\documentclass[chapter]{xoblivoir}
\usepackage{titlesec}
\usepackage{titletoc}
\renewcommand\cftchapterdotsep{\cftdotsep}
\renewcommand\cftsectiondotsep{\cftnodots}
\setcounter{secnumdepth}{0}
\setlength\cftchapternumwidth{5.0em}
\setlength\cftchapterindent{0.8em}
\renewcommand{\cftchapterfont}{\normalfont\ttfamily\LARGE}
\titlecontents*{section}[1.6em]{\sffamily}{\contentslabel{0em}}{\hspace*{1.8em}~}{}
\setsecheadstyle{\sffamily}
\titleformat{\chapter}{\normalfont\ttfamily\Huge\bfseries}{}{0pt}{}
\titleformat{\section}{\normalfont\sffamily\bfseries}{}{0pt}{}
\titlespacing{\section}{0pc}{1.5ex plus .1ex minus .2ex}{1pc}
\title{네팔 안나푸르나 트래킹}
\author{Edmond Wells}
\begin{document}
\maketitle{}
\tableofcontents{}
\chapter{네팔}
\section{카트만두}
얼라리여?
\section{타멜}
지옥같은;;;
\chapter{포카라}
\section{킹왕짱}
놀고먹기 딱 좋은
\section{준비}
침낭 대여
\end{document}
----------------------------------------------------------------------------------------------------------------
원인은 두 가지였다.
1. memoir + titletoc패키지의 titlecontents{chapter} 명령은 제대로 돌아가지 않는다
2. "memoir이 등장하기 전에 누군가가 만들어둔 코드가 memoir와 충돌해서 생긴 문제입니다" from DohyunKim
따라서
1. titlecontents{chapter}를 버리고, memoir가 불러들이는 tocloft패키지의 명령어인 cft~~~~ 를 이용해서 꾸민다.
<meta charset="utf-8">2. 김도현 교수님이 새로 올려주신 kotex으로 업데이트한다(2011년 2월 14일).
<meta charset="utf-8">이상입니다.
<meta charset="utf-8">