Jean-Marc Lasgouttes wrote:
> 
> >>>>> "Yao-Pin" == Yao-Pin Kuo <[EMAIL PROTECTED]> writes:
> 
> Yao-Pin> Hi How can I type cubic root or n-th root in LyX?
> 
> Unfortunately you can't. The only solution I can think about is to
> define in the preamble
> \newcommand{\cubroot}{#1}{\sqrt[3]{#1}}
> and enter manually
> \cubroot{
> in the math editor. The second brace will be added
> automatically. Unfortunately, you will not have visual feedback for
> your macro.
> 
> JMarc


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".


Cheers


-- 
Frederic LEYMARIE, R&D Project leader
Brown University, Division of Engineering, LEMS, Box D
182 Hope Street, Providence, Rhode Island 02912, U.S.A.
Tel: +1.401.863.2177, Alternate Voice: x2760, Fax: x1157
Email: [EMAIL PROTECTED] , URL:
http://www.lems.brown.edu/~leymarie
---
It does play with dice ... but they are fixed.

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

Reply via email to