Jun 26

Adding File Style on LaTeX

I don’t try this tips yet, but I know that someday I will adding a new file style on my TeX. I found this site in bahasa that explain how to add a file style (.sty) on LaTeX.

In LyX, my .sty files are in folder :
/usr/local/teTeX/share/texmf.tetex/tex/latex

Here is the steps: (just in case those page not exist anymore, I will rewrote here)

  1. make new folder for the new style
  2. move the file .sty to that folder
  3. run from commandline : texconfig to reconfigure our database style files
  4. choose the menu REHASH or type “r”, then wait until the rebuild process is done
  5. choose exit to close the texconfig, now the new style file is ready to use for our latex

I’ll get back to this post after I tried.

Leave a Reply