2.7. Attributes


2.7.1. Introduction

Attributes can be used to specify custom formatting, hypertext targets and jumps, indexing information, etc. For example:

  Note[label='Important: ';size="16pt"]
  Life is too short to drink bad wine.

The result is:


Important: Life is too short to drink bad wine.


2.7.2. Syntax

Paragraphs and phrases can be given attributes via the syntax below:

  style"["attributes"]" text

where the syntax of attributes is:

  name1["="expression1]";" name2["="expression2] ...

If an attribute name is given without a value, the default value is 1. Like style names, attribute names are:


2.7.3. Commonly used attributes

Some commonly used attributes are given below.

Name Purpose
Paragraphs:  
label prefix label (e.g. Note:)
notoc take this heading out of the table of contents
Phrases:  
id hypertext target tag
jump URL (Uniform Resource Locator) to jump to