add setlogo using graphicx package for including company logo#7
add setlogo using graphicx package for including company logo#7pgray wants to merge 1 commit intomathialo:masterfrom
Conversation
| \newcommand{\setcurrency}[1]{\def \INV@text@currency {\ #1}} | ||
| \newcommand{\setvattext}[1]{\def \INV@text@vat {#1}} | ||
| \newcommand{\setaccounttext}[1]{\def \INV@text@accountnum {#1}} | ||
| \newcommand{\setlogo}[1]{\def \INV@content@logo} {#1}} |
There was a problem hiding this comment.
I think there is an extra } at the end of \INV@content@logo which causes the error You can't use macro parameter character #' in vertical mode.`
|
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 Anyway, perhaps specifying a required logo size or adding some parameters to the |
I tried to implement #3 using the
graphicxpackageIt seems to work well in my testing, though looks a bit better if the
minipagesections are top aligned.I'm unsure how to add
graphicxas 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.