Friday, May 07, 2010

IEEE formatting in LaTeX

I had to write one of my recent reports in IEEE format. Although IEEE does provide all the necessary files and guideline, I had to spend quite sometime to get the things working with LaTeX. So here is a step by step procedure on how to use the IEEE template in LaTeX in Ubuntu and Fedora.
  1. Download the template from the IEEE Manuscript Template page. Presently the file-name for Unix is "IEEEtran2.tar.gz".
  2. Extract this file in a folder IEEEtran.
  3. Within that create a subdirectory "bibtex"
  4. Download the bibtex file "IEEEtranBST1.tar.gz" from the same IEEE Manuscript Template site to this directory and extract.
  5. For Ubuntu users:
    • Move IEEEtran directory to /usr/share/texmf-texlive/tex/latex/
  6. For Fedora users:
    • Move IEEEtran directory to /usr/share/texmf/tex/latex
  7. Run "texhash", (this would require root privileges) or use sudo if its available.
That is it. Now you are ready to directly use this template file for your LaTeX reports. A couple of more things for LyX users:
  • After following these steps, you have to restart LyX.
  • Go to Lyx > Tools > Reconfigure
  • Restart LyX
  • To use this template just select IEEEtran from the Document Settings.
If you have been benefited by this short tutorial, please drop by a comment.

1 comment:

I'd love to hear from you !