<< Chapter < Page Chapter >> Page >

You can press Ctrl+A (or ⌘+A on Macs) to select your entire expression. You can also double-click in the white box outside of your expression to select it all. If you want to select only a portion of the expression, hold the Shift key down and use the left and right arrow buttons, or double click on the operator of just the portion you want to select (i.e. double click + to select everything within the plus operator, or double click on two multiplied objects to just select that product).

Copy your expression by pressing Ctrl+C ( ⌘+C ). Open your module and click on a segment to edit. Press Ctrl+V ( ⌘+V ) to paste the MathML code directly into your module.

Why can't i select the mathml with my mouse?

There are two ways to select expressions within the editor. By using one of the methods above, you copy the underlying MathML code. This is what you need to copy MathML code over to a module, or to select a portion of your code to delete.

By clicking and dragging over an expression within the edit box, you select only the text. Like any other text you enter, if you copy part of your code and paste it as an argument of an operator within the editing area, the MathML editor will correctly parse it and generate the underlying code. This is also called " wrapping " your existing math.

Deleting expressions

There are several ways to delete part or all of your expression. You can either move your cursor to the context of the portion of your expression you want to delete, then push Delete , or you can select the portion of your code you want to delete, and press Delete .

To delete b x from our expression a x 2 b x c , move your cursor until the context is only b x . The b x portion of the expression should have a light grey background, and the path bar should read Path: / plus / times .

The times operation has a light grey background and the Path bar contains 'Path: / plus / times'.
The context of the cursor is the times operation.

Press Delete once, and that part of your expression should be highlighted in blue.

The times operation is selected and the Path bar contains 'Path: / plus / times'.
The times operation is highlighted.

Press Delete again and that portion will delete.

The times operation is gone. The ci block containing c is highlighted, and the Path bar contains 'Path: / plus / times / ci'.
The cursor will move to the next argument.

You should be left with a blank block where the expression b x used to be. By clicking Delete you have deleted the content of one argument of the plus operator, but not the argument itself. You can type in a different expression that will replace b x , or if you simply want the expression a x 2 c , press Delete one more time to delete the block. Notice that the context automatically moves to the next argument, which in our case is the ci element c .

Creating expressions with the toolbar menus

The toolbar menus are only activated when something is selected within the editing box. This can be either an entire operator, like the expression b x , or it could be just one argument of an operator, like b or an empty block. Since the editing box contains only an empty block when you first open it, the block is automatically highlighted and the toolbar menus are accessible.

However, note that if you select a portion of your MathML expression and then insert an operator from the toolbar, the selected portion will be overwritten. The operator will not appear behind or in front of the selected expression. New users are often confused by this behavior. Essentially, keyboard input and the toolbar function in different ways.

Questions & Answers

what are components of cells
ofosola Reply
twugzfisfjxxkvdsifgfuy7 it
Sami
58214993
Sami
what is a salt
John
the difference between male and female reproduction
John
what is computed
IBRAHIM Reply
what is biology
IBRAHIM
what is the full meaning of biology
IBRAHIM
what is biology
Jeneba
what is cell
Kuot
425844168
Sami
what is biology
Inenevwo
what is cytoplasm
Emmanuel Reply
structure of an animal cell
Arrey Reply
what happens when the eustachian tube is blocked
Puseletso Reply
what's atoms
Achol Reply
discuss how the following factors such as predation risk, competition and habitat structure influence animal's foraging behavior in essay form
Burnet Reply
cell?
Kuot
location of cervical vertebra
KENNEDY Reply
What are acid
Sheriff Reply
define biology infour way
Happiness Reply
What are types of cell
Nansoh Reply
how can I get this book
Gatyin Reply
what is lump
Chineye Reply
what is cell
Maluak Reply
what is biology
Maluak
what is vertibrate
Jeneba
what's cornea?
Majak Reply
what are cell
Achol
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Connexions guide to mathml. OpenStax CNX. Aug 24, 2009 Download for free at http://cnx.org/content/col10963/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Connexions guide to mathml' conversation and receive update notifications?

Ask