Making a Lyx layout file for IEEE’s spconf.sty
Posted on July 13, 2006
Here is a quick howto for writing a Lyx layout file for spconf.sty, a latex style file released by IEEE suitable for most signal processing conferences.
First Create a new layout file called spconf.layout in your Lyx layouts folder (in my case “C:\Program Files\LyX141\Resources\layouts”) with the following contents:
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article,spconf.sty]{article (spconf)}
Input article.layout
Preamble
\usepackage{spconf}
EndPreamble
This will create a new document layout in lyx called “article (spconf)” that will be identical to article, but adds \usepackage{spconf} in the document preamble.
Now we need to fix up some of the header information. spconf uses \name instead of \author, so we’ll add that to our file:
Style Author
LatexName name
End
And finally, we need to add an affiliation section that uses \address in LaTex, and is used when the \maketitle command is used:
Style Affiliation
LatexType Command
LatexName address
InTitle 1
End
There, that should work. Make sure that spconf.sty is stored where latex can find it (normally the same folder as your lyx file). If you want to download the entire spconf.layout file it is available here.
» Filed Under conference, howto, latex, lyx, research
Comments
2 Responses to “Making a Lyx layout file for IEEE’s spconf.sty”
Leave a Reply
so *where* is the mention of how to create the spconf.sty? i only see spconf.layout. what am i missing?
The
spconf.styfile is generally provided with the author’s kit for the conference you are applying for.