안녕하세요.
맥에서 XeLaTeX로 작업중인데요.
제가 장과 절 부분을 바꾸고 싶어서 .cls 파일에서
%%Chapter
\makeatletter
\def\thickhrulefill{\leavevmode \leaders \hrule height 1ex \hfill \kern \z@}
\def\@makechapterhead#1{%
\vspace*{10\p@}%
{\parindent \z@ \reset@font
{\Huge\bfseries \thechapter. }
%\par\nobreak
\vspace*{10\p@}%
%\interlinepenalty\@M
%\hrule
\vspace*{10\p@}%
\Huge \bfseries #1\par\nobreak
\par
\vspace*{10\p@}%
\vskip 100\p@
}}
\def\@makeschapterhead#1{%
\vspace*{10\p@}%
{\parindent \z@ \reset@font
{\Huge\bfseries \vphantom{\thechapter.} }
%\par\nobreak
\vspace*{10\p@}%
%\interlinepenalty\@M
%\hrule
%\vspace*{10\p@}%
\Huge \bfseries #1\par\nobreak
\par
\vspace*{10\p@}%
\vskip 100\p@
}}
%%Section
\renewcommand\thesection{\arabic{section}}
\makeatletter
\def\section{\@ifstar\unnumberedsection\numberedsection}
\def\numberedsection{\@ifnextchar[%]
\numberedsectionwithtwoarguments\numberedsectionwithoneargument}
\def\unnumberedsection{\@ifnextchar[%]
\unnumberedsectionwithtwoarguments\unnumberedsectionwithoneargument}
\def\numberedsectionwithoneargument#1{\numberedsectionwithtwoarguments[#1]{#1}}
\def\unnumberedsectionwithoneargument#1{\unnumberedsectionwithtwoarguments[#1]{#1}}
\def\numberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
\refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\Large
\bfseries
\thesection)\
#2\quad
\endgroup
\addcontentsline{toc}{section}{%
\protect\numberline{\thesection}%
#1}%
}
\def\unnumberedsectionwithtwoarguments[#1]#2{%
\ifhmode\par\fi
\removelastskip
\vskip 3ex\goodbreak
% \refstepcounter{section}%
\noindent
\leavevmode
\begingroup
\Large
\bfseries
% \thesection\
#2\quad
\endgroup
\addcontentsline{toc}{section}{%
% \protect\numberline{\thesection}%
#1}
}
\makeatother
이렇게 장과 절을 바꾸었습니다.
장 부분이 1. 2. 3. ...
절 부분이 1) 2) 3) ...
이런식으로 나오게끔 만들었습니다.
그런데 목차 부분에서는 바꾼것처럼 나오지는 않고
숫자만 나오는데 어떻게 하는지 알려주실 수 있을까요?
KTUG 한국 텍 사용자 그룹