diff options
author | Karl Berry <karl@freefriends.org> | 2018-02-14 21:34:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-02-14 21:34:24 +0000 |
commit | c77870cf8b027ff1df80243e507baa9abb4999e8 (patch) | |
tree | aaf3a66849eb82eae033fdd034cc0f8863b9a818 /Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.tex | |
parent | 8b6cfd638559d98ab42f15ecae4afb6d754404d5 (diff) |
typewriter (14feb18)
git-svn-id: svn://tug.org/texlive/trunk@46641 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.tex')
-rw-r--r-- | Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.tex | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.tex b/Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.tex index 36080fe1d24..5ecb6df1605 100644 --- a/Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.tex +++ b/Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.tex @@ -5,7 +5,7 @@ \begin{document} \title{The Typewriter Package for LaTeX} \author{David Carlisle \thanks{https://github.com/davidcarlisle/dpctex/}} -\date{2018-02-07} +\date{2018-02-10} \maketitle @@ -19,17 +19,37 @@ http://tex.stackexchange.com/questions/344214/use-latex-to-simulate-old-typewrit \hrule -Currently there are no options to the package, it just does what it does, -Possibly later versions might document how to modify the amount of random distortion that is applied. +Currently there are no options to the package, However there are several parameters that control the offsets +and grey levels used to generate the variation. Any of the following +commands may be defined before loading the package to change the defaults shown below. +\begin{verbatim} +\providecommand\ttgreyone{0.6} +\providecommand\ttgreytwo{0.3} +\providecommand\ttrotatebold{12} +\providecommand\ttdownbold{20000} +\providecommand\ttrightbold{35000} +\providecommand\ttdownshifttwo{20000} + +\providecommand\ttrotatenormal{8} +\providecommand\ttrightnormal{20000} +\providecommand\ttdownnormal{20000} +\end{verbatim} + +The grey levels should be between 0 and 1 and control the maximim +amount grey level. + +The rotate values can be any angle (measured degrees), but setting values more than 20 makes the text more or less unreadable. + +The right and down offsets (which are in the font design units) control the +maximum horizontal and vertical offsets of the overprinted characters There is random variability in each letter as you can see by repeating a letter repeatededly: OOOOOOOOOOOOONNNNNNNNNNNNNNEEEEEEEEEE -TTTTTTTTTTTTooooooooooooooooowwwwwwwwwwwwwwwwwwww - +TTTTTTTTTTTTwwwwwwwwwwwwwwwwwwwwooooooooooooooooo |