RE: sign padding

"Paul Topping" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.mathml
Message-ID <[email protected]>
I don't know what a mediummathspace is supposed to be in terms of EM
width but I would guess it is different than an EN.

Paul

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Chris Chiasson
> Sent: Tuesday, February 27, 2007 10:25 AM
> To: Paul Topping
> Cc: [email protected]
> Subject: Re: sign padding
> 
> here is an en space:
> http://www.fileformat.info/info/unicode/char/2002/index.htm
> 
> In Courier New font, should a regular space (mediummathspace) and a
> MathML minus sign operator be the same width?
> 
> On 2/27/07, Paul Topping <[email protected]> wrote:
> > A minus is usually has "en" width so an en space might be what you
> need.
> > Don't know the Unicode for that but I'm pretty sure it exists.
> >
> > Paul
> >
> > > -----Original Message-----
> > > From: [email protected] [mailto:dev-tech-
> > > [email protected]] On Behalf Of Chris Chiasson
> > > Sent: Tuesday, February 27, 2007 8:54 AM
> > > To: [email protected]
> > > Subject: sign padding
> > >
> > > What is the best way to achieve sign padding in front of an <mn>
> such
> > > that the leading space is as wide as a <mo>-</mo>? I tried using
> > > Courier New (monospaced) font along with <mspace
> width='0.22222222em'>
> > > (the default width of mediummathspace), but that wasn't wide
> enough.
> > :-
> > > [
> > >
> > > Should I be looking at mphantom?
> > >
> > > P.S. I'm generating the MathML fragment from a linear string that
> > > contains the spaces, sign (if negative), and number. because my
> rules
> > > are part of a more general conversion system, I should reasonably
> > > assign an mspace width - not just one that happens to be as large
> as
> > > <mo>-</mo>.
> > >
> > > _______________________________________________
> > > dev-tech-mathml mailing list
> > > [email protected]
> > > https://lists.mozilla.org/listinfo/dev-tech-mathml
> >
> 
> 
> --
> http://chris.chiasson.name/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.