Re: [NTG-context] How to put mark in right margin even for equation [SOLVED]

2010-11-03 Thread Aditya Mahajan

On Wed, 3 Nov 2010, Vladimir Lomov wrote:


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


Did you test Hans suggestions here: 
http://archive.contextgarden.net/message/20060711.094332.2092ebf5.en.html


(I am not sure if it will work with MkIV, but it should still work with 
MkII)


Aditya
___
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
___


Re: [NTG-context] How to put mark in right margin even for equation [SOLVED]

2010-11-03 Thread Vladimir Lomov
Hello Aditya.

2010/11/3 Aditya Mahajan adit...@umich.edu:
 On Wed, 3 Nov 2010, Vladimir Lomov wrote:

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

 Did you test Hans suggestions here:
 http://archive.contextgarden.net/message/20060711.094332.2092ebf5.en.html

 (I am not sure if it will work with MkIV, but it should still work with
 MkII)
I didn't look deeper in ML than my archive. Thanks for link, also I
like idea of layer. I'll give it a try.


---
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
___


Re: [NTG-context] How to put mark in right margin even for equation [SOLVED]

2010-11-02 Thread Vladimir Lomov
Hi.

2010/10/29 Vladimir Lomov lomov...@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
___


[NTG-context] How to put mark in right margin even for equation

2010-10-29 Thread Vladimir Lomov
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?

P.S. Neither equation would have number.
P.P.S. I just began to work with context so my approach may be not
'context-ish', I'm glad to see any 'context-ish' solutions for the
task.

---
WBR, Vladimir Lomov


ex3.tex
Description: TeX document
___
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
___