summaryrefslogtreecommitdiff
path: root/dviware/ln03/rmcs/graphics.sty
blob: 8fe9618e5c2dcc46a475db025c3f694a8be104ac (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
%-----------------------------------------------------------------------------
% GRAPHICS.STY
% ~~~~~~~~~~~~
% The actual macros defined by this are called \largeVT, etc; the `240'
% is actually part of the ``parameter template''.  Dirty, but it works!!
%
%   \gr@phins{sixel_file}{height}{width}
%-----------------------------------------------------------------------------
\def\gr@phins#1#2#3{{\hbox to#3{\vbox to#2{\special{ln03:sixel #1}\vfil}\hfil}}}

\def\largeVT240#1{\gr@phins{#1}{3.2in}{5.33333in}}
\def\smallVT240#1{\gr@phins{#1}{1.6in}{2.66667in}}
\def\largeVis550#1{\gr@phins{#1}{3.90in}{5.12in}}
\def\smallVis550#1{\gr@phins{#1}{1.95in}{2.56in}}
\def\gino(#1,#2)#3{\gr@phins{#3}{#2\unitlength}{#1\unitlength}}

%
%-----------------------------------------------------------------------------
% \MatlabPlot{sixel_file}
%-----------------------------------------------------------------------------
\def\MatlabPlot#1{\gr@phins{#1}{3.00in}{5.00in}}

%
%-----------------------------------------------------------------------------
% \SixelPlot{sixel_file}{height}{width}
%-----------------------------------------------------------------------------
\def\SixelPlot#1#2#3{\gr@phins{#1}{#2}{#3}}