Skip to content

Instantly share code, notes, and snippets.

@dokenzy
Last active August 29, 2015 14:10
Show Gist options
  • Save dokenzy/99ee7f877824a185f5fd to your computer and use it in GitHub Desktop.
Save dokenzy/99ee7f877824a185f5fd to your computer and use it in GitHub Desktop.
\AtBeginDocument{\renewcommand{\contentsname}{\texttt{\HUGE{\color{gray}{11월의 역사}}}}}
\renewcommand{\cftdot}{\raisebox{.5ex}{.}}
\cftpagenumbersoff{chapter}
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{1}
\renewcommand\cftsectionleader{\color{OysterGray}\cftdotfill{\cftsectiondotsep}}
\setlength\cftchapterindent{-3.8em}
\renewcommand{\cftchapterfont}{\normalfont\ttfamily\LARGE\color{PantoneBlue}}
\renewcommand\cftsectionpresnum{}
\renewcommand\cftsectionindent{1.6em}
\renewcommand{\cftsectionfont}{\normalfont\sffamily\small\color{SunOrange}}
\renewcommand{\cftsectionpagefont}{\sffamily}
\titlecontents{section}
[1.6em]
{\sffamily\sffamily\small}
{\color{Beeswax} } %creates the space at the beginning and prints the section number
{\hspace*{1.8em}}
{\color{OysterGray}\titlerule*[1pc]{.}\color{gray}\ttfamily\contentspage}
\def\hchaptertitlehead{}
% 차례에서 장 번호 없애기
\AtBeginDocument{\addtocontents{toc}{\protect\thispagestyle{empty}}}
%toc 면주에 쪽번호가 달리지 않도록.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment