Template:Spc: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{#switch: {{{1}}}
{{#switch: {{{1}}}
|0=|1= |2=  |3=   |4=    |5=     |6=      |7=       |8=        |9=         |10=          |11=           |12=            |13=             |<span style="word-spacing:10px;"><strong>&nbsp;</span>}}<noinclude>
|0=|1= |2=  |3=   |4=    |5=     |6=      |7=       |8=        |9=         |10=          |11=           |12=            |13=             |<span style="word-spacing:10px;">{{sp}}</span>}}<noinclude>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates]]
[[Category:Templates]]
Line 14: Line 14:
is the same as <tt><nowiki>{{spc|1}}</nowiki></tt>, which is useful for inserting a very small space after an italic (slanted) character which appears before an upright character, as in
is the same as <tt><nowiki>{{spc|1}}</nowiki></tt>, which is useful for inserting a very small space after an italic (slanted) character which appears before an upright character, as in
<pre>(''379''{{spc}})</pre>
<pre>(''379''{{spc}})</pre>
producing (''379''<span style="word-spacing:-3px;">&nbsp;</span>), whereas
producing (''379''{{spc}}), whereas
<pre>(''379'')</pre>
<pre>(''379'')</pre>
produces the less appealing (''379'').
produces the less appealing (''379'').
}}
}}
</noinclude>
</noinclude>

Revision as of 20:02, 17 August 2009

Note
this template has been temporarily disabled because it is currently browser and/or font dependent. Hopefully, a fix can be found soon.
Usage

Type

{{spc|n}}

to insert "n" hairspaces (one hairspace is about 1/12 of an Em-space).

{{spc}}

is the same as {{spc|1}}, which is useful for inserting a very small space after an italic (slanted) character which appears before an upright character, as in

(''379''{{spc}})

producing (379), whereas

(''379'')

produces the less appealing (379).