Template:Spc: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
({{spc|n}} now defined for n = 0,1,...,12)
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>|<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>|5=<span style="margin-left:0.917em"></span>|6=<span style="margin-left:1em"></span>|<span style="margin-left:0.083em"></span>}}<noinclude>
{{prot-temp}}
{{prot-temp}}
[[Category:Templates]]
[[Category:Templates]]
{{DisplayBox
{{DisplayBox
|text=<!--
|text=
;Once again this template has been disabled, since Internet Explorer 6 does not seem to support it properly; however, it works fine in Internet Explorer 8.-->
;Usage:
;Usage:
Type
Type
<pre>{{spc|n}}</pre>
<pre>{{spc|n}}</pre>
to insert "n" ''hairspaces'', where n{{spc|1}}={{spc|1}}0,1,...,6 (one hairspace is 1/12 of an em-space).
to insert "n" ''hairspaces'', where n{{spc|1}}={{spc|1}}0,1,...,12 (one hairspace is 1/12 of an em-space).
<pre>{{spc}}</pre>
<pre>{{spc}}</pre>
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
Line 17: Line 16:
produces the less appealing (''379'').
produces the less appealing (''379'').


Here are <tt><nowiki>>{{spc|n}}<</nowiki></tt>, for n = 0,1,...,6:
Here are <tt><nowiki>>{{spc|n}}<</nowiki></tt>, for n = 0,1,...,12:
:0: >{{spc|0}}<
:{{spc|6}}0: >{{spc|0}}<
:1: >{{spc|1}}<
:{{spc|6}}1: >{{spc|1}}<
:2: >{{spc|2}}<
:{{spc|6}}2: >{{spc|2}}<
:3: >{{spc|3}}<
:{{spc|6}}3: >{{spc|3}}<
:4: >{{spc|4}}<
:{{spc|6}}4: >{{spc|4}}<
:5: >{{spc|5}}<
:{{spc|6}}5: >{{spc|5}}<
:6: >{{spc|6}}<
:{{spc|6}}6: >{{spc|6}}<
:{{spc|6}}7: >{{spc|7}}<
:{{spc|6}}8: >{{spc|8}}<
:{{spc|6}}9: >{{spc|9}}<
:10: >{{spc|10}}<
:11: >{{spc|11}}<
:12: >{{spc|12}}<
See [[User:CHGiffen/Spacing]] for spacing issues.
See [[User:CHGiffen/Spacing]] for spacing issues.
}}
}}
</noinclude>
</noinclude>

Revision as of 00:22, 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.