WPC:  2BPJ ZH|xTimes New Roman (TT)Arial (TT)Courier New (TT)Garamond (TT)Symbol (TT)C\  P6QPJ2PQP"d6X@DQ@4}Vi P1QPCa\  P[AP2?phoenix#C\  P6QP# A Newsletter Article Stylesheet for Mike KentMike Kent2`heading 1heading 1C9#g2PQP# #C\  P6QP#heading 2heading 2F<#XX2PQXP#  #C\  P6QP#heading 3heading 3@6#XX2PQXP##C\  P6QP#Default Paragraph FoDefault Paragraph Font11#XP\  P6QXP##C\  P6QP#2x L. v Document MapDocument Map;1#I2PQP##C\  P6QP#headerheaderX` hp x (#!T$ !T$ X` hp x (#arHeading1arHeading1C9#g2PQP# #C\  P6QP#Normal IndentNormal Indent 2  n B arNormalarNormal ;1#&KVi P1Q&P##C\  P6QP#arHeading2arHeading2 C9#XX2PQXP##C\  P6QP#arHeading3arHeading3 C9#XRVi P1QXP# #C\  P6QP#arCodeCourierarCodeCourier ;1#d6X@DQ@##C\  P6QP#2"  ^arCodeISIJarCodeISIJ ;1#a\  P[AP##C\  P6QP#arCodeApl2arCodeApl2>4#Z6X@DQ@##C\  P6QP#arCodeAplPlusarCodeAplPlus;1#d6X@DQ@##C\  P6QP#arCodeDyalogStdarCodeDyalogStd;1#d6X@DQ@##C\  P6QP#2|TarInlineApl2arInlineApl244#Z6X@DQ@##C\  P6QP#arInlineAplPlusarInlineAplPlus44#d6X@DQ@##C\  P6QP#arTitlearTitleC9#2PQP# #C\  P6QP#arAuthorarAuthorC9# u2PQ P# #C\  P6QP#2|rTarAuthorInfoarAuthorInfo@6#g2PQP##C\  P6QP#footerfooterX` hp x (#!T$ !T$ X` hp x (#page numberpage number11#XP\  P6QXP##C\  P6QP#arFooterarFooterX` hp x (#!T$ #g2PQP##C\  P6QP#!T$ X` hp x (#28harCodeDyalogAPLarCodeDyalogAPL;1#&k\  P[A&P##C\  P6QP#arCodeDyalogRusarCodeDyalogRusJ@#&Q2PQ&P#USUKUKUS#C\  P6QP#arCodeSaxttarCodeSaxtt>4#d6X@DQ@##C\  P6QP#arFootOddarFootOddA7#DVi P1QP#  #C\  P6QP#2jarFootEvenarFootEvenA7#&KVi P1Q&P#  #C\  P6QP#  VT$҇  1k!1  ddfooterX` hp x (#!T$ #XP\  P6QXP#page number#XP\  P6QXP##|Vi P1QP# "page number" karFootOdd#DVi P1QP# X` hp x (#4 <DL!T$December 2044 " Volume 75, Number 2  arFootOdd  Ĺ  1{!1  ddfooterX` hp x (#!T$ #XP\  P6QXP#page number#XP\  P6QXP##|Vi P1QP#  2 "page number" { 2 arFootEven#&KVi P1Q&P# X` hp x (#4 <DL!T$APL Quote Quad 2  !arFootEven! arTitle#2PQP#   X` hp x (#4 <DL!T$A Newsletter Article Stylesheet for APL Quote Quad d  arTitlearAuthor# u2PQ P# Michael Kent  d2  arAuthorarAuthorInfo#g2PQP#24 Kendal Avenue, Maplewood, NJ, USA mkent@acm.org 2d  #arAuthorInfo#arHeading1#g2PQP# Page Setup !arHeading1! arHeading2#XX2PQXP#Size and margins d2  ! arHeading2! arNormal#&KVi P1Q&P# Pages are set up for US standard paper, 8.5 by 11. (The printing house we ordinarily use cant easily handle European sizes like A4.) Margins are set at 1 (25 mm) top and bottom and 0.75 (19 mm) for inside and outside margins. 2d   arNormal arHeading2#XX2PQXP#Page numbers d2  ! arHeading2! arNormal#&KVi P1Q&P# Page numbers are at the bottom of the page, aligned with the outside margins, and set in the same face as the body text, but bold and 18pt. 2d   arNormal arHeading2#XX2PQXP#Footers d2  ! arHeading2! arNormal#&KVi P1Q&P# We use different odd and even footers. On odd pages, the footer contains the date, the volume and the number. On even pages, the footer contains name APL Quote Quad. These are justified so as to align with the inside page margins. Footers are positioned 0.5 (12.7 mm) from the top resp. bottom page margins. 2d   arNormalarHeading1#g2PQP# Formatting in the Author/Title Block  d2  !arHeading1! arNormal#&KVi P1Q&P# The title is set in a bold sansserif font (this style sheet uses Gill Sans, as do the quarterly issues of  Quote Quad ) at 24 points. The authors name is set in 18 pt bold in the same face; and the address and contact information is set in the same face at 14 pt (not bold). This block spans the two bodytext columns. 2d   arNormalarHeading1#g2PQP# Body Text Formatting  d2  !arHeading1! arNormal#&KVi P1Q&P# The heading above is a level 1 heading, style arHeading1, set in Gill Sans Bold at 14 pt. 2d   arNormal arHeading2#XX2PQXP#Level 2 Heading d2  ! arHeading2! arNormal#&KVi P1Q&P# This heading is style arHeading2, set in Gill Sans italic at 12 pt. 2d   arNormal arHeading3#XRVi P1QXP# Level 3 heading  d2  ! arHeading3! arNormal#&KVi P1Q&P# The heading above is style arHeading3 , set in the same face as body text, but bold and 12 point. Body text is set in two columns separated by a 0.25 (6.35 mm) gutter. There is 0.25 of whitespace between the bottom of the title block and the beginning of the body text. Body text (like this paragraph) is set in the arNormal style, which is the main style for the text of an article. The arNormal style is set in here in Garamond, but any reasonably compact serif font can be substituted.. Jon McGrew uses Monotype Bulmer to set article bodies in the regular quarterly issues of  Quote Quad , for instance, but the ubiquitous Times Roman is perfectly usable. (Similarly, if you dont have access to Gill Sans, theres no reason not to use Helvetica or Arial for the styles set in a sansserif face.) The size used for body text in the arNormal style is 11 points. We have found that anything smaller starts to look small and to be difficult to read, and anything much larger starts to look too open (and with larger faces, it takes more pages to accommodate the same text). Paragraphs in the arNormal style have a 0.25 (6.35 mm) indent, and 3 points of white space precede the first line of each paragraph. Paragraphs are set fully justified (aligned left and right margins). Sometimes, you will want to set monospaced text:  2   arNormal arCodeCourier#d6X@DQ@#/* Not everything can be set in the main body style; this style is arCodeCourier, set in Courier at 10 points */ #_6X@DQ@# for (int i = 0; i < k; i++ ) tgt[i] = src[i]; #d6X@DQ@# 2  $ arCodeCourier$ arNormal#&KVi P1Q&P# J has its own font, and thus its own style: 2   arNormal arCodeISIJ#a\  P[AP# .nb This is a little snippet of J .nb code, set in style arCodeISIJ .nb using 10 pt ISIJ. var .= +/\vector .nb There is no real reason why this .nb style cannot be used in place of .nb the arCodeCourier used above. 2  ! arCodeISIJ! arNormal#&KVi P1Q&P# The names of the typefaces used for setting code are just the style names with the arCode part dropped, which is an ugly convention, but at least you can tell what the font is. Now its time for a variety of APL styles: 2   arNormalarCodeApl2#Z6X@DQ@# C#IptQ##Z6X@DQ@#+/A#IptQ#Q#Z6X@DQ@#.=B #IptQ##Z6X@DQ@# arCodeAPL2, 9 pt !arCodeApl2!arCodeAplPlus#d6X@DQ@#C#QptQ##d6X@DQ@#+/A#QptQ#Q#d6X@DQ@#.=B #QptQ##d6X@DQ@# arCodeAplPlus, 10 pt $arCodeAplPlus$ arCodeDyalogStd #d6X@DQ@#C?+/A#QptQ#Q#d6X@DQ@#.=B  arCodeDyalogStd, 10 pt &arCodeDyalogStd& arCodeDyalogRus #&Q2PQ&P#USUKC#&YptQ&##&Q2PQ&P#+/A$.=B  arCodeDyalogRus, 11 pt &arCodeDyalogRus&arCodeSaxtt#d6X@DQ@#UKUSCE+/A*.=B M arCodeSAXtt, 10 pt "arCodeSaxtt" arCodeDyalogAPL #&k\  P[A&P# 2  &arCodeDyalogAPL& arNormal#&KVi P1Q&P# It is unfortunate but true that every slightly different APL requires a different style, because of font mappings, atomic vector differences, and font metrics. The alternative is to convert all the APL code snippets into some one atomic vector and use a font that matches. Thats about it for the bodytext things. However, we do sometimes want to have APL code inline with the main text arNormalarInlineApl2#Z6X@DQ@##=Vi P1QP#:#Z6X@DQ@# C#IptQ##Z6X@DQ@#+/A#IptQ#Q#Z6X@DQ@#.=B #&KVi P1Q&P#(APL2) or (this time its APL*PLUS) #arInlineApl2# arInlineAplPlus #d6X@DQ@#C#QptQ##d6X@DQ@#+/A#QptQ#Q#d6X@DQ@#.=B&arInlineAplPlus&. Style name for these inline styles are analogous to the codeblock style names, except that they begin with arInline rather than with arCode.