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”

  1. anonymous on March 14th, 2009 3:51

    so *where* is the mention of how to create the spconf.sty? i only see spconf.layout. what am i missing?

  2. David Dean on March 15th, 2009 18:53

    The spconf.sty file is generally provided with the author’s kit for the conference you are applying for.

Leave a Reply




  • Pages

  • Recent Posts

  • Categories

  • Interesting from Elsewhere

  • Meta