summaryrefslogtreecommitdiff
path: root/tex/context/base/m-narrowtt.tex
blob: 6c14c97c52922dc7e8e53d46073956bc8551b9b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%D \module
%D   [       file=m-narrowtt,
%D        version=2005.09.08,
%D          title=\CONTEXT\ Modules,
%D       subtitle=Narrow Verbatim,
%D         author={Hans Hagen \& Ton Otten},
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D Test file
%D
%D \starttyping
%D \startTEX
%D \usemodule[narrowtt]
%D \starttext
%D \starttyping
%D Test test test.
%D \stoptyping
%D test \type {test} test \type{test} test
%D \starttyping
%D Test test test.
%D \stoptyping
%D \stoptext
%D \stopTEX

\unprotect

\definetypeface
  [narrowtt] [tt]
  [mono] [modern-cond] [default] [encoding=\defaultencoding]

\definetyping[n\v!typing] \setuptyping[n\v!typing][style=\narrowtt]
\definetype  [n\v!type]   \setuptype  [n\v!type]  [style=\narrowtt]

\protect \endinput