Creating Nested Structures
When the insertion point is in an empty element, pressing the
ENTER key replaces that element by another empty element at
the next higher level in the document structure. This feature allows you to
create complex, nested structures very quickly.
As an example, consider the following structure:
- Click the Bullet List button to create the first item
in the list.
- Type in the list item text, and press the ENTER key
once. Amaya creates a new paragraph within the list item.
- Type the paragraph text, and press the ENTER key
twice. The first ENTER creates another paragraph
element, but the second ENTER removes that paragraph and
creates a second bullet list item in the original list.
- Type the second list item.
- Click the Bullet List button to create a new list. The
new list is automatically nested within the first list.
- Type the text for the first item in the new list, and press the
ENTER key twice to create a new item in the nested list.
- Type the text for the second list item, and press the
ENTER key four times to create a new list item in the
original list.
- Type the final list item, and then press the ENTER key
three times to close the original list and start a new paragraph.
The ENTER key works in the same way when the insertion
point is at the beginning of an element, but it creates new elements before
the current element. For example, to add a list item between the first two
items in the above structure, place the cursor at the beginning of the second
list item, and press the ENTER key twice.
Note: This use of the ENTER key does
not apply only to lists and paragraphs, but to all elements. For example, it
is very helpful for creating tables.