number_pad formatting fix for Guidebook.tex

Fix the alignment issue Pat noted (this is different than the suggestion I
mailed out - installing latex so I could test it proved it was wrong).
This commit is contained in:
keni
2011-04-23 20:27:05 +00:00
parent 2228943015
commit 72b40100ee

View File

@@ -33,7 +33,7 @@
\begin{document} \begin{document}
% %
% input file: guidebook.mn % input file: guidebook.mn
% $Revision: 1.112 $ $Date: 2011/03/09 02:30:24 $ % $Revision: 1.113 $ $Date: 2011/04/19 02:02:04 $
% %
%.ds h0 " %.ds h0 "
%.ds h1 %.ds h2 \% %.ds h1 %.ds h2 \%
@@ -2566,12 +2566,15 @@ Valid settings are:
%.sd %.sd
%.si %.si
{\tt ~0} --- move by letters; `{\tt yuhjklbn}'\\ \newlength{\mwidth}
{\tt ~1} --- move by numbers; digit `{\tt 5}' acts as `{\tt G}' movement prefix\\ \settowidth{\mwidth}{\tt -0}
{\tt ~2} --- like {\tt 1} but `{\tt 5}' works as `{\tt g}' prefix instead of as `{\tt G}'\\ \newcommand{\numbox}[1]{\makebox[\mwidth][r]{{\tt #1}}}
{\tt ~3} --- by numbers using phone key layout; {\tt 123} above, {\tt 789} below\\ \numbox{0} --- move by letters; `{\tt yuhjklbn}'\\
{\tt ~4} --- combines {\tt 3} with {\tt 2}; phone layout plus MSDOS compatibility\\ \numbox{1} --- move by numbers; digit `{\tt 5}' acts as `{\tt G}' movement prefix\\
{\tt -1} --- by letters but use `{\tt z}' to go northwest, `{\tt y}' to zap wands \numbox{2} --- like {\tt 1} but `{\tt 5}' works as `{\tt g}' prefix instead of as `{\tt G}'\\
\numbox{3} --- by numbers using phone key layout; {\tt 123} above, {\tt 789} below\\
\numbox{4} --- combines {\tt 3} with {\tt 2}; phone layout plus MSDOS compatibility\\
\numbox{-1} --- by letters but use `{\tt z}' to go northwest, `{\tt y}' to zap wands
%.ei %.ei
%.ed %.ed