Using the Legrand Orange Book template from http://www.latextemplates.com/template/ ... range-book, I have run into a problem with the title page. When using pdflatex to compile the document, the title page is correctly aligned, but using xelatex the center box (containing the title and author) is smaller and out of alignment. Any help fixing this problem would be very appreciated!
The box is drawn by Tikz, but I can't find the problem with the relevant code:
Code: Select all
\begingroup
\thispagestyle{empty}
\begin{tikzpicture}[remember picture,overlay]
\coordinate [below=12cm] (midpoint) at (current page.north);
\node at (current page.north west)
{\begin{tikzpicture}[remember picture,overlay]
\node[anchor=north west,inner sep=0pt] at (0,0) {\includegraphics[width=\paperwidth]{background}}; % Background image
\draw[anchor=north] (midpoint) node [fill=ocre!30!white,fill opacity=0.6,text opacity=1,inner sep=1cm]{\Huge\centering\bfseries\sffamily\parbox[c][][t]{\paperwidth}{\centering The Search for a Title\\[15pt] % Book title
{\Large A Profound Subtitle}\\[20pt] % Subtitle
{\huge Dr. John Smith}}}; % Author name
\end{tikzpicture}};
\end{tikzpicture}
\vfill
\endgroup
Pdflatex Xelatex