来源:https://en.wikibooks.org/wiki/LaTeX/Macros
方括号中的参数其实就是默认参数。
使用方法:
\newcommand{name}[num][default]{definition}
例子:
```tex
\newcommand{}[2][Wikimedia]{
This is the Wikibook about LaTeX
supported by
来源:https://en.wikibooks.org/wiki/LaTeX/Macros
方括号中的参数其实就是默认参数。
使用方法:
例子:
```tex
\newcommand{}[2][Wikimedia]{
This is the Wikibook about LaTeX
supported by
Except as otherwise noted, this blog is licensed under CC BY-SA 4.0 License.
©2021-
searchstar
|
pv
|
uv
Theme Tree
by Wu Jun
Powered by Hexo