Previous Topic

Next Topic

Linebreak Attibutes dialog

The Linebreak Attributes dialog allows you to control MathML 3 linebreaking and indentation attributes.

Linebreak attributes

Attribute

Values

Default

linebreak

"auto" | "newline" | "nobreak" | "goodbreak" | "badbreak"

auto

Specifies the desirability of a linebreak occurring at this operator: the default "auto" indicates the renderer should use its default linebreaking algorithm to determine whether to break; "newline" is used to force a linebreak; For automatic linebreaking, "nobreak" forbids a break; "goodbreak" suggests a good position; "badbreak" suggests a poor position.

lineleading

length

inherited (100%)

Specifies the amount of vertical space to use after a linebreak. For tall lines, it is often clearer to use more leading at linebreaks. Rendering agents are free to choose an appropriate default.

linebreakstyle

"before" | "after" | "duplicate" | "infixlinebreakstyle"

set by dictionary (before)

Specifies whether a linebreak occurs 'before' or 'after' the operator when a linebreaks occur on this operator; or whether the operator is duplicated. "before" causes the operator to appear at the beginning of the new line (but possibly indented); "after" causes it to appear at the end of the line before the break. "duplicate" places the operator at both positions. "infixlinebreakstyle" uses the value that has been specified for infix operators. This value (one of "before", "after" or "duplicate") can be specified by the application or bound by mstyle ("before" corresponds to the most common style of linebreaking).

linebreakmultchar

string

inherited (⁢)

Specifies the character used to make an ⁢ operator visible at a linebreak. For example, linebreakmultchar="·" would make the multiplication visible as a center dot.

Indentation attributes

Attribute

Values

Default

indentalign

"left" | "center" | "right" | "auto" | "id"

inherited (auto)

Specifies the positioning of lines when linebreaking takes place within an mrow.

indentshift

length

inherited (0)

Specifies an additional indentation offset relative to the position determined by indentalign.

indenttarget

idref

inherited (none)

Specifies the id of another element whose horizontal position determines the position of indented lines when indentalign="id". Note that the identified element may be outside of the current math element, allowing for inter-expression alignment, or may be within invisible content such as mphantom; it must appear before being referenced, however. This may lead to an id being unavailable to a given renderer; in such cases, the indentalign should revert to "auto".

indentalignfirst

"left" | "center" | "right" | "auto" | "id" | "indentalign"

inherited (indentalign)

Specifies the indentation style to use for the first line of a formula; the value "indentalign" (the default) means to indent the same way as used for the general line.

indentshiftfirst

length | "indentshift"

inherited (indentshift)

Specifies the offset to use for the first line of a formula; the value "indentshift" (the default) means to use the same offset as used for the general line.

indentalignlast

"left" | "center" | "right" | "auto" | "id" | "indentalign"

inherited (indentalign)

Specifies the indentation style to use for the last line when a linebreak occurs within a given mrow; the value "indentalign" (the default) means to indent the same way as used for the general line. When there are exactly two lines, the value of this attribute should be used for the second line in preference to indentalign.

indentshiftlast

length | "indentshift"

inherited (indentshift)

Specifies the offset to use for the last line when a linebreak occurs within a given mrow; the value "indentshift" (the default) means to indent the same way as used for the general line. When there are exactly two lines, the value of this attribute should be used for the second line in preference to indentshift.

See also:
Line Breaking Preferences

Previous Topic

Next Topic


[Design Science Home]
Copyright © 1996-2013 Design Science, Inc. All rights reserved.