Re: Textclass specific LaTeX commands.
These lines are automatically inserted when you use the amsthm package. -- View this message in context: http://n2.nabble.com/Textclass-specific-LaTeX-commands-tp1083305p3494498.html Sent from the LyX - Users mailing list archive at Nabble.com.
Re: Textclass specific LaTeX commands.
Atlas wrote: Whenever I import a TEX file into LyX, LyX adds the following lines: %% Textclass specific LaTeX commands. \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered These lines do not appear in the LyX preamble but are there if I export back out to TEX. The lines are giving me a theorem environment redefined error. Question: How do I stop LyX from trying to define its own Theorem environment? (Note: I have to use a stacs.cls file that already defines the theorem environment, so I cannot afford for LyX to insert these lines into the code.) I believe this question was addressed in my other message: These lines are being added because of which layout file you are using (presumably, amsart, or something of the sort). To prevent their being added, you have to change the layout file. rh
Textclass specific LaTeX commands.
Whenever I import a TEX file into LyX, LyX adds the following lines: %% Textclass specific LaTeX commands. \theoremstyle{plain} \newtheorem{thm}{Theorem}[section] \numberwithin{equation}{section} %% Comment out for sequentially-numbered \numberwithin{figure}{section} %% Comment out for sequentially-numbered These lines do not appear in the LyX preamble but are there if I export back out to TEX. The lines are giving me a theorem environment redefined error. Question: How do I stop LyX from trying to define its own Theorem environment? (Note: I have to use a stacs.cls file that already defines the theorem environment, so I cannot afford for LyX to insert these lines into the code.) Thank you, -Atlas -- View this message in context: http://n2.nabble.com/Textclass-specific-LaTeX-commands.-tp1083305p1083305.html Sent from the LyX - Users mailing list archive at Nabble.com.