I'm having a problem understanding the relationship between TikZ line width and its relation to tikzpagenodes.sty. (MacTeX2017, updated in the last week.) When I use tikzpagenodes.sty as shown below, the resulting line is drawn indented by the line width, which in turn causes an overfull \hbox by the amount of the line width. The problem goes away if I use remember picture,overlay but that puts the line immovably where I don't want it.
I'm sure I've missed something basic.
\documentclass{article}
\usepackage{tikzpagenodes}
\begin{document}
\parindent0pt
\noindent
\begin{tikzpicture}[remember picture,overlay]
\draw[line width=18pt] (current page text area.north west) -- (current page text area.north east);
\end{tikzpicture}
\vspace{0.15in}
$\uparrow$ With \verb+\draw[remember picture,overlay]+
\vspace{0.5in}
$\leftarrow$ Left margin. With \verb+\draw[]+ $\downarrow$
\noindent
\begin{tikzpicture}[]
\draw[line width=18pt] (current page text area.north west) -- (current page text area.north east);
\end{tikzpicture}
\end{document}



remember picturebut that does not solve the problem (just checked to make sure): There is still an overfull\hboxthat is overfull by the amount of theline widthand the line is still indented. – sgmoye Aug 08 '17 at 20:14only coordinates are relevantkey that solves your problem. – Ulrike Fischer Aug 08 '17 at 20:31