Ask Your Question
0

Adding a matrix to a Writer document

asked 2019-11-05 10:35:33 +0100

dean1 gravatar image

I am trying to add a matrix to my ODT document, but everything I find is related to the old format of adding a matrix.

I got to Insert > Object > Formula. I then select the Square Brackets (Scalable). It then comes up with left [ <?> right ] I can then add the first row, but I do not know how to add another row?

Libre Office 6.0.73 on Elementary OS

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-11-05 11:26:23 +0100

Opaque gravatar image

updated 2019-11-05 11:41:56 +0100

Hello,

matrices in Math module are being created by

left ( matrix { 

a11 # a12 # a13 # ... ## 
a21 # a22 # a23 # ... ##  
a31 # a32 # a33 # ... ##
... # ... # ... # ...
} right )

where # is delimiting column and ## rows.

Please note:

  • The last row must not end with ##.
  • The layout template of matrices is in category Formats -> Matrix Stack

Tested using LibreOffice:

Version: 6.3.3.2, Build ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU threads: 8; OS: Linux 4.12; UI render: default; VCL: kde5;
Locale: en-US (en_US.UTF-8); UI-Language: en-US, Calc: threaded

Hope that helps.

If the answer is correct or helped you to solve your problem, please click the check mark (✔) next to the answer.

edit flag offensive delete link more

Comments

1

For a more sophisticated matrix layout, see also this question about block matrix.

ajlittoz gravatar imageajlittoz ( 2019-11-05 11:42:03 +0100 )edit
1

A hint: instead of using the GUI, type in the matrix in the Math syntax, such as in the sample above, select the text, and then use Insert → Object → Formula from the menu. Note that you can type in a single line as paragraph breaks will be ignored:

left ( matrix { a11 # a12 # a13 # ... ## a21 # a22 # a23 # ... ##  a31 # a32 # a33 # ... ## ... # ... # ... # ... } right )
gabix gravatar imagegabix ( 2019-11-05 12:10:59 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-11-05 10:35:33 +0100

Seen: 382 times

Last updated: Nov 05 '19