APL editing conventions for this wiki: Difference between revisions
From NARS2000
Jump to navigationJump to search
Sudleyplace (talk | contribs) No edit summary |
Sudleyplace (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
There are two ways to enter APL characters into an article: | There are two ways to enter APL characters into an article: | ||
# Paste the APL symbols from a Unicode APL session, or | # Paste the APL symbols from a Unicode APL session and surround the entire phrase with <apl>...</apl>, or | ||
# Type the APL symbol names enclosing each in braces | # Type the APL symbol names enclosing each in braces and surround the entire phrase with <apl>...</apl>. | ||
For example, the phrase | For example, the phrase |
Revision as of 10:11, 18 April 2008
There are two ways to enter APL characters into an article:
- Paste the APL symbols from a Unicode APL session and surround the entire phrase with <apl>...</apl>, or
- Type the APL symbol names enclosing each in braces and surround the entire phrase with <apl>...</apl>.
For example, the phrase
(∪V)≡((V⍳V)=⍳⍴V)/V
can be encoded as
<apl font="SImPL" size="large">({downshoe}V){match}((V{iota}V)={iota}{rho}V)/V</apl>
The arguments to the tag <apl> are font=, size=, and weight=, where each keyword takes as an argument the usual CSS values. For example, the tag
<apl font="SImPL" size="large" weight="bold">...</apl>
translates into
<span style="font-family: SImPL; font-size: large; font-weight: bold;">...</span>
As a convenience when displaying APL symbols in a large font, the tags <apll>...</apll> may be used. For example, the first phrase above may be written as
<apll font="SImPL">({downshoe}V){match}((V{iota}V)={iota}{rho}V)/V</apll>
The default font for the site is APL385 Unicode.