Rev 6770 | Rev 7222 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6770 | Rev 6872 | ||
---|---|---|---|
Line 876... | Line 876... | ||
876 | } |
876 | } |
877 | return (std::string) s; |
877 | return (std::string) s; |
878 | } |
878 | } |
879 | 879 | ||
880 | std::ostream & operator << (std::ostream & o, const Chemeq & c){ |
880 | std::ostream & operator << (std::ostream & o, const Chemeq & c){ |
881 | if (c.fixRightArrow){ |
- | |
882 |
|
881 | o << *c.membregauche() << "\\,\\longrightarrow\\," << *c.membredroit(); |
883 | } else { |
- | |
884 | o << *c.membregauche() << "\\,\\rightarrow\\," << *c.membredroit(); |
- | |
885 | } |
- | |
886 | if (c.valeur() > MINVAL) { |
882 | if (c.valeur() > MINVAL) { |
887 | o << "\\,("; |
883 | o << "\\,("; |
888 | if (c.constante()!=std::string("")) o << c.constante() << "\\,=\\,"; |
884 | if (c.constante()!=std::string("")) o << c.constante() << "\\,=\\,"; |
889 | o << c.valeur_latex(); |
885 | o << c.valeur_latex(); |
890 | if (c.redox()) o << " V"; |
886 | if (c.redox()) o << " V"; |