private FractionAtom(Atom numerator, Atom denominator, bool useDefaultThickness, TexUnit unit, double thickness) { SpaceAtom.CheckUnit(unit); Type = TexAtomType.Inner; Numerator = numerator; Denominator = denominator; numeratorAlignment = TexAlignment.Center; denominatorAlignment = TexAlignment.Center; this.useDefaultThickness = useDefaultThickness; lineThicknessUnit = unit; lineThickness = thickness; }
protected FractionAtom( Atom numerator, Atom denominator, bool useDefaultThickness, TexUnit unit, double thickness) : base(TexAtomType.Inner) { SpaceAtom.CheckUnit(unit); this.Numerator = numerator; this.Denominator = denominator; this.numeratorAlignment = TexAlignment.Center; this.denominatorAlignment = TexAlignment.Center; this.useDefaultThickness = useDefaultThickness; this.lineThicknessUnit = unit; this.lineThickness = thickness; }