Annotation of researchv9/cmd/eqn/eqnbox.c, revision 1.1

1.1     ! root        1: # include "e.h"
        !             2: 
        !             3: eqnbox(p1, p2, lu)
        !             4: {
        !             5:        float b, h;
        !             6:        char *sh;
        !             7:        extern char *IRspace;
        !             8: 
        !             9:        yyval = p1;
        !            10:        b = max(ebase[p1], ebase[p2]);
        !            11:        eht[yyval] = h = b + max(eht[p1]-ebase[p1], 
        !            12:                eht[p2]-ebase[p2]);
        !            13:        ebase[yyval] = b;
        !            14:        dprintf(".\tS%d <- %d %d; b=%g, h=%g\n", yyval, p1, p2, b, h);
        !            15:        if (rfont[p1] == ITAL && lfont[p2] == ROM)
        !            16:                sh = IRspace;   /* \^, was \| */
        !            17:        else
        !            18:                sh = "";
        !            19:        if (lu) {
        !            20:                printf(".nr %d \\w'\\*(%d%s'\n", p1, p1, sh);
        !            21:                printf(".ds %d \\h'|\\n(09u-\\n(%du'\\*(%d\n", p1, p1, p1);
        !            22:        }
        !            23:        printf(".as %d \"%s\\*(%d\n", yyval, sh, p2);
        !            24:        rfont[p1] = rfont[p2];
        !            25:        sfree(p2);
        !            26: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.