Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would use actuarial symbols in my documents. Here we have lots of example: http://maths.dur.ac.uk/stats/courses/AMII/LifeConSymbolsGuide.pdf

some of them need lifecon package. Could you tell me how can I add it? If I add \usepackage{lifecon} it doesn't work:

! LaTeX Error: File `lifecon.sty' not found.Type X to quit or <RETURN> to proceed,or enter new name. (Default extension: sty)Enter file name:! Emergency stop.<read >

Coule you tell me how can I add it?

share|improve this question

1 Answer 1

Just copy the file from

http://maths.dur.ac.uk/stats/courses/AMII/lifecon.sty

and stick it in the same directory as your document, then

\usepackage{lifecon} 

should work

share|improve this answer
    
Unfortunataely, I have this file in the same folder as my document. It isn't working. There is the same error. –  Tomek May 17 at 22:54
1  
@Tomek You can't get a file not found error if it's in the same directory (if tex can find the document file). (That doesn't mean it doesn't happen (computers can have bugs:-) but since it is not supposed to be possible there is isn't much we can say without more example, in particular an example document, a directory listing, anything else that would help someone suggest anything –  David Carlisle May 17 at 23:01
    
Are you compiling with that directory as your working directory? Just to be sure... –  cfr May 17 at 23:36
    
I'm not sure. How can I check it? How can I set working directory? –  Tomek May 18 at 9:04
    
If your IDE is not helping, first get it working directly, open up a command window cd to the folder that has got your document and the .sty file and type pdflatex zzzz (whatever your document is called) then if latex finds the file and makes a pdf with no error you know tex is working and it's just a matter of teaching your editor to do what you just did. –  David Carlisle May 18 at 10:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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