
Two of these Character elements are also available in the Elements tool:
superscript
( ), and
subscript
(
).
17.4.3. Removing information type or character elements
All commands of the submenus Information type and Character Elements are cancelled when you
apply them twice.
To remove a style element:
1. Select the character string for which you want to remove the particular style.
2. Reapply the command from the Information type or Character element submenu of the
Insert menu, or use the buttons in the Elements tool: emphasis ( ), strong ( ), code (
), insertion ( ), and deleltion ( ),
superscript
( ), and
subscript
( ).
If you want to insert normal text (i.e. without any style), within a styled character string, put the insertion
point at the desired position, and activate the command corresponding to the style you want to remove
(in the Information type or Character element submenu of the Insert menu, or use the buttons in the
Elements tool).
17.5. Using the style editor
Note: The style editor is not available in the Amaya Lite editing profile.
The Style editor entry in the Format menu, or the button in the button bar, enables you to create a
list of CSS style properties through a dialog box with 4 different tabs: Characters, Colors, Boxes, Format.
When a set of properties is set, you can Apply them to the current selection:
• If the selection is within a formatted view, Amaya generates a style attribute on the current
element, creating a span element if only a character string is selected.
• If the selection is within the source view, or a within a CSS file, Amaya generates the CSS
syntax for the chosen properties at the current position.
In any case image paths included in the list of properties (background-image, list-style-image) are
transformed into paths relative to the selected document.
17.6. About linking external and user style sheets
Note: These actions are not available in the Lite profile.
A document can link to several external style sheets that are downloaded with the document and applied
to it.
An external style sheet can apply to multiple documents. When the same style sheet applies to several
displayed documents, Amaya downloads only one instance of the style sheet.
You can define a specific style sheet that applies to all documents downloaded on your system. This style
sheet is called the user's style sheet. It is stored in your local environment, in the AmayaHome directory as
the local file amaya.css.
For example, if you prefer to display documents in Helvetica on your screen and print them in small size,
you can create a user's style sheet with following CSS rules:
17. Styling documents
57
Commenti su questo manuale