I wish to have a vertical arrows from the top of the page to the text, with the length of the arrow adjusted automaticall (like vertical fill).

Please advise.

  • If the answer below solved your problem, please mark it as 'accepted'. Commented Aug 2, 2015 at 3:17

1 Answer 1


You can use TikZ:


  \begin{tikzpicture}[remember picture, overlay]
  \coordinate (\themyarr);
  \draw[red,thick,->,#1] (\themyarr|-current page.north) -- (\themyarr);

Some test text\VArrow and some more text goes here
And now some more text to draw another arrow.\VArrow[blue,ultra thick,-latex]


enter image description here

The optional argument for \VArrow allows to pass options to the \draw command internally used to draw the arrow.

Since some calculations are internally performed. two or three runs are necessary for the code to stabilize.

You must log in to answer this question.

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