2012年9月21日星期五

[ZT] Howto use the IEEEtran.cls Latex class file with Lyx on Ubuntu

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

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:

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:

~/# 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.
 
For the original version, please refer to http://www.rrfx.net/2009/06/howto-use-ieeetrancls-latex-class-file.html

没有评论: