Issue 5998 - Custom Alignment of Math
Summary: Custom Alignment of Math
Status: CONFIRMED
Alias: None
Product: Math
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.0
Hardware: PC All
: P3 Trivial with 37 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa, rfe_eval_ok, usability
: 13573 17116 29053 58179 63165 104005 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-06-20 09:29 UTC by jamesbowater
Modified: 2021-01-15 07:55 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jamesbowater 2002-06-20 09:29:42 UTC
The alignment feature at present only allows left, center and right alignment.

One should be able to align on a line by line basis using a character/symbol as 
the basis for alignment.

Eg:

f(x) = a + b
     = c + d - e => y = 3
                 => x = z * j

Here I have aligned on the '=' character/symbol, then on the '=>' 
character/symbol.

Cheers

James
Comment 1 thomas.lange 2002-06-21 10:04:16 UTC
TL->FL: This is not a bug but a feature wish.
Therefore to you.
Comment 2 frank.loehmann 2002-11-29 08:41:50 UTC
FL: Please write an Idea about this. Thanyk you!
Comment 3 eric.savary 2002-12-16 13:35:40 UTC
ES->BH: Featture+Enhancements on OOo go to you
Comment 4 eric.savary 2003-04-16 15:32:19 UTC
Set to "NEW"
Comment 5 guido.pinkernell 2003-10-24 10:49:42 UTC
*** Issue 17116 has been marked as a duplicate of this issue. ***
Comment 6 guido.pinkernell 2003-10-24 10:52:30 UTC
*** Issue 13573 has been marked as a duplicate of this issue. ***
Comment 7 lohmaier 2004-05-13 22:50:14 UTC
*** Issue 29053 has been marked as a duplicate of this issue. ***
Comment 8 lohmaier 2004-07-16 18:49:36 UTC
*** Issue 29053 has been marked as a duplicate of this issue. ***
Comment 9 lohmaier 2005-11-20 00:49:40 UTC
reassigning, setting keywords
Comment 10 lohmaier 2005-11-20 00:50:07 UTC
*** Issue 58179 has been marked as a duplicate of this issue. ***
Comment 11 lohmaier 2005-11-20 00:54:14 UTC
comment from alsuren (issue 58179)

#######Proposed behaviour########: 
If I type 
 
align(=) 
{ 
V = 2 * B newline 
= 2 * 6 newline 
= 12 
} 
(note the = inside the ()) 
 
Then it should render as 
V = 2 * B  
  = 2 * 6  
  = 12 
with all the = signs lining up 
 
and if I type 
align("") 
{ 
z = 3 a + ""4 b + 8 c + d + 32 e + 16 f newline 
""+ 18 g + 26 h 
} 
 
then it would render as 
z = 3 a + 4 b + 8 c + d + 32 e + 16 f 
          + 18 g + 26 h 
with the first "" on the bottom line lined up with the first "" on the line 
above it, thereby making the 4 and the + line up 
 
This is an idea similar to LaTeX, which has the invisible character "&" as the 
alignment tab ( see 
http://www.maths.tcd.ie/~dwilkins/LaTeXPrimer/Multiline.html ), but I don't 
know what & is used for in OOo
Comment 12 michael.ruess 2006-03-15 08:38:09 UTC
*** Issue 63165 has been marked as a duplicate of this issue. ***
Comment 13 yitzle 2006-03-15 15:20:48 UTC
So, how do you get it to produce

f(x) = a + b
     = c + d - e => y = 3
                 => x = z * j

Maybe multiple align chars? Um, make that align strings.
So, if I do align(=), only the first '=' would be aligned and the rest ignored,
right?

To clarify,
align(=) {
  f(x) = a + b
  a * a / a + b^2/b = a + b
}

will make

               f(x) = a + b
a * a / a + b^2 / b = a + b
Comment 14 michael.ruess 2009-08-05 09:37:42 UTC
*** Issue 104005 has been marked as a duplicate of this issue. ***
Comment 15 vvzh 2010-05-15 12:30:34 UTC
As a workaround, alignl + phantom can be used to achieve the result:

alignl f(x) = a + b newline
alignl phantom{f(x)} = c + d - e drarrow y = 3 newline
alignl phantom{f(x) = c + d - e} drarrow x = z * j