10.07.2015 Views

AMS-LATEX Version 1.2 User's Guide - INFN

AMS-LATEX Version 1.2 User's Guide - INFN

AMS-LATEX Version 1.2 User's Guide - INFN

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

20 Appendix A. ERROR MESSAGES AND OUTPUT PROBLEMSwhere the first line should read instead\begin{alignat}{2}Another possibility is that you have a left bracket character [ following a linebreak command \\ in a multiline constructionsuch as array, tabular, oreqnarray. This will be interpreted by <strong>LATEX</strong> as the beginning of an ‘additional verticalspace’ request [5, xC.1.6], even if it occurs on the following line and is intended to be part of the contents. For example\begin{array}a+b\\[f,g]\\m+n\end{array}To prevent the error message in such a case, you can add braces as discussed in the <strong>LATEX</strong> manual [5, xC.1.1]:\begin{array}a+b\\{[f,g]}\\m+n\end{array}Missing \right. insertedExample:! Missing \right. inserted.\right .l.10 \end{multline}? hI’ve inserted something that you may have forgotten.(See the above.)With luck, this will get me unwedged. But if youreally didn’t forget anything, try typing ‘2’ now; thenmy insertion and my current dilemma will both disappear.Explanation: This error typically arises when you try to insert a linebreak inside a \left-\right pair of delimiters in amultline or split environment:\begin{multline}AAA\left(BBB\\CCC\right)\end{multline}There are two possible solutions: (1) instead of using \left and \right, use ‘big’ delimiters of fixed size (\bigl \bigr\biggl \biggr :::;seex3.14.1); or (2) use null delimiters to break up the \left-\right pair into parts for each line:AAA\left(BBB\right.\\\left.CCC\right)The latter solution may result in mismatched delimiter sizes; ensuring that they match requires using \vphantom in the linethat has the smaller delimiter (or possibly \smash in the line that has the larger delimiter). In the argument of \vphantomput a copy of the tallest element that occurs in the other line, e.g.,xxx \left(\int_t yyy\right.\\\left.\vphantom{\int_t} zzz ... \right)Paragraph ended before \xxx was completeExample:Runaway argument?! Paragraph ended before \equation was complete.\par

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!