Skip to content
Browse files

Use verbose names for typescripts

  • Loading branch information...
1 parent 880f60e commit 5a285e2a427322308d1e0ca4e0ce45b9c31b937b @adityam committed May 27, 2012
Showing with 11 additions and 15 deletions.
  1. +11 −15 context/caesar/t-caesar.tex
View
26 context/caesar/t-caesar.tex
@@ -62,24 +62,20 @@
[alternative=command,
command=\FullwidthCommand]
-%setup the fonts
-\definefontfeature[default][default][onum=yes]
-\starttypescript[me]
- \definetypeface [me] [rm] [serif] [pagella] [default]
- \definetypeface [me] [ss] [sans] [heros] [default]
- \definetypeface [me] [tt] [mono] [cursor] [default]
- \definetypeface [me] [mm] [math] [pagella] [default]
+% Enable old style numbers and protrusion
+\definefontfeature[default][default][onum=yes, protrusion=quality, expansion=quality]
+
+\starttypescript[mainface]
+ \definetypeface [mainface] [rm] [serif] [pagella] [default]
+ \definetypeface [mainface] [ss] [sans] [heros] [default]
+ \definetypeface [mainface] [tt] [mono] [cursor] [default]
+ \definetypeface [mainface] [mm] [math] [pagella] [default]
\stoptypescript
+\setupbodyfont[mainface,10pt]
-% use protrusion
-\definefontfeature
- [default]
- [default]
- [protrusion=quality,expansion=quality]
+% Enable protrusion
\setupalign[hz,hanging]
-% std is 10pt font
-\setupbodyfont[me,10pt]
\setupindenting[10pt, yes]
%setup the headings
@@ -126,4 +122,4 @@
{\ss\tfc\kerncharacters[0.125]\uppercase{#3}}%
}
-\protect \endinput
+\protect \endinput

0 comments on commit 5a285e2

Please sign in to comment.
Something went wrong with that request. Please try again.