From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63069 Path: news.gmane.org!not-for-mail From: Vladimir Lomov Newsgroups: gmane.comp.tex.context Subject: How to put mark in right margin even for equation Date: Fri, 29 Oct 2010 17:11:04 +0900 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0016e640d50631cfb40493bd012b X-Trace: dough.gmane.org 1288339905 17632 80.91.229.12 (29 Oct 2010 08:11:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2010 08:11:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 29 10:11:44 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 1PBk3r-0004ym-D5 for gctc-ntg-context-518@m.gmane.org; Fri, 29 Oct 2010 10:11:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 380EDCA7A9; Fri, 29 Oct 2010 10:11:42 +0200 (CEST) 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 trZy3eUWi+Em; Fri, 29 Oct 2010 10:11:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7301CCA79E; Fri, 29 Oct 2010 10:11:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86E32CA79E for ; Fri, 29 Oct 2010 10:11:38 +0200 (CEST) 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 Ol1lZeYEKqHv for ; Fri, 29 Oct 2010 10:11:26 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id DDFBFC9A7C for ; Fri, 29 Oct 2010 10:11:26 +0200 (CEST) Original-Received: from mail-yw0-f41.google.com (mail-yw0-f41.google.com [209.85.213.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9T8BPAC030101 for ; Fri, 29 Oct 2010 10:11:26 +0200 Original-Received: by ywl5 with SMTP id 5so1337351ywl.14 for ; Fri, 29 Oct 2010 01:11:25 -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=nDDwqux4ohC+fsP0OttQwWBDPduTIuYdEJiNuEpFg4g=; b=x2scNt+LYAVqJBQKKStI78+8I5YTArieGC+0cMr2GLzl3PenL5hltIeY57TjCWzTKk sh044otNLtZor2fpJuOG4BbdviDgjqLkVInnoHjXWm4z8XOhQykLMlV3ybn0PxkKFAqO +dZZ0abn4N8TyJk6mWgnVzj8SPVB0yY+KhrtA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=hJwl3KamjmDqk8aVN5W66SJeSyHmdjzZbhIkf9BNlAKsvsheUThad5FpznYu0tBCCw tdTN6unlBWUWFQY5cO8E5SDTXcPdTi/gsBaHWgRRJfy8rtlm0QmFwhwqQ+lDHiI8pBds nGQxvZdDIq5/an/XXpRSjQvRTKgr4vGuZr8Tw= Original-Received: by 10.91.18.26 with SMTP id v26mr3991612agi.95.1288339884985; Fri, 29 Oct 2010 01:11:24 -0700 (PDT) Original-Received: by 10.90.234.18 with HTTP; Fri, 29 Oct 2010 01:11:04 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.41; 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: 05DowbqVb - 37bcc1d2e364 - 20101029 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:63069 Archived-At: --0016e640d50631cfb40493bd012b Content-Type: text/plain; charset=UTF-8 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 --0016e640d50631cfb40493bd012b Content-Type: application/x-tex; name="ex3.tex" Content-Disposition: attachment; filename="ex3.tex" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gfus4ri70 XGRlZmluZVsxXVxwb2ludHNNYXJre1xpbnJpZ2h0eyh7XHNzICMxfSl9fQoKXHN0YXJ0dGV4dAoK XHN0YXJ0aXRlbWl6ZQpcaXRlbSBUaGlzIGlzIHNob3J0IGl0ZW0uIFxwb2ludHNNYXJrezMgcG9p bnRzfQpcaXRlbSBUaGlzIGl0ZW0gc3BhbnMgc2V2ZXJhbCBsaW5lczpcY3JsZiBcaW5wdXQga251 dGgKICBccG9pbnRzTWFya3s1IHBvaW50c30KXGl0ZW0gSXQgY291bGQgaGF2ZSBhbiBlcXVhdGlv bgogIFxzdGFydGZvcm11bGEKICAgIFxleHBee1xpbWF0aFx2YXJwaGl9PVxjb3NcdmFycGhpK1xp bWF0aFxzaW5cdmFycGhpCiAgXHN0b3Bmb3JtdWxhCiAgXHBvaW50c01hcmt7NCBwb2ludHN9Clxp dGVtIFRoZSBhYm92ZSBpdGVtIHNob3dzIGEgbGl0dGxlIHByb2JsZW06IHRoZSBtYXJrIGlzIG9u IGxpbmUgYmVsb3cgdGhhbiBlcXVhdGlvbi4KXGl0ZW0gT2YgY291cnNlIG9uZSBjb3VsZCBwdXQg bWFyayBvbiBwcmV2aW91cyBsaW5lIGxpa2UgaGVyZSBccG9pbnRzTWFya3szIHBvaW50c30KICBc c3RhcnRmb3JtdWxhCiAgICBcc2luXnsyfVx4aStcY29zXnsyfVx4aT0xLgogIFxzdG9wZm9ybXVs YQpcaXRlbSBCdXQgSSBjb25zaWRlciB0aGF0IG1vcmUgZWxlZ2FudCBpdCB3b3VsZCBiZSB3aGVu IG1hcmsgb24gdGhlIHNhbWUgbGluZSBhcyBlcXVhdGlvbiAodGhpcwpzaG93cyBwcm9ibGVtIHdp dGggbXkgZGVmaW5pdGlvbiBvZiBcdHlwZXtccG9pbnRzTWFya30pOgogIFxzdGFydGZvcm11bGEK ICAgIChcY29zXGthcHBhK1xpbWF0aFxzaW5ca2FwcGEpXnttfSA9IFxjb3MgbVxrYXBwYStcaW1h dGhcc2luIG1ca2FwcGEgXHBvaW50c01hcmt7NSBwb2ludHN9CiAgXHN0b3Bmb3JtdWxhClxzdG9w aXRlbWl6ZQoKXHN0b3B0ZXh0CgolIHZpbTogc3luPWNvbnRleHQgZnQ9Y29udGV4dCB0dz05NiB0 cz0yIHN3PTIgZXQ6Cg== --0016e640d50631cfb40493bd012b Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --0016e640d50631cfb40493bd012b--