On Monday 26 March 2007 14:11, Etienne wrote:
> I'm using amspaper.tex template available at
> http://www.ametsoc.org/pubs/journals/AMS_Latex_v1_00.tar.gz
>
> The following section does not compile from LyX after
> import of the latex file, but it compiles ok with a
> straight "latex" on the initial latex file.
>
> -----
> \begin{appendixA}
> \section*{\begin{center}Appendix Title Is Entered
> Here\end{center}}
> \end{appendixA}
> -----
>
> The problem is the \begin{center} and \end{center}
> within a \section* statement.
>
> Here is output in LyX:
>
> -----
> Paragraph ended before [EMAIL PROTECTED] was complete
> LaTex Error: \begin{appendixA} on input line 252 ended
> by too many }'s
> LaTeX Error: \begin{document} ended by \end{appendixA}
> -----
>
>
> How can I fix this problem or make the subsection
> center so that it works in LyX?

KLUDGE ALERT: Not pretty, but it just might work. Instead of invoking any kind 
of centering, just put an \hfil on either side...
\begin{appendixA}
\section*{\hfil{}Appendix Title Is Entered
Here\hfil}
\end{appendixA}

HTH

SteveT
 
Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/

Reply via email to