
\paragraph
? 에 인라인 축어를 추가하려고 합니다 .
어떻게 그렇게 하는지 궁금하시죠?
답변1
때문에 해결 방법이 필요합니다.축어적 텍스트는 매크로에 대한 인수로 허용되지 않습니다.일반적으로.verbdef
그러한 해결 방법 중 하나는 다음과 같습니다.
\documentclass{article}
\usepackage{verbdef}% http://ctan.org/pkg/verbdef
\verbdef{\vtext}{verb text}
\begin{document}
\paragraph{Here is some \vtext.}
\end{document}
유사한 기능이 다음에서 제공됩니다.fancyvrb
. 시도해 볼 수도 있습니다.cprotect
:
\usepackage{cprotect}% http://ctan.org/pkg/cprotect
%...
\cprotect\paragraph{Here is some \verb|verb text|.}