Search found 3 matches

by abakus
Fri Aug 31, 2012 3:34 am
Forum: General
Topic: Error for new Command with default Argument
Replies: 5
Views: 4308

Error for new Command with default Argument

Why does it make a difference if the new command has a default argument like ccc ?
It does not make a difference but this one needs an adaption as well:

Not working: \ccc[ \testa[1] ]


Its working for me, so I do not need the curly braces here. That's what confused me in the first place ...
by abakus
Thu Aug 30, 2012 2:30 pm
Forum: General
Topic: Error for new Command with default Argument
Replies: 5
Views: 4308

Error for new Command with default Argument

Hi Stefan,

many thanks for the solution.
Why does it make a difference if the new command has a default argument like \ccc?
by abakus
Thu Aug 30, 2012 10:51 am
Forum: General
Topic: Error for new Command with default Argument
Replies: 5
Views: 4308

Error for new Command with default Argument

Hi there,

I have an error I do not understand. I'm running TeX Live 2009 on a Linux Debian. The following is a minimal example. The log file is attached.

Combining the new command \aaa with \testa brings the error message below. What I do not understand is that it works with \bbb , \ccc and \testb ...