allineamento ed ambiente align

  • Creatore
    Topic
  • #105733
    Up
    0
    Down
    ::


    Salve,

    un po’ di tempo fa il Prof. egreg9 in un vecchio post mi suggeriva questo codice:

    `
    \documentclass{article}
    \usepackage{amsmath}

    \makeatletter
    \newenvironment{longequation}
    {\refstepcounter{equation}%
    \begin{flushleft}$}
    {$\quad\nolinebreak\hfill\mbox{}\@eqnnum\end{flushleft}}
    \makeatother
    `

    e

    `
    \newenvironment{longequation*}
    {\begin{flushleft}$}
    {$\end{flushleft}}
    `

    Vorrei gentilmente chiedere se:

    1) è possibile allineare il testo sia a destra che a sinistra;
    2) poter ulizzare l’ambiente align o aligned per elencare tante equazioni lunghe.

    Riccardo

Visualizzazione 0 filoni di risposte
  • Autore
    Risposte
    • #105734
      Up
      0
      Down
      ::

      dearick” post=105806Salve,

      un po’ di tempo fa il Prof. egreg9 in un vecchio post mi suggeriva questo codice:

      `
      \documentclass{article}
      \usepackage{amsmath}

      \makeatletter
      \newenvironment{longequation}
      {\refstepcounter{equation}%
      \begin{flushleft}$}
      {$\quad\nolinebreak\hfill\mbox{}\@eqnnum\end{flushleft}}
      \makeatother
      `

      e

      `
      \newenvironment{longequation*}
      {\begin{flushleft}$}
      {$\end{flushleft}}
      `

      Vorrei gentilmente chiedere se:

      1) è possibile allineare il testo sia a destra che a sinistra;
      2) poter ulizzare l’ambiente align o aligned per elencare tante equazioni lunghe.

      Riccardo

      Giustificare il testo non mi pare la migliore scelta possibile. Comunque, puoi provare con
      `\begin{trivlist}\item\relax$`
      all’inizio e
      `$\end{trivlist}`
      alla fine.

      Ciao
      Enrico

Visualizzazione 0 filoni di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top