diff options
author | Hans Hagen <pragma@wxs.nl> | 2018-03-15 16:04:31 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2018-03-15 16:04:31 +0100 |
commit | a4e07f30e880ab27c2918f81f136e257475b7729 (patch) | |
tree | 02db002d3001a49777a049f9a98fdc872a5e1ad1 /doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex | |
parent | cbc37c39432e0ebe38e0922fc6d14c2955ab3ba2 (diff) | |
download | context-a4e07f30e880ab27c2918f81f136e257475b7729.tar.gz |
2018-03-15 15:36:00
Diffstat (limited to 'doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex')
-rw-r--r-- | doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex b/doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex new file mode 100644 index 000000000..e9543a30a --- /dev/null +++ b/doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex @@ -0,0 +1,44 @@ +% macros=mkvi + +\usemodule[art-01] \dontcomplain + +\starttexdefinition unexpanded TestFont #font#variant#size + \bgroup + \definedfont[name:#font#variant*default @ #size] + \setupinterlinespace + % \showstruts + % \strut + \samplefile{tufte} + \par + \egroup +\stoptexdefinition + +\starttext + +\dorecurse {5} { + + \dostepwiserecurse {8} {14} {1} { % 30 fonts + \TestFont {adobevariablefontprototype} {extralight} {##1pt} + \TestFont {adobevariablefontprototype} {light} {##1pt} + \TestFont {adobevariablefontprototype} {regular} {##1pt} + \TestFont {adobevariablefontprototype} {semibold} {##1pt} + \TestFont {adobevariablefontprototype} {bold} {##1pt} + \TestFont {adobevariablefontprototype} {black} {##1pt} + } + + \page + + % \dostepwiserecurse {8} {14} {1} { % 40 fonts + % \TestFont {avenirnextvariable} {regular} {##1pt} + % \TestFont {avenirnextvariable} {medium} {##1pt} + % \TestFont {avenirnextvariable} {bold} {##1pt} + % \TestFont {avenirnextvariable} {heavy } {##1pt} + % \TestFont {avenirnextvariable} {condensed} {##1pt} + % \TestFont {avenirnextvariable} {medium condensed} {##1pt} + % \TestFont {avenirnextvariable} {bold condensed} {##1pt} + % \TestFont {avenirnextvariable} {heavy condensed} {##1pt} + % } + +} + +\stoptext |