그렇다면 그건 section이 아닌 거지요.
예를 들면
\newcommand*{\example}{%
\section*{example}
\addcontentsline{toc}{section}{\string\phantom{\thesection}\hspace{.8em}example}
}
이렇게 정의하고 example이 들어가는 부분에서
\example
하면 대략 원하는 모양이 되지 않을까 싶습니다.
KTUG 한국 텍 사용자 그룹
그렇다면 그건 section이 아닌 거지요.
예를 들면
\newcommand*{\example}{%
\section*{example}
\addcontentsline{toc}{section}{\string\phantom{\thesection}\hspace{.8em}example}
}
이렇게 정의하고 example이 들어가는 부분에서
\example
하면 대략 원하는 모양이 되지 않을까 싶습니다.