I'm currently writing a document with the book class.

At the end of every part, I have a box where I put my name and I can sign. This box fills the whole horizontal space but is only a couple of lines tall.

I want to position this box at the end of the page, and I want the empty space that is left above it 'striked through' with a line or maybe crossed out with two lines. (This is a legally binding document so you don't want to leave any whitespace above your signature!)

  • Welcome to TeX.SE. It would be helpful if you composed a fully compilable MWE including \documentclass and the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem. Apr 27, 2013 at 21:15

1 Answer 1


enter image description here


\newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1) {};}


\def\a{One two three four five six seven eight nine ten. }
\def\b{\a\a Red yellow blue green. \a\par}

\tikz[overlay,remember picture] {\draw[<->,] (a) to (bb);}
\tikz[overlay,remember picture] {\draw[<->,] (b) to (aa);}

Note: the lines will appear on the second run as they use measurements taken the previous time the document was processed, if you edit the document make sure to latex it twice to get the end points in the correct place.

  • 1
    @GonzaloMedina But I was so proud of myself having made my first tikz answer, I thought I'd use two:-) Apr 28, 2013 at 9:27

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .