Description
This tag sets the status of cases for the current font (small capitals, all uppercases, all lowercases).
Parameters and typographical expressions
1.Mode. Numbers 0, 1, 2, 3.
•1 activates small capitals
•2 activates uppercases
•3 activates lowercases
•0 returns to the normal text.
Tag Effects
Effects are visible in the WYSIWYG pane of the Articles main tab or on a page on the Pages main tab. However, because this tag may change the way how the text lines are justified, its effect is indirectly visible in the source pane of the Articles or Pages main tab.
Type and scope
Can be inserted anywhere in text. Local for the paragraph where is inserted, therefore effects cease on the end of that paragraph. May be globalized, by appending the >default< tag after, but only before any printable character.
See also
>small 1< activate the small capitals from the point of insertion till the end of the paragraph. >small 2< activate the uppercases from the point of insertion till the end of the paragraph. >small 1<>default< activate the small capitals from the point of insertion till the end of the text or till the next tag >h...<. >small 1<>f 10< works fine if the global setting in your format for Automatically disable small capitals on... is cleared; otherwise, the change of type after the activation of small capitals, returns to normal caps; >small 1<>h 10pt< works fine if the global setting in your format for Automatically disable small capitals on... is cleared; otherwise, the change of point size after the activation of small capitals, returns to normal caps; >f 10<>small 1< activate the small capitals from the point of insertion till the end of the paragraph for the font numbered as 10. |
There are no related built-in commands. The related user scripts are EditFontStyleSmalCaps and EditFontStyleAllCaps. They toggle small capitals/normal caps, and all capitals/normal caps. |
In Ted4 & Fred4 it is possible to get and set the caps status of text by the TextStatus object. To get caps status: dim objTS = Ted4.GetTextStatus if objTS.HasSmall then msgbox (objTS.Small) end if It will return 1 for small capitals, 2 for all caps, and 3 for all low caps. To set caps status to small capitals: dim objTS = Ted4.GetTextStatus objTS.Small = 1 Ted4.SetTextStatus (objTS) |
Remarks
The behavior of this tag depends on a special setting in the Global properties of the current format. If you put this tag in a style, and link the style library to a format for which it is selected Automatically disable small capitals... on font or point change in the Global properties, this tag will be invalidated on each font or type size change.
Therefore, it is recommended to clear this setting in each format (it is selected by default).