How can i place an image on the top of the specified page. For example odd pages will be filled by image, even with text. Or, i just want to make sure that (lua)latex will place images on page 2,3,6?
Similar problem was discussed here: How to include a picture over two pages, left part on left side, right on right (for books)?
Best Answer
Here is a version of a solution to How do I add an image in the upper, left-hand corner using TikZ and graphicx adapted to only add the specified logo on pages
2,3, and 6
. It uses the[some]
option to thebackground
package.To change the pages on which the graphic is placed, you simply need to change the values in the definition of
\ListOfPagesWithLogo
. With that macro set as:one obtains the logo on pages
2
,3
, and6
:Notes:
xstring
package for numerical comparisons as I like that syntax but this can be adapted to not require that.tikz
picture, but you can un-commented the\SetBgContents
line if you wish to include an external graphic.Code: