Give a clue how to use characters as format directive prefix parameters141
authorBert Burgemeister <trebbu@googlemail.com>
Tue, 20 Aug 2013 12:00:55 +0000 (20 14:00 +0200)
committerBert Burgemeister <trebbu@googlemail.com>
Tue, 20 Aug 2013 12:00:55 +0000 (20 14:00 +0200)
clqr-input-output.tex

index 9599f62..a69bb45 100644 (file)
 
     \IT{\KWD{\TLD} \Op{\VAR{min-col}\DF{\LIT{0}}} \OP{\KWD{,}\Op{\VAR{col-inc}\DF{\LIT{1}}}
         \OP{\KWD{,}\Op{\VAR{min-pad}\DF{\LIT{0}}}
-          \OP{\KWD{,}\VAR{pad-char}\DF{\kwd{'}\textvisiblespace}}}}
+          \OP{\KWD{,'}\VAR{pad-char}\DF{\textvisiblespace}}}}
       \KWD{\Op{:} \Op{@} \Goo{A\XOR S}}}
     {\index{\~S@$\sim$S}\index{\~A@$\sim$A}%
       \EM{Aesthetic/Standard. }
     }
     
     \IT{\KWD{\TLD} \Op{\VAR{radix}\DF{\LIT{10}}} \OP{\KWD{,}\Op{\VAR{width}}
-        \OP{\KWD{,}\Op{\VAR{pad-char}\DF{\kwd{'}\textvisiblespace}}
-          \OP{\KWD{,}\Op{\VAR{comma-char}\DF{\kwd{'}\LIT{,}}}
+        \OP{\KWD{,}\Op{\kwd{'}\VAR{pad-char}\DF{\textvisiblespace}}
+          \OP{\KWD{,}\Op{\kwd{'}\VAR{comma-char}\DF{\LIT{,}}}
             \OP{\KWD{,}\VAR{comma-interval}\DF{\LIT{3}}}}}}
       \KWD{\Op{:} \Op{@} R}}
     {\index{\~R@$\sim$R}%
     }
 
     \IT{\KWD{\TLD} \Op{\VAR{width}}
-      \OP{\KWD{,}\Op{\VAR{pad-char}\DF{\kwd{'}\textvisiblespace}}
-        \OP{\KWD{,}\Op{\VAR{comma-char}\DF{\kwd{'}\LIT{,}}}
+      \OP{\KWD{,}\Op{\kwd{'}\VAR{pad-char}\DF{\textvisiblespace}}
+        \OP{\KWD{,}\Op{\kwd{'}\VAR{comma-char}\DF{\LIT{,}}}
           \OP{\KWD{,}\VAR{comma-interval}\DF{\LIT{3}}}}}
       \KWD{\Op{:} \Op{@} \Goo{D\XOR B\XOR O\XOR X}}}
     {\index{\~D@$\sim$D}\index{\~B@$\sim$B}\index{\~O@$\sim$O}\index{\~X@$\sim$X}%
 
     \IT{\KWD{\TLD} \Op{\VAR{width}} \OP{\KWD{,}\Op{\VAR{dec-digits}}
         \OP{\KWD{,}\Op{\VAR{shift}\DF{\LIT{0}}} 
-          \OP{\KWD{,}\Op{\VAR{overflow-char}}
-            \OP{\KWD{,}\VAR{pad-char}\DF{\kwd{'}\textvisiblespace}}}}}
+          \OP{\KWD{,}\Op{\kwd{'}\VAR{overflow-char}}
+            \OP{\KWD{,'}\VAR{pad-char}\DF{\textvisiblespace}}}}}
       \KWD{\Op{@} F}}
     {\index{\~F@$\sim$F}%
       \EM{Fixed-Format Floating-Point. } With
     \IT{\KWD{\TLD} \Op{\VAR{width}} \OP{\KWD{,}\Op{\VAR{dec-digits}}
         \OP{\KWD{,}\Op{\VAR{exp-digits}}
           \OP{\KWD{,}\Op{\VAR{scale-factor}\DF{\LIT{1}}}
-            \OP{\KWD{,}\Op{\VAR{overflow-char}}
-              \OP{\KWD{,}\Op{\VAR{pad-char}\DF{\kwd{'}\textvisiblespace}}
-                \OP{\KWD{,}\VAR{exp-char}}}}}}}
+            \OP{\KWD{,}\Op{\kwd{'}\VAR{overflow-char}}
+              \OP{\KWD{,}\Op{\kwd{'}\VAR{pad-char}\DF{\textvisiblespace}}
+                \OP{\KWD{,'}\VAR{exp-char}}}}}}}
       \KWD{\Op{@} \Goo{E\XOR  G}}}
     {\index{\~E@$\sim$E}\index{\~G@$\sim$G}%
       \EM{Exponential/General Floating-Point. }
     \IT{\KWD{\TLD} \Op{\VAR{dec-digits}\DF{\LIT{2}}}
       \OP{\KWD{,}\Op{\VAR{int-digits}\DF{\LIT{1}}}
         \OP{\KWD{,}\Op{\VAR{width}\DF{\LIT{0}}}
-          \OP{\KWD{,}\VAR{pad-char}\DF{\kwd{'}\textvisiblespace}}}}
+          \OP{\KWD{,'}\VAR{pad-char}\DF{\textvisiblespace}}}}
       \Op{\KWD{:}} \Op{\kwd{@}} \KWD{\$}}
     {\index{\~\$@$\sim$\$}%
       \EM{Monetary Floating-Point. }
     \IT{\KWD{\TLD} \Op{\VAR{min-col}\DF{\LIT{0}}}
       \OP{\KWD{,}\Op{\VAR{col-inc}\DF{\LIT{1}}}
         \OP{\KWD{,}\Op{\VAR{min-pad}\DF{\LIT{0}}}
-          \OP{\KWD{,}\VAR{pad-char}\DF{\kwd{'}\textvisiblespace}}}}
+          \OP{\KWD{,'}\VAR{pad-char}\DF{\textvisiblespace}}}}
       \KWD{\Op{:} \Op{@} \boldmath{$<$}} 
       \OP{\VAR{nl-text} \KWD{\TLD}\Op{\VAR{spare}\DF{\LIT{0}} \Op{\KWD{,}\VAR{width}}}\kwd{:;}}
       \Goos{\VAR{text} \KWD{\TLD;}} \VAR{text} \KWD{\TLD\boldmath{$>$}}}