This question already has an answer here:

I'm using a LaTeX template for a research article

I've converted the .tex file to a minimal example:





The file SelfArx.cls can be downloaded here

When I compile the LaTeX code above, I get these errors:

enter image description here

How can I resolve this problem?

marked as duplicate by egreg errors Feb 28 '16 at 16:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can add the package directly in your document. You may create a new auxiliary file called lastpage.sty and copy the entire code of the package that you can consult at http://www.biwako.shiga-u.ac.jp/sensei/kumazawa/tex/lastpage.sty.

Not the answer you're looking for? Browse other questions tagged or ask your own question.