Herbert Voss wrote:

> i'm sorry, but this doesn't work ... :-(
> choose this one:
>
> \newcommand{\myBox}[1]{\hspace{1cm}\hfill%
>   \fbox{%
>      \parbox{5cm}{#1}%
>   }%
>   \hfill%
>   \parbox{0.5cm}{%
>     \begin{eqnarray}\end{eqnarray}%
>   }
> }
>

Yes, it works, thank you, Herbert,


In order to solve the problem of numbering equations a set of commands
depending on the number of rows of the equation array can be defined as
follows:

\newcommand{\myBoxII}[1]{\hspace{1cm}\hfill%
  \fbox{%
     \parbox{5cm}{#1}%
  }%
  \hfill%
  \parbox{0.5cm}{%
    \begin{eqnarray} \\ \end{eqnarray}%
  }
}


\newcommand{\myBoxIII}[1]{\hspace{1cm}\hfill%
  \fbox{%
     \parbox{5cm}{#1}%
  }%
  \hfill%
  \parbox{0.5cm}{%
    \begin{eqnarray} \\  \\ \end{eqnarray}%
  }
}

..........................

but now my question is there exists any way to adjust automatically  the
size of the boxes ? It is a little bit painful try to adjust the size by
hand, but if there isn't  other solution, ....,

Thank you very much for all your help,

Reply via email to