#include "varray.hh"
#include "debug.hh"
-
-
void
Atom::print() const
{
+#ifndef NPRINT
mtor << "texstring: " <<sym_.tex<<"\n";
+#endif
}
Box
Atom::TeX_string() const
{
/* infinity checks. */
- assert( abs(off_.x) < 100 CM);
- assert( abs(off_.y) < 100 CM);
+ assert( abs(off_.x()) < 100 CM);
+ assert( abs(off_.y()) < 100 CM);
// whugh.. Hard coded...
String s("\\placebox{%}{%}{%}");
Array<String> a;
- a.push(print_dimen(off_.y));
- a.push(print_dimen(off_.x));
+ a.push(print_dimen(off_.y()));
+ a.push(print_dimen(off_.x()));
a.push(sym_.tex);
return substitute_args(s, a);
}