problema numerazione formule

  • Creatore
    Topic
  • #109296
    Up
    0
    Down
    ::


    Salve sto scrivendo un articolo scientifico con un formato imposto dalla conferenza, in cui dovrei riportare formule su più righe. Per tale motivo ho utilizzato il seguente codice:
    `
    \newenvironment{longequation}
    {\refstepcounter{equation}%
    \begin{flushleft}$}
    {$\quad\nolinebreak\hfill\mbox{}\@eqnnum\end{flushleft}}
    \makeatother
    `
    Se provo ad inserire una formula lunga:
    `
    \documentclass[twocolumn,11pt]{article}
    \usepackage{times}
    %
    % DO NOT CHANGE THE FOLLOWING PART
    %
    \setlength{\textwidth}{6.9in}
    \setlength{\textheight}{9.5in}
    \setlength{\oddsidemargin}{-0.25in}
    \setlength{\evensidemargin}{-0pt}
    \setlength{\topmargin}{-0.25in}
    \setlength{\columnsep}{0.4in}
    \setlength{\parindent}{4ex}
    \newenvironment{longequation}
    {\refstepcounter{equation}%
    \begin{flushleft}$}
    {$\quad\nolinebreak\hfill\mbox{}\@eqnnum\end{flushleft}}
    \makeatother
    %
    \begin{document}
    \begin{longequation}
    (M_f + M_r)(\ddot{x}_1 – \dot{y}_1\dot{\psi}) – (M_r h + M_f j)\sin\phi\ddot{\psi} – M_f k\dot{\psi}^2 – 2(M_r h + M_f j)\cos\phi\dot{\phi} \dot{\psi} – 2M_f e \cos\phi\dot{\psi}\dot{\delta} – M_f e\cos\epsilon\dot{\delta}^2 = X_r + X_f
    \end{longequation}
    \end{document}
    `
    a fianco dell’equazione ottengo la scritta eqnnum e non la corretta numerazione. Dove sbaglio?

    Riccardo

  • Devi essere connesso per rispondere a questo topic.

Go to top