From c77870cf8b027ff1df80243e507baa9abb4999e8 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 14 Feb 2018 21:34:24 +0000 Subject: typewriter (14feb18) git-svn-id: svn://tug.org/texlive/trunk@46641 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/lualatex/typewriter/typewriter-guide.pdf | Bin 65084 -> 101048 bytes .../doc/lualatex/typewriter/typewriter-guide.tex | 30 +++++++++++++++++---- 2 files changed, 25 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/doc/lualatex') diff --git a/Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.pdf b/Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.pdf index 8209cedcdf4..a5a8e30d47b 100644 Binary files a/Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.pdf and b/Master/texmf-dist/doc/lualatex/typewriter/typewriter-guide.pdf differ 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 -- cgit v1.2.3