வார்ப்புரு:All small caps/doc
This is a documentation subpage for வார்ப்புரு:All small caps. It contains usage information, categories and other content that is not part of the original வார்ப்புரு page. |
This template uses a See H:DIVSPAN for details. |
Publications may have text that is to be interpreted as capitals, but is presented as small caps for readability, stylistic, or traditional reasons. Converting the source to lower-case and applying small-caps may be undesirable since readers copying the rendered text will get the lower-case version. Additonally, software that doesn't support small-caps (e.g. some e-readers) will show all-lower-case text.
This template allows you to represent the appearance of the original and maintain the intended meaning.
A short version {{asc}} is provided, analogous to {{sc}}.
Usage
தொகுThis template takes a single un-named parameter: the text to be styled.
{{All small caps|Wikisource MXIX A.D.}}
=
Wikisource MXIX A.D.
Comparison
தொகு{{sc|wikisource mxix a.d.}}
= wikisource mxix a.d. (looks the same but copies as "wikisource mxix a.d."){{sc|Wikisource MXIX A.D.}}
= Wikisource MXIX A.D.Wikisource {{fs70|MXIX A.D.}}
= Wikisource MXIX A.D.
Examples
தொகுIn some versions of the Christian Holy Bible, the Tetragrammaton is represented as Lord. This should be copyable and machine-processable as "Lord" or "LORD", but not "lord".
Roman numerals like LXVI may be printed at a small size, but be clearly distinct from uses of "lxvi" forms in the same work.
In modern use, a.m./p.m., A.M./P.M., and A.M./P.M are all acceptable. A.D., B.C., A.H., etc. are not presented as "a.d.", "b.c.", or "a.h.".
Implementation details
தொகுThis template uses the CSS property font-variant: all-small-caps
. The expected rendering behaviour is:
- If supported by both web browser and font, true small-caps glyphs will be used.
- If supported by the browser but not the font, normal upper-case glyphs will be used, scaled down to the x-height.
- If the web browser doesn't recognise the property, all-caps and mixed case will remain unaltered.
See also
தொகு- {{Small-caps}} (equivalently {{Small caps}}, {{sc}}) convert lower-case source to small-caps glyphs, but leave upper-case as large capitals.
- {{fs70}}, {{fs75}}, etc. can be used to scale down capitals without requesting small-cap glyphs.