File: t-cmttbf.tex

package info (click to toggle)
context-modules 20181123-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,044 kB
  • sloc: xml: 1,873; makefile: 51; sh: 35
file content (45 lines) | stat: -rw-r--r-- 1,525 bytes parent folder | download | duplicates (5)
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
40
41
42
43
44
45
%D \useregime[il9]
%D \enableregime[il9]
%D \module
%D   [      file=t-cmttbf,
%D        version=2006.09.12,
%D          title=\CONTEXT\ User Module,
%D       subtitle=Bold Typewriter for Computer/Latin Modern,
%D         author=Peter Mnster,
%D           date=\currentdate,
%D      copyright={Peter Mnster}]
%C This module is copyrighted by Peter Mnster.
%C Please send any comments to pmrb at free.fr.

% This program is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License
% as published by the Free Software Foundation; either version 2
% of the License, or (at your option) any later version.

% This program is distributed in the hope that it will be useful,
% but without any warranty; without even the implied warranty of
% merchantability or fitness for a particular purpose.  See the
% GNU General Public License for more details.

\writestatus{loading}{Bold Typewriter for Computer/Latin Modern}

\definebodyfont[15pt,14pt,13pt,12pt,11pt,10pt] [tt] [bf=cmbtt10 sa 1]
\definebodyfont[9pt] [tt] [bf=cmbtt9]
\definebodyfont[8pt,7pt,6pt,5pt] [tt] [bf=cmbtt8 sa 1]
%\definebodyfont[15pt,14pt,13pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt]
%    [tt] [bf=cmttb10 sa 1]

%D Hint: when producing PDF, adjust your resolution with
%D \type{\pdfpkresolution=xxx}

\doifnotmode{demo}{\endinput}

%D Usage example:
\usemodule[cmttbf]
\useregime[il9]
\enableregime[il9]
\pdfpkresolution=1200
\starttext
{\tt Normal and \bf bold Typewriter.}
{\tt  \bf }
\stoptext