APL editing conventions for this wiki: Difference between revisions

From NARS2000
Jump to navigationJump to search
(New page: ==APL Editing Conventions== To enter APL text, enclose each symbol or function name in braces, and surround the entire phrase with <apl>...</apl>. For example, the phrase <...)
 
m (Paul Robinson moved page APL Editing Conventions to APL editing conventions for this wiki: Original name may be confused with editing conventions for APL itself)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
==APL Editing Conventions==
There are two ways to enter APL characters into an article:


To enter APL text, enclose each symbol or function name in braces, and surround the entire phrase with &lt;apl&gt;...&lt;/apl&gt;. For example, the phrase
# Paste the APL symbols from a Unicode APL session and surround the entire phrase with &lt;apl&gt;...&lt;/apl&gt;, or
# Type the APL symbol names enclosing each in braces and surround the entire phrase with &lt;apl&gt;...&lt;/apl&gt;.


<apl size="large" font=SImPL>((V{iota}V)={iota}{rho}V)/V</apl>
For example, the phrase


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


&lt;apl size="large"&gt;((V&#123;iota}V)=&#123;iota}&#123;rho}V)/V&lt;/apl&gt;
can be encoded as


The arguments to &lt;apl&gt; are '''font=''', '''size=''', and '''weight=''', where each keyword takes as an argument the usual CSS values.  For example, the tag
&lt;apl font="SImPL" size="large"&gt;(&#123;downshoe}V)&#123;match}((V&#123;iota}V)=&#123;iota}&#123;rho}V)/V&lt;/apl&gt;
 
The arguments to the tag &lt;apl&gt; are '''font=''', '''size=''', and '''weight=''', where each keyword takes as an argument the usual CSS values.  For example, the tag


  &lt;apl font="SImPL" size="large" weight="bold"&gt;...&lt;/apl&gt;
  &lt;apl font="SImPL" size="large" weight="bold"&gt;...&lt;/apl&gt;
Line 16: Line 19:


  &lt;span style="font-family: SImPL; font-size: large; font-weight: bold;">...&lt;/span&gt;
  &lt;span style="font-family: SImPL; font-size: large; font-weight: bold;">...&lt;/span&gt;
As a convenience when displaying APL symbols you desire to be in a large font and bold, the tags &lt;apll&gt;...&lt;/apll&gt; may be used.  For example, the first phrase above written as
&lt;apll&gt;(&#123;downshoe}V)&#123;match}((V&#123;iota}V)=&#123;iota}&#123;rho}V)/V&lt;/apll&gt;
appears as
<apll>({downshoe}V){match}((V{iota}V)={iota}{rho}V)/V</apll>

Latest revision as of 22:14, 21 February 2013

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

  1. Paste the APL symbols from a Unicode APL session and surround the entire phrase with <apl>...</apl>, or
  2. 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 you desire to be in a large font and bold, the tags <apll>...</apll> may be used. For example, the first phrase above written as

<apll>({downshoe}V){match}((V{iota}V)={iota}{rho}V)/V</apll>

appears as

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