Item
|
Convention to Use
|
Example
|
Example code
|
Monospace font
|
To assign the value 5 to A , enter
A = 5
|
MATLAB output
|
Monospace font
|
MATLAB responds with
A = 5
|
Function names and syntax
|
Monospace font
|
The close function uses the syntax:
close(cursor)
|
Literal strings (in syntax) must be typed as is
|
Monospace bold for literals.
|
set(conn, 'AutoCommit' , 'value' )
|
String variables having a prescribed set of values
|
Monospace italics
|
set(conn, 'AutoCommit' , 'value' ) where 'value' can be on or off
|
Mathematical expressions
|
Variables in italics Functions, operators, and constants in standard text.
|
This vector represents the polynomial p = x2 + 2x + 3
|
Menu names, menu items, and controls
|
Boldface with an initial capital letter
|
Choose the File menu.
|
Keys
|
Boldface with an initial capital letter
|
Press the Enter key.
|
New terms
|
Italics
|
An array is an ordered collection of information.
|