<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=LibreOffice-Suite-Math%2FC2%2FMatrices-Aligning-Equations%2FEnglish</id>
		<title>LibreOffice-Suite-Math/C2/Matrices-Aligning-Equations/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=LibreOffice-Suite-Math%2FC2%2FMatrices-Aligning-Equations%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Math/C2/Matrices-Aligning-Equations/English&amp;action=history"/>
		<updated>2026-04-08T21:24:03Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Math/C2/Matrices-Aligning-Equations/English&amp;diff=401&amp;oldid=prev</id>
		<title>Chandrika: Created page with '{| border=1 !Visual Cues !Narration |- |Show Slide Number 1  Spoken tutorial on LibreOffice Math  Learning Objectives  *Write a Matrix in Math  *Align equations on a particular c…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=LibreOffice-Suite-Math/C2/Matrices-Aligning-Equations/English&amp;diff=401&amp;oldid=prev"/>
				<updated>2012-11-29T05:36:20Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{| border=1 !Visual Cues !Narration |- |Show Slide Number 1  Spoken tutorial on LibreOffice Math  Learning Objectives  *Write a Matrix in Math  *Align equations on a particular c…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=1&lt;br /&gt;
!Visual Cues&lt;br /&gt;
!Narration&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 1&lt;br /&gt;
&lt;br /&gt;
Spoken tutorial on LibreOffice Math&lt;br /&gt;
&lt;br /&gt;
Learning Objectives&lt;br /&gt;
&lt;br /&gt;
*Write a Matrix in Math&lt;br /&gt;
&lt;br /&gt;
*Align equations on a particular character&lt;br /&gt;
|Welcome to the Spoken tutorial on LibreOffice Math.&lt;br /&gt;
&lt;br /&gt;
In this tutorial, we will learn how to:&lt;br /&gt;
&lt;br /&gt;
Write a Matrix&lt;br /&gt;
&lt;br /&gt;
And Align equations on a particular character&lt;br /&gt;
|-&lt;br /&gt;
|Open the MathExample1.odt (created in part 2)&lt;br /&gt;
|For this, let us first open our example Writer document that we created in our previous tutorials: MathExample1.odt.&lt;br /&gt;
|-&lt;br /&gt;
|Pause in each page for a few seconds. Scroll to next page and repeat.&lt;br /&gt;
&lt;br /&gt;
Press Control Enter to go to a new page&lt;br /&gt;
&lt;br /&gt;
Click Insert&amp;gt;Object&amp;gt;Formula&lt;br /&gt;
|Notice all the previous example formulae which we wrote using Math.&lt;br /&gt;
&lt;br /&gt;
Now let us scroll to the last page of the document and press Control Enter to go to a new page.&lt;br /&gt;
&lt;br /&gt;
Let us call Math by clicking Insert menu, then Object and then Formula.&lt;br /&gt;
|-&lt;br /&gt;
|All pink coloured text goes into Formula Editor Window (FEW in short)&lt;br /&gt;
In FEW, copy and paste:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Example of a 2x3 Matrix:&amp;quot; newline newline&lt;br /&gt;
&lt;br /&gt;
A ~=~ ( matrix {a # b # c ## d # e# f } ) newline newline&lt;br /&gt;
 &lt;br /&gt;
Point mouse over this matrix in Writer Gray box.&lt;br /&gt;
&lt;br /&gt;
|In mathematics, a Matrix is a rectangular array of numbers or symbols, which are called elements.&lt;br /&gt;
&lt;br /&gt;
Math has separate mark up to represent a Matrix and its rows and columns of elements.&lt;br /&gt;
&lt;br /&gt;
I have the examples written already so as to save time . I will copy and paste them. &lt;br /&gt;
&lt;br /&gt;
Now we’ll learn how to write the 2 by 3 matrix.&lt;br /&gt;
|-&lt;br /&gt;
|In FEW Point mouse over matrix word.&lt;br /&gt;
&lt;br /&gt;
In FEW, Point mouse over individual # symbol&lt;br /&gt;
&lt;br /&gt;
In FEW, Point mouse over ## symbols.&lt;br /&gt;
&lt;br /&gt;
In FEW, Point mouse over ( and )&lt;br /&gt;
&lt;br /&gt;
Point mouse over ( and ) in Writer gray box&lt;br /&gt;
&lt;br /&gt;
Type Left just before ( character and Right before ) character in the formula&lt;br /&gt;
&lt;br /&gt;
Point mouse over ( and ) in the Writer gray box &lt;br /&gt;
&lt;br /&gt;
In FEW, press enter once, copy and paste&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Example of 4x1 Matrix: &amp;quot; newline newline&lt;br /&gt;
&lt;br /&gt;
B ~=~ Left ( matrix {1##2##3##4} Right ) newline newline&lt;br /&gt;
&lt;br /&gt;
Point mouse over ( and ) in the last formula in Writer Gray box&lt;br /&gt;
&lt;br /&gt;
In FEW, Point mouse over last line&lt;br /&gt;
|This matrix has 2 rows and 3 columns.&lt;br /&gt;
&lt;br /&gt;
We will use the markup ‘Matrix’ and include all its elements within curly brackets in the Formula Editor window.&lt;br /&gt;
&lt;br /&gt;
Notice that the elements in a row are separated by one hash symbol.&lt;br /&gt;
&lt;br /&gt;
And the rows are separated by two hash symbols.&lt;br /&gt;
&lt;br /&gt;
Use parentheses to enclose the matrix in brackets.&lt;br /&gt;
&lt;br /&gt;
Now, notice that the brackets are short and do not cover all the elements in the matrix entirely. &lt;br /&gt;
&lt;br /&gt;
They are of the same size as each element, and hence are not scalable to the size of the matrix.&lt;br /&gt;
&lt;br /&gt;
To solve this, we can use the words ‘Left’ and ‘Right’ &lt;br /&gt;
&lt;br /&gt;
i.e. Left just before open bracket and Right before close bracket to make the brackets scalable.&lt;br /&gt;
&lt;br /&gt;
Let me copy and paste the next example.&lt;br /&gt;
&lt;br /&gt;
So a 4 by1 matrix will look like as shown on the screen.&lt;br /&gt;
&lt;br /&gt;
Notice the scalable brackets in the Writer gray box.&lt;br /&gt;
&lt;br /&gt;
The markup for the matrix is as shown on the screen.&lt;br /&gt;
&lt;br /&gt;
Here we can also use square brackets instead of parentheses.&lt;br /&gt;
&lt;br /&gt;
So using the matrix mark up, we can write matrices of any dimensions.&lt;br /&gt;
|-&lt;br /&gt;
|In Formula Editor Window (FEW in short), press enter twice, &lt;br /&gt;
&lt;br /&gt;
Copy and paste:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Example of Matrix Addition:&amp;quot; newline newline&lt;br /&gt;
&lt;br /&gt;
Left( matrix {a # b # c ## d # e# f } Right) &lt;br /&gt;
&lt;br /&gt;
Left( matrix {%alpha # %beta # %gamma ## %theta # %eta # %mu } Right)&lt;br /&gt;
newline newline&lt;br /&gt;
&lt;br /&gt;
Click  in between the gap of these two matrices in the Writer Gray box.&lt;br /&gt;
&lt;br /&gt;
Point mouse over the cursor in the FEW.&lt;br /&gt;
&lt;br /&gt;
Type ~+~ in between these two matrices&lt;br /&gt;
&lt;br /&gt;
Type ~=~ at the end of the last line.&lt;br /&gt;
&lt;br /&gt;
And then copy and paste at the end:&lt;br /&gt;
&lt;br /&gt;
Left( matrix {a+%alpha # b+%beta # c+%gamma ## d+%theta # e+%eta # f+%mu } Right) &lt;br /&gt;
newline newline&lt;br /&gt;
&lt;br /&gt;
Point mouse over the last formula in the Writer gray box &lt;br /&gt;
&lt;br /&gt;
Click  File &amp;gt; Save&lt;br /&gt;
|Now let us write an example for Matrix addition.&lt;br /&gt;
&lt;br /&gt;
Let us go to a new line in the Formula Editor Window. We can press the Enter key twice to add two blank lines.&lt;br /&gt;
&lt;br /&gt;
First let us write two example 2 by 3 matrices side by side as shown on the screen.&lt;br /&gt;
&lt;br /&gt;
Next, let us add a plus symbol in between these two matrices to denote addition.&lt;br /&gt;
&lt;br /&gt;
To do this, we can simply click between the gap of these two matrices in the Writer Gray box.&lt;br /&gt;
&lt;br /&gt;
Notice that the cursor in the Formula Editor Window is placed roughly between the two matrix mark ups here. &lt;br /&gt;
&lt;br /&gt;
Type plus in between these two matrices&lt;br /&gt;
&lt;br /&gt;
So there is the plus symbol.&lt;br /&gt;
&lt;br /&gt;
Next let us add an ‘equal to’ symbol at the end with long gaps&lt;br /&gt;
&lt;br /&gt;
And then the third matrix on the right denoting the addition.&lt;br /&gt;
&lt;br /&gt;
Notice that we have used Greek characters in our example.&lt;br /&gt;
&lt;br /&gt;
So there is the result of the addition of two matrices.&lt;br /&gt;
&lt;br /&gt;
Let us save our work.&lt;br /&gt;
|-&lt;br /&gt;
|In Formula Editor Window (FEW in short), press enter twice, &lt;br /&gt;
&lt;br /&gt;
Copy and paste:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Example of Matrix multiplied by a number: &amp;quot; newline newline&lt;br /&gt;
4 times&lt;br /&gt;
&lt;br /&gt;
Left( matrix {%alpha # %beta # %gamma ## %theta # %eta # %mu } Right)&lt;br /&gt;
&lt;br /&gt;
Type ~=~  at the end.&lt;br /&gt;
&lt;br /&gt;
Copy and paste at the end:&lt;br /&gt;
&lt;br /&gt;
Left( matrix {4%alpha # 4%beta # 4%gamma ## 4%theta # 4%eta # 4%mu } Right) &lt;br /&gt;
newline newline&lt;br /&gt;
&lt;br /&gt;
Point mouse over the last formula in Writer Gray box&lt;br /&gt;
&lt;br /&gt;
Click on Format, and point on the sub menu slowly one by one.&lt;br /&gt;
&lt;br /&gt;
Click on Spacing&lt;br /&gt;
&lt;br /&gt;
Click on the category drop down on the right, and choose matrices &lt;br /&gt;
&lt;br /&gt;
Change Line spacing to 20%, column spacing to 50% and click Ok.&lt;br /&gt;
&lt;br /&gt;
Point mouse over Writer gray box.&lt;br /&gt;
&lt;br /&gt;
Click  File &amp;gt; Save.&lt;br /&gt;
|Next, let us see an example of multiplying a matrix by a number.&lt;br /&gt;
&lt;br /&gt;
We will write a 2 by 3 matrix and multiply it by 4.&lt;br /&gt;
&lt;br /&gt;
We will first write ‘4 times’  followed by the matrix.&lt;br /&gt;
&lt;br /&gt;
Let me copy the matrix and paste it in FEW.&lt;br /&gt;
&lt;br /&gt;
Next let us write the ‘equal to’ symbol at the end with long gaps&lt;br /&gt;
&lt;br /&gt;
Followed by the matrix product. I am copying and pasting the mark up for the matrix product.&lt;br /&gt;
&lt;br /&gt;
So there is the product of multiplying a 2 by 3 matrix by a number.&lt;br /&gt;
&lt;br /&gt;
Now, we can format matrices by clicking on the Format menu and choosing the font, font sizes, alignment or the spacing.&lt;br /&gt;
&lt;br /&gt;
For example, let us choose spacing.&lt;br /&gt;
&lt;br /&gt;
In the category drop down on the right, let us choose Matrices.&lt;br /&gt;
&lt;br /&gt;
And change the line spacing to 20 percent and column spacing to 50 percent. Click OK.&lt;br /&gt;
&lt;br /&gt;
Notice how the matrices and their elements are well spaced out.&lt;br /&gt;
&lt;br /&gt;
Let us save our work now by clicking on File and Save.&lt;br /&gt;
|-&lt;br /&gt;
|In Formula Editor Window (FEW in short), press enter twice,&lt;br /&gt;
 &lt;br /&gt;
Copy and paste:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Simultaneous Equations: &amp;quot; newline newline&lt;br /&gt;
&lt;br /&gt;
2x+y = 8 newline&lt;br /&gt;
&lt;br /&gt;
x+y=6 newline newline&lt;br /&gt;
 &lt;br /&gt;
Point mouse over the last formula Write Gray box&lt;br /&gt;
&lt;br /&gt;
Point mouse over 2x, point over y, point over ‘=’&lt;br /&gt;
|Now, we can also use matrices to write two or three equations and then align them on a particular character.&lt;br /&gt;
&lt;br /&gt;
For example, we can write simultaneous equations and align them on the ‘equal to’ character.&lt;br /&gt;
&lt;br /&gt;
Let us write a set of Simultaneous equations now as shown on the screen.&lt;br /&gt;
&lt;br /&gt;
Notice that they are not perfectly aligned on the ‘equal to’ character.&lt;br /&gt;
&lt;br /&gt;
So, here we can use the matrix mark up to align them.&lt;br /&gt;
&lt;br /&gt;
We can separate each part in the equation and treat the parts as elements of a matrix. &lt;br /&gt;
&lt;br /&gt;
Here, 2x is a part, y is a part, ‘equal to’ character is a part and so on.&lt;br /&gt;
|-&lt;br /&gt;
|In FEW, press enter twice, copy and paste:&lt;br /&gt;
&lt;br /&gt;
matrix { 2x # {}+{} # y # {}={} # 8 ## &lt;br /&gt;
x # {}+{} # y # {}={} # 6 }&lt;br /&gt;
&lt;br /&gt;
In FEW, point mouse over matrix word&lt;br /&gt;
&lt;br /&gt;
Point mouse over # symbols&lt;br /&gt;
&lt;br /&gt;
Point mouse over ## symbol&lt;br /&gt;
&lt;br /&gt;
Point mouse over the last formula Write Gray box&lt;br /&gt;
|Press enter twice. Copy and paste the mark up. And, thus the new mark up looks like as shown on the screen.&lt;br /&gt;
&lt;br /&gt;
Here, we have used the matrix mark up, treated each part of the equation as an element and separated them by # symbols.&lt;br /&gt;
&lt;br /&gt;
We have used the double hash symbols to separate the two equations.&lt;br /&gt;
&lt;br /&gt;
So there is a perfectly aligned set of equations.&lt;br /&gt;
|-&lt;br /&gt;
|In FEW, press enter twice, copy and paste:&lt;br /&gt;
&lt;br /&gt;
newline newline&lt;br /&gt;
&lt;br /&gt;
x+y=2 newline&lt;br /&gt;
&lt;br /&gt;
x=2-y newline newline&lt;br /&gt;
&lt;br /&gt;
Point mouse over last formula in the Writer Gray box&lt;br /&gt;
&lt;br /&gt;
In FEW, press enter twice, copy and paste:&lt;br /&gt;
&lt;br /&gt;
matrix{&lt;br /&gt;
alignr x+y # {}={} # alignl 2 ##&lt;br /&gt;
alignr x   # {}={} # alignl 2-y&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
In FEW, point mouse over alignr and alignl and the ‘=’ character.&lt;br /&gt;
&lt;br /&gt;
Point mouse over the last formula Write Gray box&lt;br /&gt;
|Let us write another set of equations.&lt;br /&gt;
&lt;br /&gt;
Here let us suppose that we don’t have equal number of parts on the left and right of the ‘equal to’ character.&lt;br /&gt;
&lt;br /&gt;
Notice the equations on the screen, and they are not aligned on the ‘equal to’ character.&lt;br /&gt;
&lt;br /&gt;
Let us rewrite the mark up to align them. Press enter twice. I am copying and pasting the markup.&lt;br /&gt;
&lt;br /&gt;
So here, we have used alignr and alignl to align the parts to the right and left of the ‘equal to’ character.&lt;br /&gt;
&lt;br /&gt;
And there is our perfectly aligned set of equations.&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 2&lt;br /&gt;
&lt;br /&gt;
Assignment:&lt;br /&gt;
&lt;br /&gt;
1. Write steps for multiplying a 2x3 matrix by a 3x1 matrix. Use formatting to change the fonts, sizes and the spacing.&lt;br /&gt;
&lt;br /&gt;
2. Write a set of three equations. Align the equations at the = symbols and space them out uniformly.&lt;br /&gt;
|Here is an assignment for you:&lt;br /&gt;
&lt;br /&gt;
1. Write steps for multiplying a 2x3 matrix by a 3x1 matrix. Use formatting to change the fonts, sizes and the spacing.&lt;br /&gt;
&lt;br /&gt;
2. Write a set of three equations. Align the equations at the ‘equal to’ character.&lt;br /&gt;
|-&lt;br /&gt;
|Show Slide Number 3&lt;br /&gt;
&lt;br /&gt;
Summary:&lt;br /&gt;
&lt;br /&gt;
*Write a Matrix in Math&lt;br /&gt;
&lt;br /&gt;
*And Align equations on a particular character&lt;br /&gt;
|This brings us to the end of this tutorial on Matrix and Aligning equations in LibreOffice Math.&lt;br /&gt;
&lt;br /&gt;
To summarize, we learned the following topics:&lt;br /&gt;
&lt;br /&gt;
Write a Matrix &lt;br /&gt;
And Align equations on a particular character&lt;br /&gt;
|-&lt;br /&gt;
|Acknowledgement Slide&lt;br /&gt;
|Spoken Tutorial Project is a part of the Talk to a Teacher project, supported by the National Mission on Education through ICT, MHRD, Government of India. &lt;br /&gt;
This project is co-ordinated by http://spoken-tutorial.org. &lt;br /&gt;
&lt;br /&gt;
More information on the same is available at the following link http://spoken-tutorial.org/NMEICT-Intro. &lt;br /&gt;
&lt;br /&gt;
This script has been contributed by Priya Suresh, Desicrew Solutions and this is (the name of the narrator and affiliation &lt;br /&gt;
and place) signing off. Thanks for joining.&lt;br /&gt;
|-&lt;/div&gt;</summary>
		<author><name>Chandrika</name></author>	</entry>

	</feed>