Writing documents with Mathematica

A short tutorial

Created by Jussi Mattas, Feb 5th, 2007

Style of a cell

Before beginning to write into a new cell, you can/must specify the style of the cell by choosing Format->Style->the style you want to use.

Keyboard shortcuts

Here are the keyboard shortcuts for the different styles for easy reference, accompanied by an example of use in this particular document:
	alt+1	Title ("Making documents with Mathematica")
	alt+2	Subtitle ("A short tutorial")
	alt+3	Subsubtitle ("Created by...")
	alt+4	Section ("Style of a cell")
	alt+5	Subsection ("Keyboard shortcuts")
	alt+6	Subsubsection
	alt+7	Text (this cell for example)
	alt+8	Small text like this (note that you can change the style of input in the middle of text)
	alt+9	Input (something for Mathematica to evaluate)

Cell operations

Here are some basic operations which you might expect to be able to do.

Keyboard shortcuts

shift+ctrl+D	Divide cell into several cells
	shift+ctrl+M	Merge several cells into one cell (the merged cells must belong to the same (sub)section)

Typing mathematical formulas

Mathematica supports "pretty-printing" mathematical formulas, for example
	f(x, y, z) = (x/2) (e^y) 
          ln z
Options are available in Edit->Expression input->...

Keyboard shortcuts

Here are some frequently used commands for typing formulas. There are more in the Edit-menu.
	ctrl+9		Start inline cell (start to type a formula) f(x) ... 
	ctrl+6		Superscript (x^2)
	ctrl+_		Subscript (Subscript[n, i])
	ctrl+/		Fraction (x/y)
	ctrl+space	End subexpression
	ctrl+2		Radical (Sqrt[x])
	ctrl+7		Above \(TraditionalForm\`\(x\& . \)\)
	ctrl+=		Below \(TraditionalForm\`x\+_\)
	ctrl+enter	Add row (to a matrix) (({{a}, {b}}))
	ctrl+,		Add column (({{a, b}, {c, d}}))