\documentclass{article} \usepackage{amsmath} \usepackage{typewriter} \begin{document} \title{The Typewriter Package for LaTeX} \author{David Carlisle \thanks{https://github.com/davidcarlisle/dpctex/}} \date{2018-02-10} \maketitle \section{Introduction} The typewriter Package uses the OpenType Computer Modern Unicode Typewriter font, together with a LuaTeX virtual font setup that introduces random variability in grey level and angle of each character. It was originally an answer to a question on stackexchange, http://tex.stackexchange.com/questions/344214/use-latex-to-simulate-old-typewriter-written-texts \hrule 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 TTTTTTTTTTTTwwwwwwwwwwwwwwwwwwwwooooooooooooooooo \subsection{Text} one two three \textbf{one two three} [some greek text θ] a rule: \rule{3cm}{1pt} \subsection{Math} $\alpha^2=0$ and bold {\boldmath $\alpha^2=0$} more math $x^2-\cos θ$ display math: \[\left(\frac{x^2}{\sqrt{1+y}}\right)\] and \[\int_{x=0}^n f(x) dx = \sum_0^m q(y)\] and alignments: \begin{align} A &\rightarrow B\\ \mupGamma &\Rightarrow C \end{align} \subsection{Lists} \begin{enumerate} \item red yellow blue green \item black blue purple \end{enumerate} \begin{itemize} \item this \item that \item and the other \end{itemize} \subsection{Tables} \begin{center} \begin{tabular}{|l|l|l|} \cline{1-3} one & two & three\\ $\alpha$ & $\beta$ & $\gamma$\\ \cline{1-3} \end{tabular} \end{center} \subsection{Colophon} \raggedleft typeset by egreg design services \end{document}