You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Tracey Zellmann <tr...@comcast.net> on 2006/03/20 02:54:18 UTC
X-Bar symbol
I am looking for an easy way to print an X with a bar over it - the symbol for the average of a sample. I could do it with svg, but I was hoping for a slightly easier approach. The symbol will occupy one header cell in a table row, so it has room to the left and right.
Re: X-Bar symbol
Posted by Tracey Zellmann <tr...@comcast.net>.
Thanks. That worked perfectly.
----- Original Message -----
From: "Manuel Mall" <ma...@apache.org>
To: <fo...@xmlgraphics.apache.org>
Sent: Monday, March 20, 2006 1:19 AM
Subject: Re: X-Bar symbol
>> On Mar 19, 2006, at 5:54 PM, Tracey Zellmann wrote:
>>
>>
>> I am looking for an easy way to print an X with a bar over it - the
>> symbol for the average of a sample. I could do it with svg, but I was
>> hoping for a slightly easier approach. The symbol will occupy one header
>> cell in a table row, so it has room to the left and right.
>>
>>
>> I think you're looking for the text-decoration="line-through"
>> property[1]. I haven't tested it, but according to the FOP Compliance
>> page[2], this should be supported.
>>
>> So, it would look like this (untested):
>>
>> <fo:inline text-decoration="line-through">X</fo:inline>
> <snip/>
>
> As Tracy seems to look for a bar above the x text-decoration="overline" is
> probably what she needs.
>
> Another way would be to use a fo:inline or fo:character with an
> appropriate border-before and/or padding-before setting.
>
>> Clay Leeds
>> the.webmaestro@gmail.com <ma...@gmail.com>
>>
>
> Manuel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: X-Bar symbol
Posted by Manuel Mall <ma...@apache.org>.
> On Mar 19, 2006, at 5:54 PM, Tracey Zellmann wrote:
>
>
> I am looking for an easy way to print an X with a bar over it - the
> symbol for the average of a sample. I could do it with svg, but I was
> hoping for a slightly easier approach. The symbol will occupy one header
> cell in a table row, so it has room to the left and right.
>
>
> I think you're looking for the text-decoration="line-through"
> property[1]. I haven't tested it, but according to the FOP Compliance
> page[2], this should be supported.
>
> So, it would look like this (untested):
>
> <fo:inline text-decoration="line-through">X</fo:inline>
<snip/>
As Tracy seems to look for a bar above the x text-decoration="overline" is
probably what she needs.
Another way would be to use a fo:inline or fo:character with an
appropriate border-before and/or padding-before setting.
> Clay Leeds
> the.webmaestro@gmail.com <ma...@gmail.com>
>
Manuel
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: X-Bar symbol
Posted by Web Maestro Clay <th...@gmail.com>.
On Mar 19, 2006, at 5:54 PM, Tracey Zellmann wrote:
> I am looking for an easy way to print an X with a bar over it - the
> symbol for the average of a sample. I could do it with svg, but I
> was hoping for a slightly easier approach. The symbol will occupy
> one header cell in a table row, so it has room to the left and right.
I think you're looking for the text-decoration="line-through" property
[1]. I haven't tested it, but according to the FOP Compliance page
[2], this should be supported.
So, it would look like this (untested):
<fo:inline text-decoration="line-through">X</fo:inline>
[1]
http://www.w3.org/TR/2006/CR-xsl11-20060220/#refine-text-decoration
[2]
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-text-
decoration
Clay Leeds
the.webmaestro@gmail.com
My religion is simple. My religion is kindness.
-- HH Dalai Lama of Tibet