Chapter 4. Command Reference

The Main KFormula Window

The File Menu

FileNew (Ctrl+N)

Creates a new KFormula document.

FileOpen... (Ctrl+O)

Opens a previously saved document.

FileOpen Recent

Displays a selection of recently opened documents.

FileSave (Ctrl+S)

Saves the document.

FileSave As...

Saves the document with a name you provide.

FileReload

Reloads the more recently opened document.

FileImport

Imports formulas from other formats.

FileExport

Exports the current document in another format.

FileMail...

Invokes KMail so you can email the file. The file is already attached to the email.

FilePrint... (Ctrl+P)

Prints the document.

FilePrint Preview...

Shows how the printed document will appear.

FileDocument Information

Provides a dialog box where you can enter your name, email address and a short description about the document.

FileClose (Ctrl+W)

Closes the current document.

FileQuit (Ctrl+Q)

Quits KFormula.

The Edit Menu

EditUndo (Ctrl+Z)

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

EditRedo (Ctrl+Shift+Z)

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

EditCut (Ctrl+X)</span>

Cuts a highlighted piece of text from the KFormula screen.

EditCopy (Ctrl+C)

Copies a highlighted piece of text from the KFormula screen.

EditPaste (Ctrl+V)

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

EditSelect All (Ctrl+A)

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

EditRemove Enclosing Element (Ctrl+R)

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

EditConvert to Greek (Ctrl+G)

Converts a Latin character to a Greek symbol.

EditEdit Formula String...

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

See the Advanced editing section for details.

The Element Menu

ElementAddAdd Root

Inserts the square root.

ElementAddAdd Fraction

Inserts a fraction.

ElementAddAdd Bracket

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

ElementAddAdd Integral

Inserts the integral sign.

ElementAddAdd Sum

Inserts the summation sign. (sigma).

ElementAddAdd Product

Inserts the product sign.

ElementAddAdd Matrix...

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.

ElementAddAdd 1x2 Matrix

Inserts a two rowed column vector.

ElementAddAdd Overline

Inserts an overline in this box.

ElementAddAdd Underline

Inserts an underline in this box.

ElementAddAdd Multiline

Inserts a new line each time you type Enter in the square.

ElementAddAdd Upper Index (Ctrl+U)

Adds an upper index like so: .

ElementAddAdd Lower Index (Ctrl+L)

Adds a lower index: .

Note

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

ElementAddAdd Negative Thin Space

Inserts a small reduced space, here between the o and the e:.

ElementAddAdd Thin Space

Inserts a small space.

ElementAddAdd Medium Space

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

ElementAddAdd Thick Space

Inserts a double space.

ElementAddAdd Quad Space

Inserts a quadruple wide space.

ElementMatrixInsert Column

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

ElementMatrixAppend Column

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

ElementMatrixRemove Column

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

ElementMatrixInsert Row

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

ElementMatrixAppend Row

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

ElementMatrixRemove Row

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

ElementSize

Allows to set the size of the font (from 6 to 72).

ElementLeft Delimiter

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

ElementRight Delimiter

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

ElementInsert 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.

SettingsToolbarsFile (KFormula)

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

SettingsToolbarsEdit (KFormula)

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

SettingsToolbarsAdd (KFormula)

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

SettingsToolbarsFont (KFormula)

This toolbar contains the font settings (size, bold, italic, etc.).

SettingsToolbarsSymbol (KFormula)

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

SettingsToolbarsMatrix (KFormula)

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

SettingsSyntax Highlighting

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

Configuring Shortcuts

The SettingsConfigure Shortcuts... allows you to specify shortcuts.

Below is an example of how to configure a shortcut for a print preview.



  • Click on Custom.

  • Next click on the button Advanced >> and then Primary shortcut:.

  • Do Ctrl Space and the dialog should disappear. The shortcut is now entered.



Pressing the keys Ctrl Space now displays the print preview.

Configuring Toolbars

The SettingsConfigure Toolbars... is used to add additional buttons to the toolbars.



  • To add a button to the File toolbar,



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

  • Click on one of the items in the left hand pane. This item will now be highlighted to show 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 SettingsConfigure KFormula... is where the font sizes and font styles are selected.

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

The Help Menu

HelpTip of the Day

Opens the Tip of the Day dialog which displays a random tip about KFormula.

HelpKFormula Handbook (F1)

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

HelpWhat'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.

HelpReport Bug...

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

HelpSwitch Application Language...

Opens a dialog where you can edit the Primary language and Fallback language for this application.

HelpAbout KFormula

This will display version and author information.

HelpAbout KDE

This displays the KDE version and other basic information.