Re: Problema con compilazione formula estesa

#42285
Up
0
Down
::

Ciao a tutti sono di nuovo qui a chiedervi nuovamente di illuminarmi. Devo inserire una formula lunga che esce dai limiti del testo, quindi ho pemsato di usare l’ambiente split, ma a quanto pare ci sono problemi con delle parentesi quadre che racchiudono il tutto, il codice è questo
`\begin{equation}
\begin{split}
Q&=\frac{\dot{m}_{p,0}}{m_{p,0}}\left[({m_p}_{\mathrm{in}}-{m_p}_{\mathrm{out}})[-{H_{lat}}_\mathrm{ref}+H_\mathrm{pyrol}]\\
&-{m_p}_{\mathrm{out}}\int_{T_\mathrm{ref}}^{{T_p}_{\mathrm{out}}}{c_p}_pdT+{m_p}_{\mathrm{in}}\int_{T_\mathrm{ref}}^{{T_p}_{\mathrm{in}}}{{c_p}_{p}}dT\right]
\label{trasqdc}
%15.12-2
\end{split}
\end{equation}` ho già verificato che non ci siamo parentesi “solitarie”, magari è solo un problema del punto scelto per spezzare la formula, ma non riesco a vederne altri convenienti.

Non puoi usare \left in una riga di split e \right in un’altra. In questo caso usa \biggl e \biggr:
`\begin{equation}
\begin{split}
Q&=\frac{\dot{m}_{p,0}}{m_{p,0}}\biggl[({m_p}_{\mathrm{in}}-{m_p}_{\mathrm{out}})[-{H_{lat}}_\mathrm{ref}+H_\mathrm{pyrol}]\\
&\qquad-{m_p}_{\mathrm{out}}\int_{T_\mathrm{ref}}^{{T_p}_{\mathrm{out}}}{c_p}_pdT
+{m_p}_{\mathrm{in}}\int_{T_\mathrm{ref}}^{{T_p}_{\mathrm{in}}}{{c_p}_{p}}dT\biggr]
\label{trasqdc}
%15.12-2
\end{split}
\end{equation}`
Nota anche il \qquad per spostare il meno da sotto all’uguale. Meglio usare l’ambiente multline, in questo caso:
`\begin{multline}
Q=\frac{\dot{m}_{p,0}}{m_{p,0}}\biggl[({m_p}_{\mathrm{in}}-{m_p}_{\mathrm{out}})[-{H_{lat}}_\mathrm{ref}+H_\mathrm{pyrol}]\\
{}-{m_p}_{\mathrm{out}}\int_{T_\mathrm{ref}}^{{T_p}_{\mathrm{out}}}{c_p}_pdT+
{m_p}_{\mathrm{in}}\int_{T_\mathrm{ref}}^{{T_p}_{\mathrm{in}}}{{c_p}_{p}}dT\biggr]
\label{trasqdc}
%15.12-2
\end{multline}`
Ciao
Enrico

Go to top