MathType 5 SDK
Extracting Baseline Info from an EPS File
Last Update: October 12, 1995
Products: MathType (all platforms)
MathType (version 2.0 and later)
inserts a comment describing the distance in points from the bottom of the frame
rectangle to the baseline of the equation. For example:
This information can be made use
of by page layout programs to ensure proper alignment of the equation baseline
with that of a text line in which it is pasted.
This information is available as a
“Baseline” comment in the header of the EPS files produced by MathType. The
following is the header of a typical EPS file:
%!PS-Adobe-2.0
EPSF-1.2
%%BoundingBox: 0 0 7 14
%%Creator: MathType
%%Title: test.eps
%%CreationDate: 2/12/90
%%DocumentFonts: Belmont
%%Baseline: 4
%%Dimensions: H=0.194in, W=0.097in
%%EndComments
...
See the Design Science SDK document Setting PICT Baselines (Macintosh)
for information on baseline positioning for PICT equations produced by
MathType/Equation Editor for the Macintosh. See
Setting
WMF Baselines (Windows) for baseline positioning in Windows Metafiles (WMF)
equations produced by MathType/Equation Editor for Windows.
See also:
Extracting Baseline Info from PICT Data (Macintosh)
Extracting Baseline Info from WMF (MS Windows)
Extracting Baseline Info from GIF Image Files
Copyright ©2000-2002 by Design Science, Inc. All rights reserved.
|