[texhax] Wilson's Title PM Won't Compile

William F Hammond hmwlfsr at yahoo.com
Thu Feb 27 00:19:36 CET 2014


Alessandro Ceschini <alescesc1986 at yahoo.it> writes:

> Oops... doesn't work with me
>
> ! Illegal parameter number in definition of \wb.
> <to be read again>
>                    2
> l.25 ...\fontsize{#2}{#2}\usefont{U}{webo}{xl}{n}}

No!

The erroneous definition was:

\newcommand*{\wb}[1]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}}

It should be:

\newcommand*{\wb}[2]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}}

(The "#2" reference to a second argument won't be allowed if
the \newcommand is specified, via the first option, to take only
one argument.)

                              -- Bill

Email: hmwlfsr at yahoo.com
       gellmu at gmail.com
https://www.facebook.com/william.f.hammond
http://www.albany.edu/~hammond/




More information about the texhax mailing list