Richard Heck wrote: > >> Hmm. If you look at View>Source (Complete Source), is there anything in > >> the preamble that might be loading a proof environment?
Nikos Alexandris wrote: > > I guess so after seeing (below) the "ams..." stuff, right? > > > > --%<--- head of complete source --%<--- > > \documentclass[english]{tRES2e} > > \usepackage[T1]{fontenc} > > \usepackage[latin9]{inputenc} > > \usepackage{amsthm} > > \usepackage{amsmath} > > \usepackage{babel} > > --->%-- Richard Heck: > LyX is adding these, then. Try something like: > Provides amsthm 1 > Provides amsmath 1 > That tells LyX it doesn't need to load these. Which precisely you need > LyX not to load will depend upon what tRES2e loads itself. Crazy... it compiles :D (tres2e.layout and the a .lyx test-files attached -- as usual, the respective .cls and .sty files have to be made available to LaTeX) > > I think that tRES2e is an independent class. Does this mean the layout > > has to build from scratch? > No, you can still start with article, since tRES2e defines mostly > article-like environments. The semantics doesn't matter so much as the > syntax. Thank you so much Richard. Are there (other) things that I need to pay attention to? Nikos
#% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[tRES2e]{article (tres2)} # Format 11 Input stdclass.inc SecNumDepth 3 TocDepth 3 Provides amsthm 1 Provides amsmath 1 NoStyle Chapter NoStyle Chapter*
testing_the_tres2e_layout.lyx
Description: application/lyx