From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52679 Path: news.gmane.org!not-for-mail From: "Guilherme P. de Freitas" Newsgroups: gmane.comp.tex.context Subject: Problems with inner products Date: Fri, 4 Sep 2009 17:10:29 -0700 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 1252109456 23181 80.91.229.12 (5 Sep 2009 00:10:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Sep 2009 00:10:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 05 02:10:49 2009 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.50) id 1Mjirh-0007oB-Na for gctc-ntg-context-518@m.gmane.org; Sat, 05 Sep 2009 02:10:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 742AEC9B03; Sat, 5 Sep 2009 02:10:46 +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 iLu-SBx0oqqp; Sat, 5 Sep 2009 02:10:41 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 69376C9ADD; Sat, 5 Sep 2009 02:10:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CBEFC9ADD for ; Sat, 5 Sep 2009 02:10:37 +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 wCBNh9vULaOm for ; Sat, 5 Sep 2009 02:10:32 +0200 (CEST) Original-Received: from mail-px0-f189.google.com (mail-px0-f189.google.com [209.85.216.189]) by balder.ntg.nl (Postfix) with ESMTP id BF995C9AC7 for ; Sat, 5 Sep 2009 02:10:31 +0200 (CEST) Original-Received: by pxi27 with SMTP id 27so680256pxi.15 for ; Fri, 04 Sep 2009 17:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=r0cdaMFDmMtKXzKM1xLlAfLBtVDoS0c+4O3oym1OCOA=; b=NDuJC/T0G4iCj/KrXza04wgTEhU0f2y4E13Kch+glRZtl/k5IkYXmEPpI7vb82W2yD eVIEVRGDz7R0GDBgHDv7lemK6z7XIcNjWbeuEvbPViF4IttF4Be9PZ1KPNscoDRb+4B8 Vf5HH0hhJ7y8p7uYezikWbG+VhMvZywN+RLio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=KNeV20+FEs3gQ7p0pvNXi6GqYTRM4J/ImNLE6I9TDjFKDG0Gt3lALY16sMdwJcDy5Q vrxQXqLBlq5tQ+lUiufb52RSir6wEkAqAiE3qKEMKoyNxA1K4zfptw7OgWrFpguTvvLZ thQ0jD6+g+CRyChWpc42Ijvq6TfM+GsbvwO7I= Original-Received: by 10.143.21.38 with SMTP id y38mr466968wfi.206.1252109429651; Fri, 04 Sep 2009 17:10:29 -0700 (PDT) X-Google-Sender-Auth: b075aa78b5f5cc71 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:52679 Archived-At: Hi everybody, I am trying to define a command for inner products. I would like to type $\innerprod{x, y}$ and obtain in the output . Now, I defined \define[2]\innerprod {\langle #1, #2 \rangle} but then, when I used the command, I got some weird behavior: the next character after "y" would "jump in" the inner product. For example, when writing $\innerprod{x, y} + z$ I was hoping to obtain as an output + z But I got as an output z I am using the ConTeXt that came with MacTeX 2008 (I downloaded it a few days ago). Best, Guilherme -- Guilherme P. de Freitas http://www.gpfreitas.com ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________