Changeset b430ca in git for Singular/LIB/latex.lib
- Timestamp:
- Sep 9, 2015, 8:07:04 PM (8 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- d8946a4d5d5abc81d1b71aeddf7fedbadca56fb7
- Parents:
- b075f54919258c76495ed117b0f095df1f2ef63536b81ac0b97d2f019093a024dc770731cfabfe17
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/latex.lib
r36b81ac rb430ca 1 1 ////////////////////////////////////////////////////////////////////////////// 2 version="version latex.lib 4.0. 0.0 Jun_2013"; // $Id$2 version="version latex.lib 4.0.2.0 Sep_2015 "; // $Id$ 3 3 category="Visualization"; 4 4 info=" … … 1471 1471 if (galT) { monomt,msz = parsg(cfmt);} 1472 1472 b = find(cfmt,"/("); // look if fraction // 31.5.07 1473 if (b==0) { b = -find(cfmt,")/"); } // 1.9.15 1473 1474 b2 = find(cfmt,"/"); 1474 1475 // if (b) {b++;} // 31.5.07 … … 1558 1559 f; 1559 1560 texpoly("",f); 1560 texpoly("",1/(a2+2)*x +2/b);1561 texpoly("",1/(a2+2)*x2+2/b*x+(a+1)/3); 1561 1562 } 1562 1563 /////////////////////////////////////////////////////////////////////////////// … … 1571 1572 } 1572 1573 else 1573 { nom,fl1 = parst(cfmt[1,b-1],1); 1574 denom,fl2 = parst(cfmt[b+1,size(cfmt)-b],1); 1574 { 1575 if (b>0) { 1576 nom,fl1 = parst(cfmt[1,b-1],1); 1577 denom,fl2 = parst(cfmt[b+1,size(cfmt)-b],1); 1578 } 1579 else { 1580 b = -b; 1581 nom,fl1 = parst(cfmt[1,b],1); 1582 denom,fl2 = parst(cfmt[b+2,size(cfmt)-b-1],1); 1583 } 1575 1584 if (defined(TeXnofrac)) 1576 1585 { if(fl1) { nom = "(" + nom + ")"; sz1++;}
Note: See TracChangeset
for help on using the changeset viewer.