LibreOffice-Suite-Math-6.3/C2/Markup-language-and-Formula-formatting/English
Title: Markup Language and Formula Formatting
Keywords: LibreOffice Math, markup language, Save file, brackets, font style, font size, alignment, spacing, color command, video tutorial.
Visual Cue | Narration |
Slide: Title Slide | Welcome to this Spoken Tutorial on Markup Language and Formula Formatting. |
Slide: Learning Objectives | In this tutorial, we will learn:
|
Slide: System Requirements | This tutorial is recorded using:
|
Slide: Prerequisites | To follow this tutorial, learner should be familiar with Math interface.
If not please access the relevant tutorials on this website. |
Click on Show Applications >> Type writer in the search bar that appears.
>> click on the Writer icon. |
I have opened the Writer document. |
Insert menu >> select the Object.
From the submenu >> select the Formula option. |
Now let’s call the Math application inside Writer.
From the submenu, select the Formula option.
|
Point to the Elements window
Point to the Formula editor window.
|
We can easily write a formula using the Elements window.
|
Type 4+3=7
Point to 4+3=7 and 4-3=1. |
Let us learn this by writing a few examples.
|
Type 4-3=1. | Similarly, type 4 minus 3 equal to 1. |
In the Writer gray box. | Notice the display in the Writer gray box.
The two formulae are shown on the same line. |
Cursor on the interface. | Let us learn to insert formulae in new lines. |
Go to the Formula Editor window >>
type newline. Go to the Writer gray box >> Point to the new line. |
The markup to insert a new line is newline. |
Go to the Formula editor window >>
type: Some more example formulae: newline.
|
In the Formula editor window, type Some More Example Formulae newline.
For better readability, we will press the Enter key. |
Cursor on the interface.
|
Now let’s write x greater than equal to y and also number the formulae.
|
Go to the Formula Editor window >>
type: 2. a ^ 2 newline >> press Enter. |
Next, let’s write the markup for a squared.
|
Type 3.a caret 10.
Go to the Writer gray box >> Point to the last formula. |
To write the markup for a to the power of 10 type 3. a caret 10 newline.
|
Go to the Formula editor window >>
type 4. sqrt {16}= 4 newline >> press Enter.
|
Let us write the markup for square root of 16 = 4.
|
Σ a suffix n, a1 + a2 + a3 + -----+ an.
type: 5. sum a_n newline >> press Enter.
Point to the last formula. |
Let us write a summation symbol for a suffix n, to denote a1 + a2 + a3 + -----+ so on upto an.
|
Go to the Formula editor window >>
type: 6. int f(x) dx newline >> press Enter.
Point to the last formula.
|
Let us now write the markup for an integral with a function.
Type 6. int f(x) dx newline and press Enter.
Here I will include one more newline. |
Cursor on the interface. | Let us learn to use brackets to state the order of the operation in the formula. |
In FEW, press Enter, type 5 over x + y | For example, how do we write add x and y, then divide the result by 5 ?
|
In FEW, add { character before x and } character after y.
5 over {x+y}
|
Is this really what we wanted to write?
|
Cursor on the interface. | Let us save the file now. |
Click on the File menu >> Save | Click on the File menu and select the Save option. |
Point to the dialog box.
Point to Name field.
|
A dialog box, that prompts us to enter the name of the file appears.
|
Select Desktop location to save the file.
|
On the left side, I will select Desktop as the location to save my file.
|
Point to the MathExample1.odtin the title bar. | Observe the change in the title bar now.
|
Point to the formulae. | Now let us learn to format the formulae we wrote. |
Go to Writer gray box >>
Point to all formulae.
Point to the Format menu. |
In the Writer gray box, notice that the formulae are left aligned and numbered.
|
Click on the Format menu >> Alignment. | Let us first see the alignment options.
Click on the Format menu and then click on Alignment. |
Point to the Alignment dialog box.
Point to Horizontal >> point to Left. |
The Alignment dialog box appears on the screen.
Under Horizontal, Left option is selected by default.
|
Point to Centered option.
Point to Horizontal >> Point on the Right. Click the OK button. Go to the Writer gray box >> Point to all formulae. |
If you have the default option as Centred, please change it to Left.
You may try the Right alignment option on your own.
|
Click on the Format menu >> Fonts.
|
Let us change the font style now.
Click the Format menu and select the Fonts option. The Fonts dialog box appears on the screen. |
Point to all categories. | Fonts dialog box shows various categories of fonts. |
Point to Variables >> Functions >>
Numbers >> Text . |
Formula fonts can be used to set different types of fonts for: Variables, Functions , Numbers and Text. |
Go to the bottom of the window >>
click on the Modify.
|
To modify a font style, click the Modify button at the bottom of the window.
|
Point to Fonts dialog box >> Point to all fonts.
Under Attributes click the Bold check box. Click OK button. |
Another Fonts dialog box which has different types of fonts appears.
|
Point to the Variable drop-down >> Click OK.
point to the font of all formulae. |
To save the font of the variable click the OK button at the bottom right corner.
|
Click Format menu >> Font Size. | Let us increase the font size of the formulae.
Click the Format menu and then on Font Size. |
Point to the Font Sizes dialog box.
|
The Font Sizes dialog box appears on the screen.
|
Point to Text field >> Indexes field >>
Functions field >> Operators field >> Limits field. |
Let’s change the Relative Sizes of Text, Indexes, Functions, Operators and Limits. |
Click OK button.
point to all formulae. |
Now click the OK button.
In the Writer gray box, notice the change in the font size of the formulae. |
Point to the formulae.
Click on the Format menu >> Spacing. |
Next, let us make changes to the spacing of the formulae.
|
Point to the Spacing dialog box.
Default sizes: Spacing field 10% Line Spacing field 5% Root Spacing field 0%
Point to the right. Line Spacing field >> Type ‘30’ >> Point to the right. Root Spacing field >> Type ‘30’ >> Point to the right. |
The Spacing dialog box appears on the screen.
|
Click on the Category button >> Point to all spacing types.
point to the spacing between formulae. |
We can also select the spacing types by clicking the Category drop down.
|
Point to the Elements window. | Some more formatting options are available in the Elements window. |
Go to the top of the Element window >>
click on the drop-down >> select ‘Formats’. |
In the Elements window, click on the Element Categories drop-down.
|
Go below the drop-down.
Point to the formats.
Point to the symbol “ ~ ”. |
Notice the various format options in the Element window.
|
Point to the fifth example, | Let us introduce a long gap in the fifth example. |
Go to the Formula Editor window >> go to the fifth example >> click after “5.”.
Go to the Elements window >> click on the symbol “ ~ ”.
|
In the Formula editor window, click after number 5. in the fifth example.
Go to the Elements window and click on the symbol ‘tilde’.
|
Cursor on the interface. | Explore all the formatting options which Math provides on your own. |
In FEW, type:
color red 5 over{ x+y} newline
|
Now let’s learn to use color command in the markup language.
|
In FEW, type:
color red {5 over {x+y}} newline |
To colour of the whole formula, we have to enclose it within curly brackets. |
Ctrl + S | Let us save the file now. |
Narration only: | With this we have come to the end of this tutorial.
|
Slide: Summary | In this tutorial, we have learnt:
|
Slide: Assignment | Here is an assignment for you.
|
Slide:
Assignment |
Here is an another assignment for you.
|
Slide: About Spoken Tutorial Project |
|
Slide: Spoken tutorial workshops |
|
Slide: Answers for THIS Spoken Tutorial |
|
Slide: Acknowledgement | The Spoken Tutorial project is funded by the Ministry of Education, Govt. of India. |
Slide: Thank you
Acknowledgement to DesiCrew |
This tutorial was originally contributed by DesiCrew Solutions Pvt. Ltd. in 2011
This is Madhuri Ganapathi along with the Spoken Tutorial team from IIT Bombay signing off. Thank you for watching. |