Changeset a2ed44a in git for Singular/LIB/latex.lib


Ignore:
Timestamp:
Sep 4, 2015, 12:54:13 PM (8 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
ab10dbaf1bf66c6665fbaa245abc9604e631999b
Parents:
cd38fbd954495900afc188a0e871f8586db00535
Message:
fix tr. #731 (Gorzel)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/latex.lib

    rcd38fbd ra2ed44a  
    11//////////////////////////////////////////////////////////////////////////////
    2 version="version latex.lib 4.0.0.0 Jun_2013 "; // $Id$
     2version="version latex.lib 4.0.2.0 Sep_2015 "; // $Id$
    33category="Visualization";
    44info="
     
    14711471     if (galT) { monomt,msz = parsg(cfmt);}
    14721472     b = find(cfmt,"/(");                     // look if fraction  // 31.5.07
     1473     if (b==0) { b = -find(cfmt,")/"); }  // 1.9.15
    14731474     b2 = find(cfmt,"/");
    14741475     // if (b) {b++;}                         // 31.5.07
     
    15581559  f;
    15591560  texpoly("",f);
    1560   texpoly("",1/(a2+2)*x+2/b);
     1561  texpoly("",1/(a2+2)*x2+2/b*x+(a+1)/3);
    15611562}
    15621563///////////////////////////////////////////////////////////////////////////////
     
    15711572  }
    15721573  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    }
    15751584    if (defined(TeXnofrac))
    15761585    { if(fl1) { nom = "(" + nom + ")"; sz1++;}
Note: See TracChangeset for help on using the changeset viewer.