Ask Your Question

block matrix

asked 2019-08-21 18:18:04 +0200

Daniel Volinski gravatar image

Hi All,

Is there any way to display a block matrix in LibreOffice Math?

Let say I have a 4x4 matrix, I want to display a vertical dotted line that separates the first two columns from the last two columns and a horizontal dotted line that separates the first two rows from the last two rows so as to have four different 2x2 matrices that make up the 4x4 block matrix. How do I do that?



edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-08-21 18:59:46 +0200

ajlittoz gravatar image

updated 2019-08-22 08:09:06 +0200

This is a bit tedious. The trick is to add new matrix elements (cells) where you insert your "decorations". Here's what it looks like:

matrix with dotted lines

The formula is structured as:

 left [     -- left outer bracket
matrix {                     --  outer matrix
  matrix { left [ { a #  b ## c # d } right ]    -- NW element
 # dotsvert                  -- fake top center element
 # left [ B right ]          -- NE element
 ## dotsaxis # ` # dotsaxis  -- fake center row
 ##                          -- next row
 left [ C right ]            -- SW element
 # dotsvert                  -- fake bottom center element
 # left [ D right ]          -- SE element
 }                           -- close outer matrix
 right ]    -- right outer bracket

I added comments with --, but this is not part of Math syntax.

Eventually, you can "dim" the dots with silver attributes if you find them too bold.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-08-21 18:18:04 +0200

Seen: 502 times

Last updated: Aug 22 '19