From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56244 Path: news.gmane.org!not-for-mail From: Troy Henderson Newsgroups: gmane.comp.tex.context Subject: Labelling with textext Date: Sat, 13 Feb 2010 14:46:16 -0600 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: ger.gmane.org 1266131355 22664 80.91.229.12 (14 Feb 2010 07:09:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 14 Feb 2010 07:09:15 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 14 08:09:09 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 1NgYbN-0007s0-16 for gctc-ntg-context-518@m.gmane.org; Sun, 14 Feb 2010 08:09:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6803BC9D16; Sun, 14 Feb 2010 08:09:06 +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 i8bbttgbl7Gj; Sun, 14 Feb 2010 08:09:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D95B6C9CD2; Sun, 14 Feb 2010 08:09:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9371BC9D06 for ; Sat, 13 Feb 2010 21:46:20 +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 35IiU76s6VPo for ; Sat, 13 Feb 2010 21:46:18 +0100 (CET) Original-Received: from mail-iw0-f196.google.com (mail-iw0-f196.google.com [209.85.223.196]) by balder.ntg.nl (Postfix) with ESMTP id 1922FC9D04 for ; Sat, 13 Feb 2010 21:46:17 +0100 (CET) Original-Received: by iwn34 with SMTP id 34so3788318iwn.21 for ; Sat, 13 Feb 2010 12:46:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=g7uZRDcc+R3isH4h+T3Mwan5CCHqCA18eEyE660aC4s=; b=hMRp/r+mU9rCSuEnoAsq1XMku9MPng/RNqabUqP+Dhicmd1pZketVtjCjJmCaJwpeG a06xe8VQc6PXqCTINt5gsbxFGpFkhJzX6ypJEBWjwa0wlzPs8Khs9RlN2dOuouxYY2Gq h4d877GSkzZafR9pbgh+ByyVLWi0YfoUY87ss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=S1i+x5zSGsrGZfw6r0/d+KRMOsFhTCSianrGBJvW1wX2kesGzJstZxtG67mfzA/6no FIQ4H2yOICC+WPb8bOVdi4CpAAngYQ5I1gcuuvuCSHUJL1ljPo75OmirGnjVqfITVKUW FZJHvOR+dQGY+AjElFYQjfuuhwhiaDcZuJ4kc= Original-Received: by 10.231.145.206 with SMTP id e14mr1655457ibv.10.1266093976880; Sat, 13 Feb 2010 12:46:16 -0800 (PST) X-Mailman-Approved-At: Sun, 14 Feb 2010 08:08:58 +0100 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:56244 Archived-At: I'm trying to typeset a numerical label (in math mode) and have space for a - sign (but not actually typeset the -) after the number in the case where the number itself is negative. I am trying this label.bot(textext("$" & decimal(x) & "\hphantom{-}$"),(x*u,ay*u)); which fails. If I remove the \hphantom command, i.e., label.bot(textext("$" & decimal(x) & "$"),(x*u,ay*u)); the command is successful, but the number being labeled is not exactly horizontally centered below the point in question since the - symbol preceding the number pushes it a little to the right. Thoughts on how to achieve my desired \hphantom effect? Thanks, -- Troy Henderson Assistant Professor Department of Mathematics University of Mobile http://www.tlhiv.org ___________________________________________________________________________________ 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 ___________________________________________________________________________________