Align left side of fraction in math

classic Classic list List threaded Threaded
3 messages Options
Marcelo Laia Marcelo Laia
Reply | Threaded
Open this post in threaded view
|

Align left side of fraction in math

Hi,

I'm trying to vertical center the left side of bellow math equation:

f  = { v } over { { h } times { %pi } times { { DAP^2 } over { 4 } } }

I do a lot of google search and found solutions only for LaTeX.

I try to use stack and phantom, but I isn't have a solution.

Have you a time to point me out a solution?

Thank you so much!

--
Marcelo

--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Regina Henschel Regina Henschel
Reply | Threaded
Open this post in threaded view
|

Re: Align left side of fraction in math

Hi Marcelo,

Marcelo Laia schrieb am 29.03.2021 um 00:08:
> Hi,
>
> I'm trying to vertical center the left side of bellow math equation:
>
> f  = { v } over { { h } times { %pi } times { { DAP^2 } over { 4 } } }

What do you try to improve? The part 'f=' is correctly at the same
vertical position as the main fraction bar.

Kind regards
Regina




--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
remygauthier remygauthier
Reply | Threaded
Open this post in threaded view
|

Re: Align left side of fraction in math

Greetings,
Not sure I understood exactly what you want, but this is the best I can
come up with (2 possible options):

f  = { alignl { phantom { h } ` v phantom { %pi } } } over { { h }
times { %pi } times { { DAP^2 } over { 4 } } }
newline
f = matrix { v # phantom { a } # phantom { a } } over { matrix { h
times %pi } times matrix { { DAP^2 } over 4 } }

I hope this helps.
Rémy.

Le lundi 29 mars 2021 à 01:22 +0200, Regina Henschel a écrit :

> Hi Marcelo,
>
> Marcelo Laia schrieb am 29.03.2021 um 00:08:
> > Hi,
> >
> > I'm trying to vertical center the left side of bellow math equation:
> >
> > f  = { v } over { { h } times { %pi } times { { DAP^2 } over { 4 } } }
>
> What do you try to improve? The part 'f=' is correctly at the same
> vertical position as the main fraction bar.
>
> Kind regards
> Regina
>
>
>
>

--
To unsubscribe e-mail to: [hidden email]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy