8 January 2010 3 Comments

How to use the IEEEtran.cls Latex class file with Lyx on Ubuntu Jaunty

Howto use the IEEEtran.cls Latex class file with Lyx on Ubuntu Jaunty

With the help of several Ubuntu packages using the IEEE trans Latex class in the Lyx editor is very easy. To install use apt-get:

1
 sudo apt-get install lyx texlive \              texlive-latex-extra       \              texlive-math-extra        \              texlive-science           \              texlive-fonts-recommended \              texlive-publishers

And if you like confirm the required files are in the correct locations:

1
 ~/# find /usr/share/ | grep -i ieeetr /usr/share/lyx/layouts/IEEEtran.layout /usr/share/lyx/templates/IEEEtran.lyx /usr/share/texmf-texlive/bibtex/bst/base/ieeetr.bst ... /usr/share/texmf-texlive/tex/latex/IEEEtran/IEEEtran.cls

Then in the Lyx editor:

  1. Tools>Reconfigure
  2. Restart Lyx
  3. File>New from template
  4. choose the template /usr/local/share/lyx/templates/IEEEtran.lyx

Very easy once you know how! The template includes all the necessary magic ERT to get the IEEE class to work in Lyx.

  • Julio Guerra

    You forgot the a step before running lyx again:sudo mktexlsr

  • http://www.imperiousseo.com SEO USA

    Really informative post and i learn a lot from this article, now i am looking forward to upcoming articles.

  • abi

    This is the information that really works! Thank you so much !