Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

come inserire una box di commento in una equazione lunga in LaTeX

206 views
Skip to first unread message

ely.b...@tin.it

unread,
Sep 18, 2008, 6:00:22 AM9/18/08
to
Ciao,
scusatemi, ma sto impazzendo con questo problema. Dovrei scrivere una
equazione lunga e inserire un commento fra una uguaglianza e l'altra,
tipo:

espr = espr_1 (testo)
= espr_2 (testo)

Il testo dovrebbe andare in un riquadro perchè in orizzontale non
c'entra. Come posso fare?
Grazie moltissime.

Le TeXnicien de surface

unread,
Sep 18, 2008, 6:11:43 AM9/18/08
to
ely.b...@tin.it writes:

Per questo si puo usare il paccheto amsmath e l'ambiante align

\begin{align}
espr &= espr_1 \\
\intertext{Un testo lungo lungo}
&= espr_2 \text{un testo corto}
\end{align}

sca!

--
Le TeXnicien de surface

Enrico Gregorio

unread,
Sep 18, 2008, 6:13:02 AM9/18/08
to
<ely.b...@tin.it> scrive:

Con il pacchetto amsmath:

\begin{align*}
espr &= espr_1 &&(testo)\\
&= espr_2 &&(testo)
\end{align*}

Se però vuoi che la faccenda sia tutta numerata (con un unico numero),
usa

\begin{equation}
\begin{aligned}
espr &= espr_1 &&(testo)\\
&= espr_2 &&(testo)
\end{aligned}
\end{equation}

Ciao
Enrico

0 new messages