I'm trying to do a cover page using TikZ package, but some problems appears. I wanto something like:
So far, it has one problem: the orange rectangle overlay the blue one. This effect only can be seen with lower zoom. I tried to change the dimensions of the rectangles (changing milimiter by milimiter) but ever exist some maladjustment. I think that there have to exist some way to make it easier and nicer, I meanm without havo to change the milimeters. Any idea? So far, I have this
Code: Select all
\documentclass{report}
\usepackage[margin=3cm]{geometry}
\usepackage[svgnames]{xcolor}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[remember picture,overlay]
\node[yshift=-5.57cm] at (current page.north west)
{\begin{tikzpicture}[remember picture, overlay]
\draw[draw=MidnightBlue,fill=MidnightBlue] (0,0) rectangle
(\paperwidth,5.57cm);
\end{tikzpicture}
};
\end{tikzpicture}
\begin{tikzpicture}[remember picture,overlay]
\node[yshift=-1.2\paperheight] at (current page.north west)
{\begin{tikzpicture}[remember picture, overlay]
\draw[draw=DarkOrange,fill=DarkOrange] (0,-10) rectangle
(7cm,\paperheight);
\end{tikzpicture}
};
\end{tikzpicture}
\end{document}
Bests