I've been working on this for the last three hours and found no clue. This morning I found the blog Certificates with LaTeX and downloaded the tex file certificate.tex. When I compile this in my emacs I run into the following error report:

ERROR: LaTeX Error: File `nowidow.sty' not found

I followed the instruction on this post:

Where do I place my own .sty files, to make them available to all my .tex files?

and put the nowidow.sty into the directory: /usr/local/share/texmf/nowidow

But the error report still pops up. Did I put the file in the wrong directory or am I missing other important steps? Could anyone help me? My system is Ubuntu 12.04.

closed as too localized by lockstep, Claudio Fiandrino, Mensch, Martin Schröder, jub0bs Apr 11 '13 at 13:24

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.


There is a TeX directory structure below .../texmf/. In your case the .sty file should go into


The subdirectory tex means "TeX files" and the subdirectory latex stands for the TeX format "LaTeX" (format file latex). Documentation: A Directory Structure for TeX files.

Usually you also need to refresh the file name database for TEXMFLOCAL by running texhash or mktexlsr (as root because of /usr).

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