This blog has moved! Redirecting...
You should be automatically redirected. If not, visit http://scrolls.mafgani.net/ and update your bookmarks.

Sunday, November 13, 2005

Adding style files to LaTeX

Lest I forget how to do this once more, I'm going to jot it down here for eternity:

If you want to use a non-standard style file for LaTeX, you have to first put it in the LaTeX tree and then compile it so that it is recognized.

So, first I downloaded the style files from here.

Next, I unzipped them to my desktop. There were three files:

bare_conf.tex
bare_jrnl.tex
IEEEtran.cls


These were then copied (as root) to the directory

/usr/share/texmf/tex/latex/misc/ieeetran


The folder "ieeetran" was created to avoid confusion.

Finally, I had to run the "mktexlsr" command so that these new files were "compiled" and read as part of the path. This was done as:

[zubin@localhost ieeetran]$ sudo mktexlsr

0 Comments:

Post a Comment

<< Home