summaryrefslogtreecommitdiff
path: root/fonts/utilities/mathinst/rhax.mtx
blob: 927a8cb2f1620fa0a93bd29398dad5f4c92721ac (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% This is the file rhax.mtx, part of the MathInst package
%% (version 1.0, August, 1998) for math font 
%% generation.  (Author: Alan Hoenig, ajhjj@cunyvm.cuny.edu)
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%% Based on work by Aloysius G. Helminck. All rights reserved. 

\relax


\metrics

% Uses the fontinst package.

\needsfontinstversion{1.315}

%%% If you want the math to be less tight, then set the letterspacing.
%%% The standard is 0. 
%\setint{letterspacing}{20}

% \shiftglyph takes four parameters:
%
% #1 the name of the glyph
% #2 the amount of extra space at the left
% #3 the amount of extra space at the right
% #4 the amount of extra space for subscripts

\setcommand\shiftglyph#1#2#3#4{
   \ifisglyph{#1}\then
      \resetglyph{#1}
      	 \movert{#2}
      	 \glyph{#1}{1000}
      	 \movert{#4}
      	 \resetitalic{\add{\italic{#1}}{\sub{#3}{#4}}}
      \endresetglyph
   \fi
}

\shiftglyph{parenleft}{25}{10}{0}
\shiftglyph{parenright}{40}{0}{0}
\shiftglyph{grave}{1}{1}{0}
\shiftglyph{acute}{1}{1}{0}
\shiftglyph{caron}{1}{1}{0}
\shiftglyph{breve}{1}{1}{0}
\shiftglyph{macron}{1}{1}{0}
\shiftglyph{circumflex}{1}{1}{0}
\shiftglyph{dotaccent}{1}{1}{0}
\shiftglyph{tilde}{1}{1}{0}
\shiftglyph{dieresis}{1}{1}{0}
\shiftglyph{overbar}{1}{1}{0}
\shiftglyph{tie}{1}{1}{0}


\endmetrics