Template:Italics correction
From Wikipedia, the free encyclopedia
{{{1}}}
Use {{italics correction}} to increase the spacing (by 0.15em) following italic text to keep it from running into an immediately subsequent non-italic character, such as a closing parenthesis. The template takes one unnamed parameter: the text. It should be used within italics markup, which is not provided by this template itself.
Examples
Using the wiki markup (''Harbi'')
without the template would produce (Harbi) with the italicized 'i' intruding into the ')'. ({{italics correction|''Harbi''}})
produces (Harbi) instead.
TemplateData
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | 1 | no description | String | required |
Technical note
The kerning problem with italics has, as of April 2021, no automated solutions in the web browser, so the use of this template remains necessary. The underlying font standards generally don't have support for this feature, so this issue should not be expected to be fixed anytime soon. (OpenType only has italics correction in the TeX-inspired MATH table -- see also this discussion on typedrawers.)
See also
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.