Hi Daniel, If there is already a LaTeX class and style, then you only need to create .layout file that points LyX in the right direction. A few weeks ago, I wrote a simple example that you can find at:
http://www.oak-tree.us/blog/index.php/2009/11/02/custom-lyx-nih That example is mostly about changing how the document appear and modifying the section labels. Additionally, you might want to look at this article, which talks about creating a local layout file in a document template. Creating global layout files is kind of, sort of the same. (I haven't yet done anything with modules, but I assume that the same principles apply.) http://www.oak-tree.us/blog/index.php/2009/11/14/customize-lyx-character-styles If you need examples of layout modules with advanced features, I'd recommend looking at the Sweave example on the LyX website. While it is much more complicated than the examples above, I've found it invaluable for understanding LyX's internal mechanisms: On Wed, 2009-11-18 at 11:54 +1300, Daniel Hofmann wrote: > Hi > > I am trying to get Information Mapping running on my Lyx 1.6.3., the > LaTex class and style has been produced by Gerd Neugebauer as > limap.cls and limap.sty, both are part of the TeX Live 2007 > distribution. > > There is no accompanying .layout file for LyX, so I presume that I > need to write one. However, after reading chapter 5 of the > Customization Manual I am somewhat baffled as to what to do. > > Do I: > 1) need to create a whole new document class, since limap.cls is not > part of the standard classes, or > 2) can I write a short layout file that points lyx in the right direction? > > If the former is the case then I'm unsure what it would help me to > have a Latex .cls or .sty file in the first place, since I need to > write the entire layout file anyway. Surely I'm missing something > vital here? > > Kind regards, > Daniel > > >