APL editing conventions for this wiki: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
When editing an article with APL characters, enclose each symbol name in braces, and surround the entire phrase with <apl>...</apl>. For example, the phrase
There are two ways to enter APL characters into an article:
 
# Paste the APL characters from a Unicode APL session, or
# Enclose each symbol name in braces, and surround the entire phrase with <apl>...</apl>.
 
For example, the phrase


  <apl size="large" font=SImPL>({downshoe}V){match}((V{iota}V)={iota}{rho}V)/V</apl>
  <apl size="large" font=SImPL>({downshoe}V){match}((V{iota}V)={iota}{rho}V)/V</apl>


is encoded as
can be encoded as


  &lt;apl size="large"&gt;(&#123;downshoe}V)&#123;match}((V&#123;iota}V)=&#123;iota}&#123;rho}V)/V&lt;/apl&gt;
  &lt;apl size="large"&gt;(&#123;downshoe}V)&#123;match}((V&#123;iota}V)=&#123;iota}&#123;rho}V)/V&lt;/apl&gt;

Revision as of 16:13, 21 March 2008

There are two ways to enter APL characters into an article:

  1. Paste the APL characters from a Unicode APL session, or
  2. Enclose each symbol name in braces, and surround the entire phrase with <apl>...</apl>.

For example, the phrase

(∪V)≡((V⍳V)=⍳⍴V)/V

can be encoded as

<apl 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>

The default font for the site is APL385 Unicode.