Thanks
Jose
Svante Bj�rklund wrote:
Hello!
I have written an article with the LaTeX document class ifacmtg. I created a file ~/.lyx/layouts/ifacmtg.layout (see below). I had some problem with LaTeX finding the files it needed.
Maybe this makes it easier to import the LaTeX file:
Some of the environments were easier to write in ERT and are therefore not defined in the layout file:
\begin{frontmatter} \title{...} \author{...} \address{...} \address{...} ... \begin{keyword} .... \end{keyword} \end{frontmatter}
These only exist in the beginning of the LyX file.
/Svante Bj�rklund
The file ifacmtg.layout (LyX 1.2.1) looks like: -----------------------------------
#% Do not delete the line below; configure depends on this # \DeclareLaTeXClass[ifacmtg,harvard.sty]{ifacmtg} # Article textclass definition file. Taken from initial LyX source code # Author : Svante Bjoerklund <[EMAIL PROTECTED]>
# Input general definitions Input stdclass.inc
Preamble \usepackage{harvard} EndPreamble
# Change number of columns Columns 2
# There are no chapters in an article. NoStyle Chapter NoStyle Chapter*
MaxCounter Counter_Section SecNumDepth 3 TocDepth 3
# Change a bit Part and Part* Style Part Align Left AlignPossible Left TopSep 2 BottomSep 1.5
Font Size Larger EndFont End
Style Part* Align Left AlignPossible Left TopSep 2 BottomSep 1.5
Font Size Larger EndFont End
