KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당 › paragraph 처럼 만들었는데 이상한 현상

궁금이 | 2012.06.05 12:41:55 | 메뉴 건너뛰기 쓰기
\documentclass[letterpaper]{report}

 

\newcounter{parag}

\renewcommand\theparag{\arabic{parag}.}

 

\makeatletter

\newcommand\parag{\@startsection{parag}{2}{\z@}%

{3.25ex \@plus1ex \@minus.2ex}%

{-1em}%

{\normalfont\normalsize\bfseries}}

\makeatother

 

\begin{document}

\paragraph{(A Problem)} $ax + b = 0$

\parag{(A Problem)} $ax + b = 0$

\end{document}

 

이렇게 정의했습니다. report.cls 에서 \paragraph 정의를 그대로 가져와서 level 만 바꾸었는데요, heading 이 두 번 찍히네요.

뭘 잘못했는지 알려주시면 감사하겠습니다.

6-5-2012 12-39-46 PM.jpg

첨부 [1]

댓글 [1]

댓글 쓰기

목록 삭제

KTUG 한국 텍 사용자 그룹