🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #10759

Super/subscripts -- what formula does TeX use to position?

#10759
From: Dan Kelley
Date: Mon, 25 Jan 1993 21:48
20 lines
1397 bytes
I need to know the formula used by TeX to position superscripts and subscripts,
so that I can make my graphing program produce the same spacing.  Let's assume
that I have a single text line, and that no superscripts lie over subscripts, so
that no repositioning will be required to avoid crowding.  Then the questions I
have are: 

1) what distances are the baselines moved to (and in what units?  em-space,
   x-height, ...?).  
2) what change in font size is done?

Email replies would be appreciated; I doubt whether others on the net need to
know this.

PS: Sorry to bug you folks, but I've tried reading the tex.web source, and cannot
figure it out.

-- 
Dan Kelley, Oceanography Department   |  kelley@open.dal.ca
Dalhousie University                  |  {uunet watmath}!dalcs!kelley
Halifax, Nova Scotia, CANADA, B3H 4J1 |  (902) 494-1694
Technical Details
Message-ID: <C1FJ9C.3Jp@cs.dal.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!olivea!charnel!sifon!newsflash.concordia.ca!nstn.ns.ca!cs.dal.ca!kelley

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!spool.mu.edu!olivea!charnel!sifon!newsflash.concordia.ca!nstn.ns.ca!cs.dal.ca!kelley
From: kelley@cs.dal.ca (Dan Kelley)
Newsgroups: comp.text.tex
Subject: Super/subscripts -- what formula does TeX use to position?
Keywords: positioning
Message-ID: <C1FJ9C.3Jp@cs.dal.ca>
Date: 25 Jan 93 21:48:47 GMT
Sender: usenet@cs.dal.ca (USENET News)
Distribution: na
Organization: OPEN, Dalhousie University, Halifax, NS, Canada
Lines: 20
Nntp-Posting-Host: open.dal.ca