summaryrefslogtreecommitdiff
path: root/tex/context/base/m-narrowtt.tex
blob: b11aaefb5ddf5b49f0a0adcdd88706f8d503734d (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
%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 \usemodule[narrowtt]
%D \starttext
%D \starttyping
%D Test test test.
%D \stoptyping
%D test \type {test} test \ntype{test} test
%D \startntyping
%D Test test test.
%D \stopntyping
%D \stoptext
%D \stoptyping

\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