2

I am trying to compile a document I built on another computer using algorithm2e. I keep getting errors when I try to build it with TeXworks. I suspect I get those errors because it cannot find the algorithm2e package. However I don't know how to get this package on my MiKTeX.

doncherry
  • 54,637
Flethuseo
  • 553

2 Answers2

3

MiKTeX can install missing packages on the fly by default. If it doesn't work, and if you are using latest MiKTeX distribution (MiKTeX 2.9), just run MiKTeX's Package Manager (in start menu) to install algorightm2e package.

For installing LaTeX packages manually, see How can I manually install a package on MiKTeX (Windows)

Leo Liu
  • 77,365
2

Miktex, like any good latex distribution, comes with a package manager. Go to start->programs->miktex and check for the "browse packages" entry. I think it is in the "Maintanance" sub-menu. In the manager, just search for the package and install it if necessarry.

Prior to that, you can also check your log file. If the package is not installed you get an error "package xyz.sty not found"

Martin H
  • 18,164