diff options
author | Karl Berry <karl@freefriends.org> | 2018-03-20 22:10:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-03-20 22:10:59 +0000 |
commit | 65d009a0596b194597f47531523addd3e64ed005 (patch) | |
tree | e13bd9beecf63e26491a66aa7a8fa702482f0067 /Master/texmf-dist/doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex | |
parent | d1a186333ced7b341e26877907343f08211199f7 (diff) |
context [current] (20mar18)
git-svn-id: svn://tug.org/texlive/trunk@47050 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex')
-rw-r--r-- | Master/texmf-dist/doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex b/Master/texmf-dist/doc/context/presentations/bachotex/2017/bachotex-2017-variablefonts-demo.tex new file mode 100644 index 00000000000..e9543a30a14 --- /dev/null +++ b/Master/texmf-dist/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 |