From: DesdeChaves <desdechaves@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: anchor points for \inmargin
Date: Wed, 11 Nov 2015 18:01:47 +0000 [thread overview]
Message-ID: <CAPBmU9Fr8=smnf13WKynr-tARqpTDnGrnBMhc1ohf7QHZH4i=w@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 947 bytes --]
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.
Thanks in advance.
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
[-- Attachment #1.2: Type: text/html, Size: 1467 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2015-11-11 18:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-11 18:01 DesdeChaves [this message]
2015-11-12 18:14 ` Wolfgang Schuster
2015-11-12 21:24 ` DesdeChaves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAPBmU9Fr8=smnf13WKynr-tARqpTDnGrnBMhc1ohf7QHZH4i=w@mail.gmail.com' \
--to=desdechaves@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).