Template:Spc: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
({{spc|n}} now defined for n = 0,1,...,12)
mNo edit summary
Line 1: Line 1:
{{#switch: {{{1|1}}}
{{#switch: {{{1|1}}}
|0=|1=<span style="margin-left:0.083em"></span>|2=<span style="margin-left:0.167em"></span>|3=<span style="margin-left:0.25em"></span>|4=<span style="margin-left:0.333em"></span>|5=<span style="margin-left:0.417em"></span>|6=<span style="margin-left:0.5em"></span>|7=<span style="margin-left:0.583em"></span>|8=<span style="margin-left:0.667em"></span>|9=<span style="margin-left:0.75em"></span>|10=<span style="margin-left:0.833em"></span>|5=<span style="margin-left:0.917em"></span>|6=<span style="margin-left:1em"></span>|<span style="margin-left:0.083em"></span>}}<noinclude>
|0=|1=<span style="margin-left:0.083em"></span>|2=<span style="margin-left:0.167em"></span>|3=<span style="margin-left:0.25em"></span>|4=<span style="margin-left:0.333em"></span>|5=<span style="margin-left:0.417em"></span>|6=<span style="margin-left:0.5em"></span>|7=<span style="margin-left:0.583em"></span>|8=<span style="margin-left:0.667em"></span>|9=<span style="margin-left:0.75em"></span>|10=<span style="margin-left:0.833em"></span>|11=<span style="margin-left:0.917em"></span>|12=<span style="margin-left:1em"></span>|<span style="margin-left:0.083em"></span>}}<noinclude>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates]]
[[Category:Templates]]

Revision as of 00:23, 19 August 2009

Usage

Type

{{spc|n}}

to insert "n" hairspaces, where n=0,1,...,12 (one hairspace is 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).

Here are >{{spc|n}}<, for n = 0,1,...,12:

0: ><
1: ><
2: ><
3: ><
4: ><
5: ><
6: ><
7: ><
8: ><
9: ><
10: ><
11: ><
12: ><

See User:CHGiffen/Spacing for spacing issues.