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.

This question already has an answer here:

I am sorry for the silly question, but I am new to TexShop and new to Mac as well. However, I have been looking for a solution in the last two days between the documentation .pdf and various forums. This is my last option before going back to PowerPoint.

I have installed TexShop (v. 3.15) from the TUG website three days ago. I want to use a Beamer theme realized by a student from my university. It consists of three files, an outer.sty, a colorUni.sty and a themeUni.sty. As I understood, these files have to put in the proper folder.

I think the right location should be this one for the three files:


(I put the real name of the files here). Differently from MikTex, I should not update the file database, right?(How do I add a .sty file to my MacTeX/TeXShop installation?)

So, I just open my presentation and call the new theme:


%title page blablabla

However, I get this message:


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

If I enter again the path with the .sty files, it repeats the same message; if I hit return it gives the presentation with the standard theme.

What do I do wrong?

share|improve this question

marked as duplicate by Martin Schröder, cmhughes, Marco Daniel, Werner, lockstep May 17 '13 at 17:50

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.

Welcome to TeX.SX! –  Marco Daniel May 17 '13 at 10:03
It still gives me the same error message with \usepackage. –  Andrea De A. May 17 '13 at 10:15
I tried, but the error message remains. –  Andrea De A. May 17 '13 at 10:56
texmf-dist is the wrong location; please read the documentation. –  Martin Schröder May 17 '13 at 17:08

1 Answer 1

up vote 1 down vote accepted

I use exactly the same preamble than yours, but I think you must have your files in a directory with you theme name for each .sty


That is what I have on my system.

share|improve this answer
Great @penbeuz! It worked after three error messages asking for the new path. Once put it it was fine. –  Andrea De A. May 17 '13 at 11:07
texmf-dist is the wrong location; please read the documentation. –  Martin Schröder May 17 '13 at 17:10

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