Configuration files Style Configuration



This configuration file section pre-defines a style-list.

Style-list Definition Section: \STYLELIST{....}

This section presents the style-list definitions accessible in corresponding Xclamation menus. The definition of the style-list appears between the opening bracket "{" and corresponding closing bracket "}". Each element from the style-list is defined as described below.

Style Definition Section: \STYLEX{...}

This section defines style X in the Xclamation styles-base. A style's definition appears between the opening bracket "{" and closing bracket "}". Parameters of a style definition are:

  1. \FONT{font name}: font name attached to a particular style.
     
  2. \COLORX: color name attached to a particular style.
     
  3. the font size attached to a particular style.
     
  4. \NAME{style name}: style name as it appears in Xclamation.
     
  5. \WIDTH{expansion}: the horizontal expansion of this style's font (1 indicates the font is normal size, 1.5 indicates it is one and a half times bigger than its normal size.)
     
  6. \LOCK locks a style defined in Xclamation's style base so that it cannot be deleted from the 'style composition' dialog box.
     
  7. \HIDE hides the defined style so that it does not appear in Xclamation style lists.
     

Example:

\STYLELIST{
    \STYLE0{
        \FONT{Helvetica}
        \COLOR3
        12
        \NAME{Normal 12pts}
        \WIDTH{1}
    }
    \STYLE1{
        \FONT{Helvetica-Bold}
        \COLOR1
        16
        \NAME{Section 16pts}
        \WIDTH{.8}
        \LOCK
    }
    \STYLE2{
        \FONT{Helvetica-Bold}
        \COLOR1
        20
        \NAME{Large 20pts}
        \WIDTH{1.7}
    }
}



Xclamation (c)1996. Axene