formattingrule

noun
UK /ˈfɔːmætɪŋ ruːl/
US /ˈfɔːrmætɪŋ ruːl/

A formatting rule is a rule that tells you how something should look or be arranged.

The teacher gave us a formatting rule for our essays, like using a title and double spacing.


OTHER MEANINGS

2. In computing, a rule that controls how text or data is displayed or stored.

The spreadsheet's formatting rule turned negative numbers red.

3. A guideline in a style manual about how written work should be set out.

The formatting rule says headings must be bold and centered.

4. A condition in software that automatically changes how content looks.

She set a formatting rule so every new email uses the same font.