Page MenuHomePhabricator

new "indent" attribute for <math>
Closed, InvalidPublic

Description

I propose a new attribute "indent" for <math> tag. Its value should be ordinary numbers =>0, default value = 0. If value==0 then the formula will be displayed inline in the text. If value>0, the formula will be displayed on a new line (not in a new paragraph!), properly indented.

A colon (:) is used very often for indentation of the math formula. Since the colon should be actually used only in definition lists (see T6521), this enhancement should help to change this behaviour.

Details

Reference
bz16829

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:26 PM
bzimport added a project: Math.
bzimport set Reference to bz16829.
bzimport added a subscriber: Unknown Object (MLST).

We already have a standard wiki method for indendation, which is the colon (:).

While one may argue that the current HTML output for that is semantically incorrect due to its original lineage (also used for the definition part of definition lists), that's a separate issue which should be addressed separately.