[Tex/LaTex] Stretching a framebox over the whole page

boxesframedvertical alignment

Does anyone know how to stretch a (framed) box down to the end of the page? In effect something like

\documentclass{scrartcl}

\begin{document}
sometext

\framebox[\textwidth]{somemoretext\vspace*{\fill}}
\end{document}

Only that this doesn't work, of course, because \fill doesn't work inside a box…

I've also tried the framed package, that doesn't solve the problem either.

(In case anyone is wondering why I'm trying to do this, think of a handout with a box for handwritten comments at the end…)

Best Answer

run it with xelatex

\documentclass{article}
\usepackage{pst-node}
\begin{document}
sometext

\rnode[lt]{A}{somemoretext}

\vfill
~\hfill\rnode[rb]{B}{~}
\psframe(A)(B)

\clearpage
foo
\end{document}

enter image description here