Rev 820 | Rev 6872 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 820 | Rev 6770 | ||
---|---|---|---|
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 | o << *c.membregauche() << "\\,\\\\rightarrow\\," << *c.membredroit(); |
|
- | 883 | } else { |
|
881 | o << *c.membregauche() << "\\,\\rightarrow\\," << *c.membredroit(); |
884 | o << *c.membregauche() << "\\,\\rightarrow\\," << *c.membredroit(); |
- | 885 | } |
|
882 | if (c.valeur() > MINVAL) { |
886 | if (c.valeur() > MINVAL) { |
883 | o << "\\,("; |
887 | o << "\\,("; |
884 | if (c.constante()!=std::string("")) o << c.constante() << "\\,=\\,"; |
888 | if (c.constante()!=std::string("")) o << c.constante() << "\\,=\\,"; |
885 | o << c.valeur_latex(); |
889 | o << c.valeur_latex(); |
886 | if (c.redox()) o << " V"; |
890 | if (c.redox()) o << " V"; |