Command Reference

Chapter 4. Command Reference

The main KFormula window

The File Menu

File->New (Ctrl+N)

Creates a new KFormula document

File->Open (Ctrl+O)

Opens a previously saved document

File->Open Recent

displays a selection of recently saved documents you can open

File->Save (Ctrl+S)

Saves the document

File->Save As

Saves the document with a name you provide

File->Print (Ctrl+P)

Prints the document

File->Print Preview...

Shows how the printed document will appear

File->Document Information...

Provides a dialog box where you can enter your name, e-mail address and a short description about the document

File->Send File...

Invokes Kmail so you can e-mail the file. Note: You still have to attach the file to the e-mail

File->Close (Ctrl+W)

Closes the current document

File->Quit (Ctrl+Q)

Quits KFormula

The Edit Menu

Edit->Undo (Ctrl+Z)

Undoes an action. You can revert to the state that existed before your last change

Edit->Redo (Ctrl+Shift+Z)

Undoes an undo. Reverse the action of Undo. This will restore the change you originally made

Edit->Cut (Ctrl+X)

Cuts a highlighted piece of text from the KFormula screen.

Edit->Cut (Ctrl+C)

Copies a highlighted piece of text from the KFormula screen.

Edit->Paste (Ctrl+V)

Pastes the text you selected with Cut or Copy to the KFormula screen.

Edit->Select All (Ctrl+A)

Highlights all the text in the KFormula screen for either Cut or Copy.

Edit->Remove enclosing element (Ctrl+R)

Removes enclosing braces, brackets or absolute value bars. This action takes place on the braces just outside the cursor.

Edit->Convert to Greek (Ctrl+G)

Converts a Latin character to a Greek symbol.

Edit->Edit Formula String

Brings up an editor where you can edit the existing formula.

See the Advanced editing section for details.

The Element Menu

Element->Add...->Add root (Ctrl+2)

Inserts the square root.

Element->Add...->Add fraction (Ctrl+3)

Inserts a fraction.

Element->Add...->Add bracket

Inserts a pair of brackets, i.e. ( ). You can also just type ( to insert a pair of brackets.

Element->Add...->Add fraction (Ctrl+3)

Inserts a fraction.

Element->Add...->Add integral (Ctrl+6)

Inserts the integral sign.

Element->Add...->Add sum (Ctrl+7)

Inserts the summation sign (sigma).

Element->Add...->Add prod (Ctrl+4)

Inserts the product sign.

Element->Add...->Add matrix (Ctrl+8)

Inserts a matrix. A dialog box pops up, with the default size being 3x3. You can specify the number of rows and columns in this box.

Element->Add...->Add 1x2 matrix

Inserts a two rowed column vector.

Element->Add...->Add upper index (Ctrl+U)

Adds an upper index like so:

Element->Add...->Add lower index (Ctrl+L)

Adds a lower index:

Note

See the Definite Integrals and Indices section for details about indices.

Element->Add...->Add thin space

Inserts a small space.

Element->Add...->Add medium space

Inserts a space that is one and a half times wider.

Element->Add...->Add thick space

Inserts a double space.

Element->Add...->Add quad space

Inserts a quadruple wide space.

Element->Matrix->Insert Column

Inserts a column in an existing matrix. The column is inserted where the cursor is at.

Element->Matrix->Append Column

Appends a column to an existing matrix. The column is appended on the right.

Element->Matrix->Remove Column

Removes a column from an existing matrix. Removal occurs where the cursor is positioned.

Element->Matrix->Insert Row

Inserts a row in an existing matrix. The row is inserted where the cursor is at.

Element->Matrix->Append Row

Appends a row to an existing matrix. The row is appended on the bottom.

Element->Matrix->Remove Row

Removes a row from an existing matrix. Removal occurs where the cursor is positioned.

Element->Left delimiter

Allows insertion of various delimiters i.e. (, {, and [.

Element->Right delimiter

Allows insertion of various delimiters i.e. ), }, and ].

Element->Insert symbol (Ctrl+I)

Inserts the symbol, selected in the symbol toolbar.

The Settings Menu

Here you can choose how KFormula is configured. You can select the toolbars you want displayed or the type of fonts to be used.

Settings->Syntax highlighting

Checking this item determines if the numbers will be displayed in color

Settings->Show file toolbar

Toggles the toolbar that contains clickable icons for new, open and save files. Print and print preview are here also.

Settings->Show edit toolbar

Toggles the edit toolbar.Here are clickable icons for cut and paste as well as Undo and Redo.

Settings->Show add toolbar

This toolbar contains all the mathematical elements such as Sum, Integral, Exponent etc..

Settings->Show symbol toolbar

This toggles the combo box that contains Del, the partial derivative symbol, limit arrows, boolean operators and other mathematical symbols.

Settings->Show matrix toolbar

This toggles the matrix toolbar. It contains clickable icons that pertain to matrix creation and editing.

Configuring Shortcuts

The Settings->Configure Shortcuts... allows you to specify key bindings

Below is an example of how to configure a short cut for making a thick space.



  • Click on the custom button.

  • Next click on the primary button.

  • Do CTRL Space and the dialog should disappear. The keybinding is now entered.



Pressing the keys CTRL Space now produces a thick space.

Configuring Toolbars

The Settings->Configure Toolbars... Is used to add additional buttons to the toolbars.



  • To add a button to the File toolbar,



    make sure File <KOfficeShell> is displayed in the top combo box.

  • Click on one of the items in the left hand pane. This item will now have a blue background showing that it has been selected.

  • Next click on the Right arrow button to place it in the right pane.

  • Click on Apply and then click on OK

The new Item should be in the toolbar.

Configuring KFormula

The Settings->Configure KFormula... is where the font sizes are selected and additional fonts are installed.

  • The Formula section allows you to select fonts and font highlight colors.

  • The Fonts section allows you to install additional fonts. See the Additional Math Fonts section.

The Help Menu

Help->KFormula Handbook (F1)

Invokes the KDE Help system starting at the KFormula help pages. (this document).

Help->What's This? (Shift+F1)

Changes the mouse cursor to a combination arrow and question mark. Clicking on items within KFormula will open a help window (if one exists for the particular item) explaining the item's function.

Help->Report Bug...

Opens the Bug report dialog where you can report a bug or request a “wishlist” feature.

Help->About KFormula

This will display version and author information.

Help->About KDE

This displays the KDE version and other basic information.

KDE Logo