OctaveStream & operator<<(OctaveStream &, char const *);
///
OctaveStream & operator<<(OctaveStream &, char);
+///
+OctaveStream & operator<<(OctaveStream &, int);
class WriteStream {
public:
///
- WriteStream(std::ostream & os, bool fragile);
+ WriteStream(std::ostream & os, bool fragile, bool latex);
///
explicit WriteStream(std::ostream & os_);
///
///
bool fragile() const { return fragile_; }
///
+ bool latex() const { return latex_; }
+ ///
std::ostream & os() { return os_; }
///
bool & firstitem() { return firstitem_; }
std::ostream & os_;
///
bool fragile_;
+ /// are we writing to .tex?
+ int latex_;
/// are we at the beginning of an MathArray?
bool firstitem_;
///