Document ClassesBeamer New Theme Shared Resources

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
remusmp
Posts: 25
Joined: Sat Oct 17, 2009 8:37 pm

Beamer New Theme Shared Resources

Post by remusmp »

Hej,

I have got a new problem. I did a Beamer theme and I am using a few graphical resources in it (logos or backgrounds). My wish is to place these resources in the miktex distribution folder near the .sty files of beamer:

c:\Program Files\MiKTeX 2.8\tex\latex\beamer\themes\resources

In the themes you may also find these folders:
color
font
inner
outer
themes

My sty files were placed in the corresponding folders (the outer sty file in the outer folder and so on) and I want to use a common folder called 'resources' for sharing all the graphics needed in the theme. I need to figure out how to set the path for the includegraphics command (relative path). If I use:

Code: Select all

\includegraphics[height=1cm]{../resources/logo.pdf}
then it will look for the logo.pdf in a subfolder of the current .tex file and not in a subfolder of the .sty file. (the style file and the current .tex file are not in the same directory).

If you have ever done something similar, please let me know.

Thank you very much!

R.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply