Search:   Help



LyX documentation


Shared groups



<< | Page list | >>

How to use LyX for articles in Journals of the Special Interest Group on Programming Languages (SIGPLAN).

1.  Description

The Special Interest Group on Programming Languages provides guidelines and a LaTeX-class for articles.

2.  Installation

  1. Download this archive file:
  2. Assuming that you are using MiKTeX, create a subfolder named acm in MiKTeX's latex package folder, e.g.
    C:\Program Files\MiKTeX\tex\latex\acm
    and extract the archive file there.
  3. To make the new files visible for MiKTeX, use the Start menu Programs->MiKTeX->Settings and press there "Refresh FNDB".
  4. In LyX use the menu Tools->Reconfigure, and then restart LyX.

3.  Template

LyX includes the template file ACM-sigplan.lyx.

4.  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: (broken link)

  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 a terminal (on Windows: a cygwin shell) and run latex on the file: latex sample.tex
  4. Run BibTeX on the file, which generates sample.bbl (Omit file extension): 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. Or much better, outside the TeX box and in a new paragraph, tell LyX (via LaTeX) to include it: Insert -> File -> Child document..., then select "File: sample.bbl" and choose "Include type: Input".
  8. Preview the doc to make sure it looks the same as before.

Some automated ways of solving this (via scripts) are described here:

5.  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 Scientific Journals

Edit - History - Print - Recent Changes - All Recent Changes - Search
Page last modified on 2014-08-07 16:52 UTC