I was trying to use the package fancyvrb.
However with
\usepackage{breqn}
\usepackage{fancyvrb}
\DefineVerbatimEnvironment{code}{Verbatim}{fontsize=\small}
\DefineVerbatimEnvironment{example}{Verbatim}{fontsize=\small}
latex always reports
Missing number, treated as zero. to be read again
But it changes to work if I exchange the order between the two parts:
\usepackage{fancyvrb}
\DefineVerbatimEnvironment{code}{Verbatim}{fontsize=\small}
\DefineVerbatimEnvironment{example}{Verbatim}{fontsize=\small}
\usepackage{breqn}
I was wondering why the problem happens?
Thanks and regards!