Generalbeamer | Using Style Files from custom Directory

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
hbaromega
Posts: 48
Joined: Mon Mar 07, 2011 8:21 pm

beamer | Using Style Files from custom Directory

Post by hbaromega »

I want to keep all of my own personal beamer theme style files in a particular directory and want to use them by defining the path of that directory in my .tex file. Is that possible?

I can only use a style file only when it is in beamer's default path, namely

Code: Select all

/usr/share/texmf/tex/latex/beamer/base/themes/theme/
or in the current directory.

Suppose my theme style file name is beamerthemeTest.sty . So far I am using \usetheme{Test}.

If I make a directory called STY, can I do something like \usetheme{STY/Test}?

Thanks a lot.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

beamer | Using Style Files from custom Directory

Post by localghost »

Build up a TeX tree in your home directory.

Code: Select all

~/texmf/tex/latex/beamer/base/themes/personal/
Put your themes there and do a texhash as normal user.


Thorsten
hbaromega
Posts: 48
Joined: Mon Mar 07, 2011 8:21 pm

Re: beamer | Using Style Files from custom Directory

Post by hbaromega »

No no, that's not what I meant. I want to make it installation-path independent.

I want to do the modification in the .tex file itself (so that if I want to work in another machine, I won't have to look for the path and copy my directory there) . Like in normal latex I can do the same while using \usepackage or \includegraphics .

Thanks a lot.
Post Reply