Voi Mập
Voi Mập

Reputation: 809

How can I install package of Latex use Texmarker

I 'm new to use Latex. I have installed MiKTex and Texmarker. I opened my file "test.tex". Program need to install one package, I choose "yes". But after this , i still got error , file "...sty" not found. Can anyone help me.

Thanks in advance!

P/S: I'm using Windows:)

Upvotes: 0

Views: 26828

Answers (2)

Lisa De Castro
Lisa De Castro

Reputation: 51

When you installed MikTex, it has a default setting of installing packages on the fly. This means that all you need to do is use the command \usepackage{name-of-package} at the beginning of your document. Be sure that this command comes before \begin{document}. If this doesn't work, you may want to check this answer here for further help.

Upvotes: 1

Salatiel Garcia
Salatiel Garcia

Reputation: 33

I don't use Miktex, so I cannot test the aswer. A quick search gives the aswer:

mpm --verbose --install X

You should type this inside a system console and X is the package you need. If the error is the same it means that the package is not in the Miktek repositories and you should install it manually. Check out the documentation on how to do that.

Upvotes: 1

Related Questions