I am creating a new document class that needs to render an image (e.g., a logo) on the title page. What is the correct way to distribute image with the class? Should the image file be distributed along with the
.cls file? That seems like a hack to me, since the user would have to have that image file in the same directory as each of the documents that uses the class, correct?
I seem to recall (from years ago) reading about a method for embedding an image into a
.tex file itself. That seems prone to error, too, since one would have to know if the document is being rendered using
pdftex (requiring the image to be a
latex (requiring a
The approach up with which I ended was to convert the logo to Tikz code which I embedded in the
.cls file. The downside is that my class now requires
tikz as a dependency, and many users with old LaTeX installations don't have
My approach works well because my original image is simple vector art. What would one do if it were a raster image?
What is the correct way to handle this?