# Re: making a Box: using floatrow package in place of default float

Hello Justin,

I'm trying to use your preamble script to have similar caption to the one in the
example but I get errors, I copied the script as is.

I get these errors:

LaTeX Error: Missing \begin{document)
desc:
\
<at> ifundefined{fs <at> boxed}{}% do nothing if not in use
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

LaTeX Error: Missing \begin{document)
desc:
\newcommand\floatc <a
t> simplerule[2]{\flushleft{\ <at> fs <at> cfon...

You can't use:'macro parameter character #' in horizontal mode
desc:
...erule[2]{\flushleft{\ <at> fs <at> cfont #
1 #2}}
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing I}' or I$' or I\par'. You can't use:'macro parameter character #' in horizontal mode desc: ...le[2]{\flushleft{\ <at> fs <at> cfont #1 # 2}} Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing I}' or I$' or I\par'.

LaTex Error: \fs undefined
desc:
\renewcommand\fs
<at> boxed{%
Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

Your help will be deeply appreciated