# [NTG-context] anchor points for \inmargin

DesdeChaves desdechaves at gmail.com
Wed Nov 11 19:01:47 CET 2015

Dear Sirs,

I'm trying to make a exam for my students. After the question I should
provide a blank space for the answer. In the margin I want write the
partial scores for the answer. The problem  occurs when I force a new page.
In this case the text in the margin is flushed to the next page. I don't
want this behavior. How can I can  this?

Another question: How can I anchor the scores in the middle of the vertical
blank space?  This  \vskip4cm\Info{scores}\vskip4cm don't make the job.

Jorge

Code:

\setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle]
\setupmarginframed[inmargin][align=middle,location=outer]
\def\Info#1{\margindata[inmargin]{\rotate{#1}\ignorespaces}}

\starttext
\startitemize[n]
\item Question 1
\vskip8cm
\Info{20 \periods[3] 15 \periods[3] 10}
\vskip1cm

\item Question 2
\vskip8cm
\Info{20 \periods[3] 15 \periods[3] 10}
\page %%% --> problematic
\item Question 3

\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20151111/2cf4a71a/attachment.html>