style-detail Styling Detail

Provides additional information about a style (typically named by the @style and/or @style-type attributes), for example, a sub-style to distinguish between dots or sesamis, by declaring some to be “hollow” dots and some to be “solid” or filled dots.

Usage/Remarks

Related Attribute
For some styling, three pieces of style information are most useful:
  • the style name or style class (possibly actionable),
  • the style type (human readable), and
  • further specific information concerning the style, which is recorded in the @style-detail attribute.
In English, and other Western languages, these three style facets can be used, for example, for formatting verse. In many Eastern languages, these three facets can be necessary to describe different styles of emphasis.
Kenten and Similar Emphasis
Being able to indicate three separate styling-related specifications is particularly useful in Japanese, where authors typically use emphasizing marks (dots or sesamis), called “Kenten”, which are associated with individual Japanese characters as dots above, dots beside, or similar typographic construction. Many languages (Japanese, Korean, Thai, Chinese, Arabic, Hungarian, and Armenian, to name but a few) use stress marks and similar typographic conventions (such as dots or sesamis) in the same way that English (as one example) uses <bold> or <italic> emphasis.
Here are some Japanese examples illustrating how the @style-detail attribute might be used to modify the style (@style-type):
style-type style-detail values
dot
  • open
  • closed (filled)
  • double (dot inside dot)
sesami (sesame)
  • open
  • closed (filled)
circle
  • open
  • closed (filled)
  • double (circle inside circle)
hatched
  • forward (slant left)
  • backward (slant right)
triangle
  • open
  • closed (filled)
Formatting Verse
The attribute @style-detail can be used as a third style facet to control the display of a line or a group of lines, for example, indicating a complex indent pattern. There is no guidance or best practice here, each JATS user is free to develop personalized rules for internal use, with the expectation that others are unlikely to be able to automatically style the content as intended.
OPTIONAL on elements: <styled-content>, <verse-group>, <verse-line>
Value Meaning
Text, numbers, or special characters A value which indicates additional information about a style (@style and/or @style-type), for example, a sub-style to distinguish between dots or sesamis, by declaring some to be “hollow” dots and some to be “solid” or filled dots.
Restriction @style-detail is an optional attribute; there is no default.
Tagged Sample

Different dot styles are used as emphasis in many non-western languages.

...
<p><styled-content 
     specific-use="emphasis" 
     style-type="dot" 
     style-detail="open"  
     toggle="no">あいうえお</styled-content> ...</p>
...