public AlgoColumnName(Construction cons, String label, GeoElement geo) { super(cons); this.geo = geo; text = new GeoText(cons); text.setIsTextCommand(true); // stop editing as text setInputOutput(); // for AlgoElement // compute value of dependent number compute(); text.setLabel(label); }
public AlgoLaTeX(Construction cons, String label, GeoElement geo) { super(cons); this.geo = geo; this.substituteVars = null; this.showName = null; text = new GeoText(cons); text.setIsTextCommand(true); // stop editing as text setInputOutput(); // for AlgoElement // compute value of dependent number compute(); text.setLabel(label); // set sans-serif LaTeX default text.setSerifFont(false); }
public AlgoLaTeX( Construction cons, String label, GeoElement geo, GeoBoolean substituteVars, GeoBoolean showName) { super(cons); this.geo = geo; this.substituteVars = substituteVars; this.showName = showName; text = new GeoText(cons); setInputOutput(); // for AlgoElement // compute value of dependent number compute(); text.setLabel(label); // set sans-serif LaTeX default text.setSerifFont(false); }