[Tex/LaTex] Texlive + Texmaker+Ubuntu missing sty

linuxtexlivetexmaker

I installed Texmaker and Texlive in my Xubuntu (basically = Ubuntu).

I want to use the kbordermatrix package, but when I compile the document in Texmaker I get the following error:

! LaTeX Error: File `kbordermatrix.sty' not found.

Is that suppose to install .sty automatically by Texlive or I have to make some setup?

I'm new to Linux, just recently changed to Ubuntu from MS Windows. I stuck on this problem for a whole day now. I would very appreciate someone can help me.

Cheers
Lee

Best Answer

It looks like the .sty file is available here.

http://people.hss.caltech.edu/~kcb/LaTeX.shtml

If you run kpsewhich -var-value=TEXMFHOME In terminal, it should give you path to a folder called texmf/.

If you put the .sty file in a subdirectory of that file such as texmf/tex/latex/commonstuff/ then you should be able to run texhash [path to texmf folder] to have latex rescan the folder.

I took the installation instructions from here:

Where do I place my own .sty or .cls files, to make them available to all my .tex files?

Related Question