On Wed, 25 Nov 1998, Frederic Leymarie wrote:

> The above "newcommand" should read as (no "#" to indicate no. of
> arguments):
> \newcommand{\cubroot}[1]{\sqrt[3]{#1}}
> 
> I tried it and it works. Interestingly, the above shows
> adequately in the PostScript viewer, but not in xvdi one ... 
> where only the usual sqrt symbols appears without the number "3".
> 
> 

Imitating this you can create the n-th root with

\newcommand{\nroot}[2]{\sqrt[#1]{#2}}

Now you can write the n-th root of x like

\nroot{n}{x}. Both pair of brackets must be in TeX-Mode (red).



Alexander Wollmann <[EMAIL PROTECTED]>

-- 
                +++ the lyx project user mailing list +++
                To unsubscribe from this list send mail to 
                         [EMAIL PROTECTED]
                    with the **Subject** unsubscribe.

Reply via email to