Template:Spc: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
No edit summary
m (Special character)
(2 intermediate revisions by one other user not shown)
Line 2: Line 2:
|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>
|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:Special character templates]]
{{DisplayBox
{{DisplayBox|text=
|text=
'''Usage'''
;Usage:
Type
Type
<pre>{{spc|n}}</pre>
<pre>{{spc|n}}</pre>
Line 19: Line 18:
<pre>({{spc}}''nu''{{spc}})</pre>
<pre>({{spc}}''nu''{{spc}})</pre>
obtaining ({{spc}}''nu''{{spc}}) instead of the usual (''nu'').  On the other hand,
obtaining ({{spc}}''nu''{{spc}}) instead of the usual (''nu'').  On the other hand,
compare ({{spc}}''joy''{{spc}}) and ({{spc}}''leaf''{{spc}}) (both have a hairspace before and after the italicized word) with (''joy'') and (''leaf'') (no hairspace before or after the italicized word).  It may be that ({{spc}}''joy'') (with hairspace before) and (''leaf''{{spc}}) (with hairspace after) appear evem better.  However, be forwarned that this may be somewhat browser and font dependent, espcially at small font sizes.
compare ({{spc}}''joy''{{spc}}) and ({{spc}}''leaf''{{spc}}) (both have a hairspace before and after the italicized word) with (''joy'') and (''leaf'') (no hairspace before or after the italicized word).  It may be that ({{spc}}''joy'') (with hairspace before) and (''leaf''{{spc}}) (with hairspace after) appear even better.  However, be forewarned that this may be somewhat browser and font dependent, especially at small font sizes.


Here these are repeated, with some other possibliities:
Here these are repeated, with some other possibilities:


''joy''
''joy''
Line 34: Line 33:
:(''leaf'') via <tt><nowiki>(''leaf'')</nowiki></tt>
:(''leaf'') via <tt><nowiki>(''leaf'')</nowiki></tt>


In each of these examples above, the fourth instance (no hairspaces) seems quite unappealin, while the first three seem acceptable, with the first and third being better, perhaps the first being best of all.
In each of these examples above, the fourth instance (no hairspaces) seems quite unappealing, while the first three seem acceptable, with the first and third being better, perhaps the first being best of all.


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

Revision as of 04:02, 27 August 2012

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) numeral or tall character (such as f or l) which appears before an upright character, as in

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

producing (379), whereas

(''379'')

produces the less appealing (379). To get this small hairspace before and after the italics material being enclosed, simply type, say,

({{spc}}''jof''{{spc}})

obtaining (jof) instead of the usual (jof). By contrast, we have

({{spc}}''nu''{{spc}})

obtaining (nu) instead of the usual (nu). On the other hand, compare (joy) and (leaf) (both have a hairspace before and after the italicized word) with (joy) and (leaf) (no hairspace before or after the italicized word). It may be that (joy) (with hairspace before) and (leaf) (with hairspace after) appear even better. However, be forewarned that this may be somewhat browser and font dependent, especially at small font sizes.

Here these are repeated, with some other possibilities:

joy

(joy) via ({{spc|2}}''joy''{{spc}})
(joy) via ({{spc}}''joy''{{spc}})
(joy) via ({{spc}}''joy'')
(joy) via (''joy'')

leaf

(leaf) via ({{spc}}''leaf''{{spc|2}})
(leaf) via ({{spc}}''leaf''{{spc}})
(leaf) via (''leaf''{{spc}})
(leaf) via (''leaf'')

In each of these examples above, the fourth instance (no hairspaces) seems quite unappealing, while the first three seem acceptable, with the first and third being better, perhaps the first being best of all.

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.