ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How to put mark in right margin even for equation [SOLVED]
Date: Wed, 3 Nov 2010 13:29:48 +0800	[thread overview]
Message-ID: <AANLkTimBRji2-D6AwReDq9jK1nzspYntup=a241LQj+i@mail.gmail.com> (raw)

Hi.

2010/10/29 Vladimir Lomov <lomov.vl@gmail.com>:
> Hi.
>
> Please consider the attached example.
>
> I want to put a mark (how many points will give the answer on a
> question) on right margin. I define command '\pointsMark' to do that
> but it fails if I put it inside
> \start/stopformula. Could someone give advice how to put such mark on
> right margin even for equation?
>
I tried to find a bit more information about margins but context
manual don't provide details (I'll try later with sources). I also
tried to see how to use 'plain' TeX commands for marginal material (I
looked to "TeX by Topic") but didn't find appropriate section.

Meanwhile I clarify for myself what I need from margins: I want to put
a text on right margin (like in previous example) but want the text to
be aligned to right (all text in right margin should have the same
right edge).

EDT: I found solution for this:
<code>
\setupimnargin[right][align=left] %%% Ok, I thought that align=left it
to align to the left edge.
</code>

> I tried to find a bit more information about margins but context manual don't provide details
"Look the source, Luke" :D

Now the only question is how to put text on right margin within
\start/stopformula. But this is matter of taste.

P.S. The solution for the problem is much simpler than I use in LaTeX
(tricks with lengths).

---
WBR, Vladimir Lomov
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2010-11-03  5:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03  5:29 Vladimir Lomov [this message]
2010-11-03  6:01 ` Aditya Mahajan
2010-11-03  7:08   ` Vladimir Lomov

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='AANLkTimBRji2-D6AwReDq9jK1nzspYntup=a241LQj+i@mail.gmail.com' \
    --to=lomov.vl@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).