Go to page:

Search:   Help

Navigation

Groups

LyX documentation

Edit

Shared groups

Links

AcmSigplan

Categories: Layouts, Example
<< Preventing linebreak in inline formula | Page list | Include external program listing >>

Using the ACM Sigplan style

Installing the ACM SIGPLAN class file

  1. Download the sigplanconf.cls file from http://www.acm.org/sigs/sigplan/authorInformation.htm
  2. Assuming that you have MiKTeX installed, put that class file into C:\Program Files\MiKTeX\tex\latex.
  3. To let MiKTeX know that it is there, use the Start menu Programs->MiKTeX->Settings and press there "Refresh FNDB".

Installing the ACM SIGPLAN article layout file to LyX

Since LyX 1.5.7 this is no longer necessary, as the layout file is part of LyX.

  1. Get the file sigplanconf.layout from
    uploads:/Examples/ACM/sigplanconf.layout
  2. Copy sigplanconf.layout to LyX's layout folder, e.g. to
    C:\Program Files\LyX\Resources\layouts
  3. To let LyX know the new style is there, use in LyX the menu Tools->Reconfigure, and then restart LyX.

You find a LyX template file here
uploads:/Examples/ACM/ACM-sigplan.lyx

Including bibliography entries in LyX file

ACM wants me to submit the .tex file with the bib entries in it (not a separate file) so they (presumably) can automatically extract bib links. This was a major pain in the ass because I had to learn enough Latex to do it, which I hate doing. My philosophy is that your document shouldn't have compiler errors. General info on the latex/bibtex dance: http://hajek.stat.ubc.ca/~webmaste/latex.workshop/ws2/node5.html

  1. Get your document looking fine in LyX, except for the last page columns aren't even.
  2. Export to TeX: File -> Export -> Latex. Pretend it's called sample.tex.
  3. Open cygwin shell and run !MiKTeX on the file: /cygdrive/c/texmf/miktex/bin/latex.exe sample.tex
  4. Run BibTeX on the file, which generates sample.bbl (Omit file extension): /cygdrive/c/texmf/miktex/bin/bibtex sample
  5. Open your LyX document again. At the very end, remove your grey block "BibTeX generated bibliography".
  6. Replace it with an evil red text box (Insert->Tex). Add in that evil red text box: \bibliographystyle{plain}
  7. Immediately after this, copy in the contents of the generated sample.bbl file.
  8. Preview the doc to make sure it looks the same as before.

Making the columns even on the last page

Once you've included the bibliography directly into the LyX file, this is easy. Find the spot where you'd like to even out the columns on the last page. After that reference, add "\vfill\eject". Lather, rinse, repeat until you find the right place to even them out.

Layouts Example

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2008-11-29 02:06 CET