Is there a way to provide pictures for a 'global accessible' class file?
To use my own class and style files from everywhere, I put them in
C:\Users\myself\AppData\Roaming\MiKTeX\2.9\tex\latex\myfiles
One class file contains a titlepage
\ProvidesClass{classMyClass}[2014/05/06 my own class]
\LoadClassWithOptions{scrreprt}
\newcommand{\myTitelblatt}{
\begin{titlepage}
\includegraphics[width=8cm]{./pics/header}
\end{titlepage}
Now I access the from let's say
C:\myTexts\myText.tex
\documentclass{classFestoDocu_fbwk}
\begin{document}
\myTitelblatt
hello
\end{document}
Is there a way I can provide the picture 'header' for the titlepage in the class file the same way as the class file itself? I want no subdirection 'pics' in C:\myTexts\but in C:\Users\myself\AppData\Roaming\MiKTeX\2.9\tex\latex\myfiles.
C:\Users\myself\AppData\Roaming\MiKTeX\2.9\tex\latex\myfiles(with no subdir) and change the code to\includegraphics[width=8cm]{header}. But is there a way I can put it in a subdir? – Phab Feb 18 '15 at 11:28pics/headerinstead of./pics/header? – Paul Gaborit Feb 18 '15 at 12:27picsin...\tex\latex\myfiles\and still the command is just\includegraphics{header}(picture is named 'header.png'). Seems LaTeX finds the picture if the path is known and the file name unique. – Phab Feb 18 '15 at 12:36