I have texpad installed on my Mac, and would like to install a custom beamer style - Frederiksberg (can be found here: http://www.matdat.life.ku.dk/LaTeX/Frederiksberg/ )
The manual is not entirely exact on where to place the styles, as it was developed on linux. it mentioned a directory called /usr/local/gwTeX which i do not seem to have.
i have instead search quite a bit for a solutions, and it seems that the most common way to install custom styles is to make a couple of directories in ~/Libraries so that the styles are located in /Library/texmf/tex/latex/beamer/. as it is in my "personal tree" it should be enough to simple leave the styles there as the directories are searched automatically
it does, however, not work. texpad gives me the error:
! LaTeX Error: File `beamerthemeFrederiksberg.sty' not found.
texpad looked in the directory /usr/local/texlive/2013/texmf-dist/tex/latex/beamer/...
which of course prompted me try and put the the file in that directory - more specifically in /usr/local/texlive/2013/texmf-dist/tex/latex/beamer/themes/theme where there are already a bunch of beamer themes, such as "beamerthemeGoettingen.sty" and "beamerthemeWarsaw.sty". Goettingen and Warsaw worked, but Frederiksberg did not - i have double checked for spelling mistakes :/
does anyone know what the problems is? the "texmf/tex/latex/" solution does not appear to work with texpad on my computer, and neither does placing it with the other styles.
EDIT: thought i might share the code also
\documentclass[12pt,t]{beamer}
\usetheme{Frederiksberg}
\title{My Nice Presentation}
\subtitle{Test}
\author{Productive Scholar}
\date{\today}
\institute[2014]{KU-SUND}
\begin{document}
\frame[plain]{\titlepage}
\end{document}
/usr/local/texlive/2013/
as that should be reserved for the TeX distribution. (The reason it doesn't work is because TeX relies on a database of hashed names to find things in that directory.) You have two options. One is your personaltexmf
tree. The other is/usr/local/texlive/texmf-local/
[note that this is NOT under a directory named for a year]. The first is easier. Try<your home directory>/Library/texmf/tex/latex/beamer/themes/
. Note that you should NOT use/Library
. You want to use<your home>/Library/
./usr/local/texlive/texmf-local/tex/latex/local/
, for a system-wife installation, and otherwise somewhere in your home directory (such as~/Library/texlive/...
as suggested already).