simpleinvoice icon indicating copy to clipboard operation
simpleinvoice copied to clipboard

add setlogo using graphicx package for including company logo

Open pgray opened this issue 1 year ago • 1 comments

I tried to implement #3 using the graphicx package

It seems to work well in my testing, though looks a bit better if the minipage sections are top aligned.

I'm unsure how to add graphicx as a conditional dependency.

Please let me know if there's a different approach or where to document the required usepackage{graphicx} if someone wants to set a logo.

pgray avatar Sep 19 '24 17:09 pgray

This would be a great addition! I tried it out but doesn't seem like the minipage layout is working for me, I get the logo going across the entire page and behind text. The test image was 450x150, not particularly large but it is stretched out to fit the page width.

Edit: something like [width=0.8\textwidth] in the includegraphics works for me, though also don't like the alignment happening between the textboxes. Adding some vertical space after the logo, like \vspace{2.5pc} in my case works.

Anyway, perhaps specifying a required logo size or adding some parameters to the \setlogo command to allow spacing/positioning, will work better in general.

podiki avatar Aug 11 '25 19:08 podiki