Math vertical alignment problems

Discuss the formula editor
Post Reply
swingkyd
Posts: 24
Joined: Sat Jan 05, 2008 8:31 pm

Math vertical alignment problems

Post by swingkyd »

I'm trying to get the following formula to align vertically properly:

Code: Select all

D_f  = sqrt{1+{left({T_a over t_f}right){left ( 1-e^{{-2t_f}over T_a} right )} }}
One could get the impression that the following fraction:

Code: Select all

left({T_a over t_f}right)
is the base raised to the power of:

Code: Select all

{left ( 1-e^{{-2t_f}over T_a} right )}
when in fact it is just a multiplication. and I don't want to add an operation in there since "dot" and "times" are vector operations and not multiplication.
Any ideas how to get them to align correctly?
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Math vertical alignment problems

Post by acknak »

It still isn't right, but something like this will at least make the bracket size match a little better:
  • ­
    D_f  = sqrt{ 1 + 
                 left({T_a over t_f}right)
                 left(
                   stack {
                     1-e^{{-2t_f}over T_a} #
                     phantom x
                   }
                 right)
    	   }
AOO4/LO5 • Linux • Fedora 23
swingkyd
Posts: 24
Joined: Sat Jan 05, 2008 8:31 pm

Re: Math vertical alignment problems

Post by swingkyd »

thanks...whereas I agree it's not perfect...it is certainly better. This is a nifty trick! Do you suppose this is an issue worth starting?
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Math vertical alignment problems

Post by acknak »

Can't hurt to bring it up...

[Tutorial] Reporting bugs or suggestions
AOO4/LO5 • Linux • Fedora 23
User avatar
floris v
Volunteer
Posts: 4431
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Math vertical alignment problems

Post by floris v »

It gets still better if you leave out the first set of parentheses.
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
swingkyd
Posts: 24
Joined: Sat Jan 05, 2008 8:31 pm

Re: Math vertical alignment problems

Post by swingkyd »

floris v wrote:It gets still better if you leave out the first set of parentheses.
.. which parentheses?
User avatar
floris v
Volunteer
Posts: 4431
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: Math vertical alignment problems

Post by floris v »

You have left({T_a over t_f}right)
Try T_a over t_f
OpenOffice 4.1.11 on Ubuntu; LibreOffice 6.4 on Linux Mint, LibreOffice 7.6.2.1 on Ubuntu
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
Post Reply