0

Thanks to John Kormylo in this question ("Clip an A3 tikz overlay to two A4 pages"), I managed to create a background in two halves for use on two consecutive pages.

Now I need to create symmetrical one in which the LH side is a mirror of the RH side, eg Gradated symmetrical background

This is for a whole landscape page, so should I do this as two separate pictures, or is there a way to create it all in one go?

  • 3
    Two separate tikzpictures would be easier. Note you can also use negative scales with \includegraphics and \scalebox. – John Kormylo Feb 12 '17 at 16:24
2

If you have a pdf file with background, you can mirror it with:

\documentclass[landscape]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[overlay, remember picture]
\node[inner sep=0pt, outer sep=0pt, anchor=north west] at (current page.north west)
{\includegraphics[width=.5\paperwidth, height=\paperheight]{example-image}};
\node[inner sep=0pt, outer sep=0pt, anchor=north west, xscale=-1] at (current page.north east)
{\includegraphics[width=.5\paperwidth, height=\paperheight]{example-image}};
\end{tikzpicture}
\end{document}

enter image description here

And if you have a tikxpicture, you can mirror it with a shifted and scaled scope. In this case you can apply different options to the mirrored picture.

\documentclass[landscape]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[overlay, remember picture]

\begin{scope}[shift=(current page.south west)]
\draw[line width=2mm, red] (0,0)--++(.5\paperwidth,\paperheight);
\end{scope}

\begin{scope}[shift=(current page.south east), xscale=-1]
\draw[line width=2mm, green] (0,0)--++(.5\paperwidth,\paperheight);
\end{scope}

\end{tikzpicture}
\end{document}

enter image description here

  • It's TikZ, as in the post I linked above. Thanks very much, I'll try to apply that. – Peter Flynn Feb 13 '17 at 23:00
  • I have managed to make some of this work on the help given above, thank you very much. – Peter Flynn Aug 27 '17 at 19:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.