[OS X TeX] An error came up
Herb Schulz
herbs at wideopenwest.com
Fri Nov 29 01:38:54 CET 2002
On 11/28/02 12:15 AM, "Juan Manuel Palacios" <jmpalacios at mac.com> wrote:
>
> Hello Tom. Sorry for taking the liberty to write to you like this
> but I couldn't keep my hands off the sample code you provided to that
> amazingly beautiful thesis presentation you told us about. I was very
> eager to copy it and compile it to see what it achieves but turned into
> dismay when the console told me there was an error:
>
> ! Illegal parameter number in definition of \fmpage.
> <to be read again>
>
> l.37 ...x[1.2\width]{\usebox{\fmbox}}\end{center}}
>
> You think you could please help me fix it so that I can study your
> code and output in order to learn from it?
>
> Thank you very much in advance for the time. Regards,...
>
>
> Juan.
> ...
>>
>> \usepackage{boxedminipage}
>> \newsavebox{\fmbox}
>> \newenvironment{fmpage}[1]
>> {\begin{center}\begin{lrbox}{\fmbox}\begin{minipage}[c][1.2\height]
>> [c]{# 1}} <--------
>> {\end{minipage}\end{lrbox}\framebox[1.2\width]{\usebox{\fmbox}}\end
>> {cent er}} <--------
>> ...
Howdy,
The two lines shown with the <-------- above have been wrapped and then
unwrapped so that there is an extra space between the '#' and the '1' and
also between 'cent' and 'er'. Fix that up and it all works very nicely.
Good Luck,
Herb Schulz
(herbs at wideopenwest.com)
-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------
More information about the macostex-archives
mailing list