> Question. Is this genfrac identical to the one in ams definitions? AFAIK, yes. The syntax of genfrac is
\genfrac{left-delim}{right-delim}{bar-thickness}{mathstyle}{numberator}{denominator} in both context and ams. One difference is that in amsmath, for mathstyle you can use integer vales 0-3 as a shortcut for \displaystyle, textstyle, scriptstyle and scriptscriptscript style. Context does not follow this, which I think is a good thing. Aditya > On Jul 4, 2006, at 9:08 PM, Aditya Mahajan wrote: > >> On Tue, 4 Jul 2006, David Arnold wrote: >> >>> Taco, Mojca, >>> >>> Thanks for the response on lengthening the main fraction bar? Any way >>> to make the main fraction bar wider? >>> >>> There is a genfrac command in amslatex. Anything similar in Context? >> >> m-newmat.tex defines genfrac. >> >> \usemodule[newmat] >> >> \def\bigfrac{\genfrac{}{}{2pt}\displaystyle} >> >> \starttext >> >> \startformula >> \bigfrac{100}{200} \text{ vs } \frac{100}{200} >> \stopformula >> >> \stoptext >> >> >> Adjust 2pt to something that suits you. >> >> Aditya >> >> >> >> >> >>> On Jul 2, 2006, at 4:00 AM, Taco Hoekwater wrote: >>> >>>> David Arnold wrote: >>>>> All, >>>>> >>>>> How can I extend the main fraction bar in the following expression, >>>>> making it a tad longer? >>>> >>>> Just add a bit of whitespace to the right and left: >>>> >>>> \dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,} >>>> {\,\dfrac{4x^3-9x}{2x^2+5x-12}\,} >>>> >>>> You may want to add a \vphantom command as well to separate the >>>> fractions from the main bar a bit more. >>>> >>>> >>>> \dfrac{\,\dfrac{9+3x-2x^2}{x^2-16}\,}{\,\dfrac{4x^3-9x}{2x^2 >>>> +5x-12}\,}. >>>>> \placeformula >>>>> \startformula >>>>> \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}. >>>>> \stopformula >>>> _______________________________________________ >>>> ntg-context mailing list >>>> ntg-context@ntg.nl >>>> http://www.ntg.nl/mailman/listinfo/ntg-context >>> >>> _______________________________________________ >>> ntg-context mailing list >>> ntg-context@ntg.nl >>> http://www.ntg.nl/mailman/listinfo/ntg-context >>> >>> >>> >> >> -- >> Aditya Mahajan, EECS Systems, University of Michigan >> http://www.eecs.umich.edu/~adityam || Ph: 7342624008 >> _______________________________________________ >> ntg-context mailing list >> ntg-context@ntg.nl >> http://www.ntg.nl/mailman/listinfo/ntg-context > > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > > -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context