Code: Select all
\documentclass{article}
\usepackage{layouts}
\usepackage{tikz}
\newlength{\mytikzwidth}
\setlength{\mytikzwidth}{\textwidth}
\addtolength{\mytikzwidth}{-5ex} % this 5ex is just rule of thumb.
\verb|capital| is a Map\footnote{The example uses country and capital,
and it can be described as a map. Isn't it intentioanl?}, so it
understands the meaning of `+=' if the input is \verb|( -> )|.
\begin{document}
\noindent\begin{tikzpicture}
\draw node[draw=black,fill=black!20,rounded corners,inner sep=2ex,text width=\mytikzwidth] {
Lorem ipsum dolor sit amet \dots
};
\end{tikzpicture}
\end{document}