From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63185 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: Re: How to put mark in right margin even for equation [SOLVED] Date: Wed, 3 Nov 2010 13:29:48 +0800 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288762234 28914 80.91.229.12 (3 Nov 2010 05:30:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 3 Nov 2010 05:30:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 03 06:30:30 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PDVva-0005R6-8x for gctc-ntg-context-518@m.gmane.org; Wed, 03 Nov 2010 06:30:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CAABCCA818; Wed, 3 Nov 2010 06:30:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ILqhhVdEa2eP; Wed, 3 Nov 2010 06:30:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3528CA801; Wed, 3 Nov 2010 06:30:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 805B5CA801 for ; Wed, 3 Nov 2010 06:30:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id J0WtSgSMuTZo for ; Wed, 3 Nov 2010 06:30:11 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id AC6C9CA7A4 for ; Wed, 3 Nov 2010 06:30:11 +0100 (CET) Original-Received: from mail-gy0-f169.google.com (mail-gy0-f169.google.com [209.85.160.169]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA35UAg6018928 for ; Wed, 3 Nov 2010 06:30:11 +0100 Original-Received: by gyh20 with SMTP id 20so227183gyh.14 for ; Tue, 02 Nov 2010 22:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=9kx8vX5qkjSJBPlV7BvkJDJP07A9wuq5UIh40zxofyY=; b=d9VoeIvbcf/JR7CjGliO+fv/HvUmqpL7AVSIAUEgcqaI2WZh4hZjfhcwNnopOJPtWg gAnrMAJCtU1nwn5TXhZ/+XI5JxZMejJUBJQzB4r83W7SdSH0bl1Nnh9i/KtuZEpka/7J /TgZUF/tPxq/Vj6ifre6uvG0fjNB3jo/Wzutc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=LA0V18YDaVGE1LZcXt13tZwXCXAmtIftMedzH6urUW8iIywdDi+JFfsZgX8VMuGHhB 2MgwRQ1v6MBFb1SuWPa+K4XOk5fVl664Zn8TLY1vQjLfapuN7QQ4Er2bIgPCxvAQ6UW4 pCX7cyn2XqNp4u9mUqx5rzc2CAgJEwXb5SCWk= Original-Received: by 10.90.49.20 with SMTP id w20mr392425agw.181.1288762209810; Tue, 02 Nov 2010 22:30:09 -0700 (PDT) Original-Received: by 10.90.53.12 with HTTP; Tue, 2 Nov 2010 22:29:48 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.160.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Dqtua1c - bf4895bc2059 - 20101103 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:63185 Archived-At: Hi. 2010/10/29 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? > 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: \setupimnargin[right][align=left] %%% Ok, I thought that align=left it to align to the left edge. > 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 ___________________________________________________________________________________