## LaTeX forum ⇒ Page Layout ⇒ Custom Cover Page Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
PulpFan
Posts: 9
Joined: Thu Aug 08, 2019 8:01 pm

### Custom Cover Page

I am not using \maketitle, I am using the following code:

1. % image for title page
2. \usepackage{eso-pic}
3. \usepackage[absolute,overlay]{textpos}
4. \newcommand\CoverPage{%
5. \put(0,0){%
6. \parbox[b][\paperheight]{\paperwidth}{%
7. \vfill
8. \centering
9. \includegraphics[width=\paperwidth,height=\paperheight,
10. keepaspectratio]{images/CoverArt.png}%
11. \vfill
12. }}}
13.
14. \newcommand*{\titlePowned}{\begin{titlepage}
16.
17. \color{pink}
18.
19. \begin{textblock*}{5cm}(14.35cm,0.5cm)
20. \Large Vol. 0 Issue 0
21. \end{textblock*}
22.
23. \begin{textblock*}{8cm}(1.2cm,3.37cm)
24. \raggedleft\huge \textit{Stories for Very Hungry Caterpillars\hspace{0.16cm}}
25. \end{textblock*}
26.
27. \begin{textblock*}{4cm}(0.70cm,23.7cm)
29. \end{textblock*}
30.
31. {\scshape\huge Copyright Infringing Prototype \par}
32. \end{titlepage}}

As I currently do not have license to use the image and have the paragraph at the very end, it works.

However if I comment out the note to myself that it is not licensed, as I will do when it is licensed, LaTeX does not seem to see textblock as content for the page with the CoverArt.png and as a result the title page with the CoverArt.png is not typeset and the textblock declarations are typeset on top of the next page, resulting in the content that is suppose to be the second page being the first page.

I'm sure there is a simple solution to this?

PulpFan
Posts: 9
Joined: Thu Aug 08, 2019 8:01 pm