All, How can I extend the main fraction bar in the following expression, making it a tad longer? \placeformula \startformula \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}. \stopformula
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
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? 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
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
Aditya, Thanks. You are very helpful. 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
Question. Is this genfrac identical to the one in ams definitions? 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
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
On 7/2/06, David Arnold wrote:
All,
How can I extend the main fraction bar in the following expression, making it a tad longer?
\placeformula \startformula \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\dfrac{4x^3-9x}{2x^2+5x-12}}. \stopformula
I don't know what \dfrac should be (I assumed \let\dfrac=\frac) The most easy solutions is probably to put a \ or \, before and after the content (if I understood your question correctly). \dfrac{\dfrac{9+3x-2x^2}{x^2-16}}{\ \dfrac{4x^3-9x}{2x^2+5x-12}\ }. If you use that a lot, something like \def\mainfrac#1#2{\frac{\ #1\ }{\ #2\ }} might be helpful. Mojca
participants (4)
-
Aditya Mahajan
-
David Arnold
-
Mojca Miklavec
-
Taco Hoekwater