[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Please help on a math symbol
From: |
Robert D. Goulding |
Subject: |
Re: [Groff] Please help on a math symbol |
Date: |
Fri, 6 Dec 2002 11:40:34 -0500 (EST) |
On Thu, 5 Dec 2002, Min Xu wrote:
> Hi,
>
> I am now facing a problem with the ensemble average structure in *roff.
> An average is commonly written in a form of
> <a>
> to denote the mean of a. However, when we have multiline structure inside,
> i.e.,
> / a \
> ---
> \ b /
> does groff have a method in representing the larger version average symbol?
>
> A mere "left < ... right >" does not produce the desired result.
>
> Thanks.
>
> Min Xu
How about this egregious hack?
.char \(La \D'l .5 1'\D'l -.5 -1'\D'l .5 -1'\D'l -.5 1'\h'.5'
.char \(Ra \h'.5'\D'l -.5 1'\D'l .5 -1'\D'l -.5 -1'\D'l .5 1'
.EQ
define langle 'type "opening" vcenter \(La'
define rangle 'type "closing" vcenter \(Ra'
langle {{4x+x} over 2x} rangle
.EN
Robert.