From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21723 Path: news.gmane.org!not-for-mail From: Brooks Moses Newsgroups: gmane.comp.tex.context Subject: Non-square roots? Date: Sun, 31 Jul 2005 01:36:25 -0700 Message-ID: <4.3.1.2.20050731011127.02c22a70@cits1.stanford.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1122799015 18225 80.91.229.2 (31 Jul 2005 08:36:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Jul 2005 08:36:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 31 10:36:51 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dz9JO-00026k-Qj for gctc-ntg-context-518@m.gmane.org; Sun, 31 Jul 2005 10:36:46 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7B3D112797; Sun, 31 Jul 2005 10:36:41 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04182-02; Sun, 31 Jul 2005 10:36:37 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3656D1278E; Sun, 31 Jul 2005 10:36:37 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DE39F1278E for ; Sun, 31 Jul 2005 10:36:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04111-04-2 for ; Sun, 31 Jul 2005 10:36:34 +0200 (CEST) Original-Received: from smtp2.Stanford.EDU (smtp2.Stanford.EDU [171.67.16.125]) by ronja.ntg.nl (Postfix) with ESMTP id C41211278B for ; Sun, 31 Jul 2005 10:36:33 +0200 (CEST) Original-Received: from mindolluin.stanford.edu (DNab42a51e.Stanford.EDU [171.66.165.30]) by smtp2.Stanford.EDU (8.12.11/8.12.11) with ESMTP id j6V8aTZZ028476 for ; Sun, 31 Jul 2005 01:36:31 -0700 X-Sender: brooks@cits1.stanford.edu X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Original-To: ConTeXt users list X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21723 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21723 LaTeX offers the following way to write a cube root: $\sqrt[3]{x}$. Is there a way to do this in ConTeXt other than the TeX way of $\root 3\of x$? Also, Hans, if there isn't a direct way to do this, the following code is pretty much how LaTeX implements it, with an extra line at the top to make it work in ConTeXt. Would it be reasonable to put something like this (or something that implements this syntax) in m-newmat? \let\sqrtsign=\sqrt \def\sqrt{\@ifnextchar[\@sqrt\sqrtsign} \def\@sqrt[#1]{\root #1\of} - Brooks