Ex.
\newcommand{\wbalsup}[1] {This is the Wikibook about LaTeX supported by #1} \newcommand{\wbalTwo}[2] {This is the Wikibook about LaTeX supported by #1 #2} % in the document body: \begin{itemize} \item \wbalsup{Wikimedia} \item \wbalsup{lots of users!} \item \wbalTwo{John}{Doe} \end{itemize}
引用: http://en.wikibooks.org/wiki/LaTeX/Customizing_LaTeX (上有圖形化範例.)
No comments:
Post a Comment