! LaTeX Error: File `algorithm2e.sty’ not found.

During yet another LaTeX project on my MacBook, I added some algorithmsto my paper. After checking a couple of examples online, and discussingwith a colleage I decided to go with algorithm2e over others such asalgorithm, algorithmic, algorithmicx, program and pseudocode[1].However I got the following error “! LaTeX Error: File`algorithm2e.sty’ not found.” Since I am using macport, to resolvethis I needed to install the texlive-science package by executing sudoport install texlive-science, and all was good again.

Read More →

Springer Lecture Notes in Computer Science (LNCS) style

When working on a recent paper for aconference, I was required to produce it using the Spring Lecture Notesin Computer Science (LNCS) style. Being naive, I assumed TeX wouldautomatically download the required package… unfortunately I got thefollowing error “LaTeX Error: File `llncs.cls’ not found.” So I had toinstall the class manually. Here are the instructions for installing iton Mac OS X for latex from macport.

Read More →