Changeset a2ed44a in git for Singular/LIB/latex.lib
- Timestamp:
- Sep 4, 2015, 12:54:13 PM (8 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- ab10dbaf1bf66c6665fbaa245abc9604e631999b
- Parents:
- cd38fbd954495900afc188a0e871f8586db00535
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/LIB/latex.lib
rcd38fbd ra2ed44a 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.