
나는 \newcommand
말도 안되는 세 가지 인수를 사용하여 만들었습니다. 이제 구현 방법을 잊어버린 경우 인수에 도움이 되는 독스트링과 같은 것을 갖고 싶습니다. 내 IDE(TexStudio, btw.)에서처럼 마우스를 올리면 표준 명령의 개요를 볼 수 있습니다. MWE는 다음과 같습니다.
\documentclass{article}
\newcommand{\mycmd}[3]{\small#1~\large#2~\huge#3}
\begin{document}
\mycmd{This}{is}{Nonsense!}
\end{document}
arg#1 will become small
이제 , arg#2 will become large
및 와 같은 개요를 제공하고 싶습니다 arg#3 will become huge
. 그게 가능합니까?