The R Project SVN R

Rev

Rev 2122 | Rev 2124 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2122 Rev 2123
Line 204... Line 204...
204
 
204
 
205
 
205
 
206
/*
206
/*
207
 *  Mathematics Layout Parameters
207
 *  Mathematics Layout Parameters
208
 *
208
 *
209
 *  The TeXBook, Appendex G, Page 447.
209
 *  The TeXBook, Appendix G, Page 447.
210
 *
210
 *
211
 *  These values are based on an inspection of TeX metafont files
211
 *  These values are based on an inspection of TeX metafont files
212
 *  together with some visual simplification.
212
 *  together with some visual simplification.
213
 *
213
 *
214
 *  Note : The values are ``optimised'' for PostScript.
214
 *  Note : The values are ``optimised'' for PostScript.
Line 2859... Line 2859...
2859
	CurrentY = ReferenceY + bboxDepth(bbox)
2859
	CurrentY = ReferenceY + bboxDepth(bbox)
2860
	    - yc * (bboxHeight(bbox) + bboxDepth(bbox));
2860
	    - yc * (bboxHeight(bbox) + bboxDepth(bbox));
2861
    else
2861
    else
2862
	CurrentY = ReferenceY;
2862
	CurrentY = ReferenceY;
2863
    CurrentAngle = rot;
2863
    CurrentAngle = rot;
2864
    rot = rot / 90 * M_PI_half;/* radians */
2864
    rot *= M_PI_half / 90 ;/* radians */
2865
    CosAngle = cos(rot);
2865
    CosAngle = cos(rot);
2866
    SinAngle = sin(rot);
2866
    SinAngle = sin(rot);
2867
    RenderElement(expr, 1);
2867
    RenderElement(expr, 1);
2868
}
2868
}
2869
 
2869