4

I would like to use the theme for beamer called amsterdam (\usetheme{amsterdam}). I'm using Ubuntu 14.04 LTS and Tex Live 2014. I've tried to place that beamerthemeAmsterdam.sty to everywhere, but it gives me error that it cannot be found.

I've tried these:

/usr/local/texlive/texmf-local/tex/latex/

/home/username/texmf/ <--- I created that texmf folder there.

/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/themes/theme/

/usr/local/texlive/texmf-local/tex/latex/local/

What is the problem? Default themes are in here:

/usr/local/texlive/2014/texmf-dist/tex/latex/beamer/themes/theme/

but I cannot use even those; I get the same error!

I'm using Sublime Text as an editor (with latextools). Everything else is working fine.

7
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
    – user31729
    Sep 4, 2014 at 10:34
  • Amsterdam theme is not among the default ones. You have to download and install it by your own and then run texhash to let your distribution know you have installed something new. Sep 4, 2014 at 10:35
  • 1
  • 3
    maybe you need to type \usetheme{Amsterdam} (with a capital A)?
    – d-cmst
    Sep 4, 2014 at 11:04
  • 1
    Perhaps you have another tex system. Run some small hello-world document and check in the log-file the pathes of standard files like artice.cls. Sep 4, 2014 at 11:38

1 Answer 1

7

run in a terminal:

kpsewhich beamerthemedefault.sty

and you'll get the exact position of that file. However, that is the official directory, where personal files schould not go. There is an local texmf tree. You can get that directory by running

kpsewhich -var-value TEXMFLOCAL

On my system I'll get

/usr/local/texlive/texmf-local

In that directory create a subdirectory like

mkdir -p /usr/local/texlive/texmf-local/tex/latex/beamer/

and put your personal file in there. Then run texhash from the command line to update the data base. A following

kpsewhich beamerthemeAmsterdam.sty

should give the complete path.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .