\begin{tikzpicture} \draw (0,0) -- node {center} (\linewidth,1); \end{tikzpicture}