Issue 89081 - inconsistent centering in fraction
Summary: inconsistent centering in fraction
Status: CONFIRMED
Alias: None
Product: Math
Classification: Application
Component: code (show other issues)
Version: OOo 2.3.1
Hardware: PC Windows XP
: P3 Trivial with 6 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 102504
  Show dependency tree
 
Reported: 2008-05-06 22:51 UTC by tab
Modified: 2013-08-07 14:54 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Inconsistent fractions (16.22 KB, text/plain)
2008-05-06 22:54 UTC, tab
no flags Details
centering text in fraction (12.86 KB, text/plain)
2008-05-09 03:08 UTC, tab
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tab 2008-05-06 22:51:24 UTC
Open FracCent.odt
Why is the denominator centered in A, but not in B?
Sure, I can force centering with alignc, as in C, but the spontaneous centering
done in A should be the default.
May be related to, but is not the same as, issue 56601.
Comment 1 tab 2008-05-06 22:54:23 UTC
Created attachment 53426 [details]
Inconsistent fractions
Comment 2 jbf.faure 2008-05-07 05:07:23 UTC
In B you should remove "" around Sin to obtain function sin which is centered.
"Sin" is text and left aligned.
Comment 3 michael.ruess 2008-05-07 10:35:27 UTC
Yes, text is always left aligned...
MRU->TL: I do not think, that it makes sense to have something not centered in a
fraction though it is declared as text.
Comment 4 thomas.lange 2008-05-07 11:11:05 UTC
I'm a bit heitent to change this because it should have been stated elsewhere in
the documentation that an line/expression(?) will always be left aligned if it
starts with a text (i.e. a string quoted with " chars)...
Thus the documentation needs to be checked about this as well.

And as usual with these kind of changes we will changes the layout of already
existing documents that make use of the current behavior. Don't know if there
are much of them...
Is it really what we want to do?

TL->tab: 
Question out of curiosity: why are you using 'sin' with a capital first letter?
I can't remember to have ever seen a book or publication about mathematics that
wrote it that way... (it's some years since though ;-)
Comment 5 tab 2008-05-09 03:03:49 UTC
I agree with MRU: 'I do not think, that it makes sense...'
Look at FracCntr.odt: One does not need to be a financial expert to prefer B
over A. Centering should be the general default, for any type --variable,
number, text,... Those who prefer left alignment can always use alignl.
Comment 6 tab 2008-05-09 03:08:01 UTC
Created attachment 53499 [details]
centering text in fraction
Comment 7 hardy314 2009-06-10 08:21:07 UTC
This nasty behavior (of non-centering quoted text in fractions) is still present
at OO3.1. I submitted several additional examples and arguing from scientific
presentations on the (closed) issue #102504 and hope this will be corrected soon.