Amaya user interface Manual de Instruções Página 75

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 108
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 74
23. Numbering sections
Section headings (h2 to h6 elements) can be automatically numbered to reflect the document structure.
The h1 element is supposed to be the document title and is not numbered. Other headings receive a
number that is computed according to their type and their position in the document structure. These
numbers are generated in the document itself and numbers that were generated previously are removed,
every time the Tools/Section numbering command is called.
24. Generating a table of contents
Command Tools/Add-Update table of contents collects all h2 to h6 elements in the document
following the current selection and generates a table of contents at the current position. It updates the
current table of contents if the selection is already within a table of contents.
This command adds:
An id attribute to each h2 to h6 element which does not have this attribute.
A division (with a class="toc" attribute) that contains nested unnumbered lists (ul) at the
current position. You can use the class attribute to set a particluar style to your tables of
contents.
A list item (li) for each h2 to h6 element including a link which points to the corresponding
element in the document.
The link element contains a copy of the hn element. If the hn element is numbered, this number
is also copied.
23. Numbering sections
75
Vista de página 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 107 108

Comentários a estes Manuais

Sem comentários