I have the following test document:
\documentclass[11pt,a4paper,landscape]{article}
\usepackage[
left=0.500cm,
right=0.500cm,
top=1.00cm,
bottom=0.800cm,
]{geometry} % turning on showframe here makes
% the thing even more puzzling (to me)
\usepackage{tikz}
\begin{document}
\thispagestyle{empty}
\begin{tikzpicture}
\draw (0,0) rectangle (1,1);
\draw (2,2) rectangle (3,3);
\draw (4,4) rectangle (5,5);
\draw (0,0) rectangle (27.9,20);
\end{tikzpicture}
\end{document}
The first thing I don't know, and I didn't find any clue in the documentation to geometry, is if the margins (top, bottom, left, right) relate to the rotated page (because of landscape) or to the original page.
Whatever the case may be, I tried both: subtracting 1cm from the height of the landscape page and from the width. It does make a difference, but I still can't get what I would like: a rectangle that's exactly 0.5cm from the top and the bottom and exactly 1cm and 0.8cm from the right and left respectively. The current one (27.9 and 20; I tried other values) just goes to the very bottom of the page and doesn't stop at 0.5cm from the paper edge.
Sure enough I could do it with the page anchors of TikZ, but then I wouldn't know exactly how big they are and how they relate to the margins of geometry, which would be nice to know.


tikzpagenodespackage – samcarter_is_at_topanswers.xyz Sep 05 '22 at 09:52\noindent? The indentation is15ptwhich is about 1/2 cm – Celdor Sep 05 '22 at 10:19