[Solved] Multi-line formula with arrows between

Discuss the formula editor

[Solved] Multi-line formula with arrows between

Postby dannio » Sat Sep 06, 2014 4:34 am

Hello! I would like to use the following:

Code: Select all   Expand viewCollapse view
NK → MK                FRK[1] → FRK[2]
        ↓                ↑ 
        PMP(a)          PMP         
      ↓     ↓            ↑         
      PMP(b)   PMP(c) → PMP 

and put only a right brace alongside the bottom three lines with a label describing them which will say "PMP complex." I have no idea how to do this. I tried the lines of code earlier in this thread, and nothing worked. Please help!
Open Office 4.1.0 on Windows 8.1
dannio
 
Posts: 4
Joined: Sat Sep 06, 2014 4:26 am

Re: [Solved] How to make a New line in a long formula?

Postby keme » Sat Sep 06, 2014 5:55 pm

The newline breaks the formula flow, iow you can't have interconnecting elements between lines when you use newline. Use stacking for that.
Code: Select all   Expand viewCollapse view
alignl stack{ NK rightarrow MK FRK[1] rightarrow FRK[2]#
downarrow ~ uparrow #
left none
stack {PMP(a) ~ PMP #
downarrow ~ downarrow ~ uparrow #
PMP(b) ~ PMP(c) rightarrow PMP  }
right rbrace ~ "PMP complex"}

Bilde 2.png
Bilde 2.png (14.42 KiB) Viewed 2785 times
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 2785
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: multi-line formula with arrows between

Postby acknak » Sat Sep 06, 2014 6:10 pm

[Split off to its own topic]

This may be rather difficult to do with OO Math--I assume you need to align some of the items and arrows to show specific vertical connections, no?

I'm not sure that Math is really helping you here very much; it would be a lot easier to treat it as a diagram and use OO Draw, where spacing and alignment are simpler.

If you need to do it Math, I think you'll need to set up a matrix to get all the parts aligned vertically.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22758
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Multi-line formula with arrows between

Postby Hagar Delest » Sat Sep 06, 2014 9:58 pm

NB: I've added the BBCode tags in the initial post, I think that the intended layout was hidden by php software.
AOO 4.1.5 on Xubuntu 17.10 (Artful Aardvark) and on Windows 7 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28006
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Multi-line formula with arrows between

Postby dannio » Sun Sep 07, 2014 7:14 pm

I am a novice with doing things like this, so I appreciate everyone's help. Is there anywhere to add spaces to the code provided by Keme? That would enable the alignment of the items. If I use matrix, would I replace "stack" with "matrix"? I am going to try that now. I have not used OO Draw, and so I am going to try that as well.
Thank you everybody!!! I certainly could not do this without you, and my world-changing philosophy paper would never be produced. Now, if I can only find somebody to read it :)
Open Office 4.1.0 on Windows 8.1
dannio
 
Posts: 4
Joined: Sat Sep 06, 2014 4:26 am

Re: Multi-line formula with arrows between

Postby dannio » Sun Sep 07, 2014 7:36 pm

I tried substituting "stack" with "matrix," and it didn't work. It made a matrix, but all is pretty off. I don't know how to use draw - I have the toolbar up, but don't know how to make objects like this. Is there a way to code spaces?
Open Office 4.1.0 on Windows 8.1
dannio
 
Posts: 4
Joined: Sat Sep 06, 2014 4:26 am

Re: Multi-line formula with arrows between

Postby dannio » Sun Sep 07, 2014 7:48 pm

I got it! The right brace in the "draw" program, is exactly what I need. You guys are amazing!! Thank you so much!!!
Open Office 4.1.0 on Windows 8.1
dannio
 
Posts: 4
Joined: Sat Sep 06, 2014 4:26 am

Re: Multi-line formula with arrows between

Postby keme » Mon Sep 08, 2014 6:55 am

Hagar Delest wrote:NB: I've added the BBCode tags in the initial post, I think that the intended layout was hidden by php software.

Yes! That made more sense of the arrows (and revealed my lack of insight :( ).
Good catch :super:
Apache OO 3.4.1/4.1.2/4.1.3, on Ms Windows 7/10 and Mac OS-X 10.8.5 and 10.11.
LibreOffice 4.3.3.2 on Mepis Antix MX 14
User avatar
keme
Volunteer
 
Posts: 2785
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway


Return to Math

Who is online

Users browsing this forum: No registered users and 2 guests