aboutsummaryrefslogtreecommitdiffstats
path: root/include/npf
diff options
context:
space:
mode:
Diffstat (limited to 'include/npf')
-rw-r--r--include/npf14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/npf b/include/npf
index 1ba3de6..f7512ad 100644
--- a/include/npf
+++ b/include/npf
@@ -38,7 +38,7 @@ def @NonpareilSetup
named style
named @OrIfPlain left x right y
{ @BackEnd @Case { PlainText @Yield y else @Yield x } }
- { symbol @OrIfPlain fixed } # print style
+ { fixed } # print style
# the following options apply when style is "fixed"
named fixedfont { Courier }# font family
@@ -47,7 +47,7 @@ def @NonpareilSetup
named fixedblanklinescale { 1.0 } # blank-line scale
named fixedspace { lout } # spacing mode
named fixedtabin { 8 } # tab interval
- named fixedtabout { 8s } # tab width
+ named fixedtabout { 4s } # tab width
named fixedidentifiers { Base } # identifier face
named fixedkeywords { Base } # keyword face
@@ -417,7 +417,10 @@ def @NonpareilSetup
{
@PO @BackEnd @Case {
PlainText @Yield "."
- else @Yield { "1.4f" @Font "+0.04f" @VShift "." &"0.05f" }
+ else @Yield style @Case {
+ fixed @Yield "."
+ else @Yield { "1.4f" @Font "+0.04f" @VShift "." &"0.05f" }
+ }
}
}
@@ -426,7 +429,10 @@ def @NonpareilSetup
{
@PO @BackEnd @Case {
PlainText @Yield ".."
- else @Yield { "1.4f" @Font "+0.04f" @VShift ".." &"0.05f" }
+ else @Yield style @Case {
+ fixed @Yield ".."
+ else @Yield { "1.4f" @Font "+0.04f" @VShift ".." &"0.05f" }
+ }
}
}