* Extend the fraction bar
@ 2006-07-02 2:26 David Arnold
2006-07-02 11:00 ` Taco Hoekwater
2006-07-02 11:15 ` Mojca Miklavec
0 siblings, 2 replies; 8+ messages in thread
From: David Arnold @ 2006-07-02 2:26 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Extend the fraction bar
2006-07-02 2:26 Extend the fraction bar David Arnold
@ 2006-07-02 11:00 ` Taco Hoekwater
2006-07-05 0:16 ` David Arnold
2006-07-02 11:15 ` Mojca Miklavec
1 sibling, 1 reply; 8+ messages in thread
From: Taco Hoekwater @ 2006-07-02 11:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Extend the fraction bar
2006-07-02 2:26 Extend the fraction bar David Arnold
2006-07-02 11:00 ` Taco Hoekwater
@ 2006-07-02 11:15 ` Mojca Miklavec
1 sibling, 0 replies; 8+ messages in thread
From: Mojca Miklavec @ 2006-07-02 11:15 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Extend the fraction bar
2006-07-02 11:00 ` Taco Hoekwater
@ 2006-07-05 0:16 ` David Arnold
2006-07-05 4:08 ` Aditya Mahajan
0 siblings, 1 reply; 8+ messages in thread
From: David Arnold @ 2006-07-05 0:16 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Extend the fraction bar
2006-07-05 0:16 ` David Arnold
@ 2006-07-05 4:08 ` Aditya Mahajan
2006-07-05 4:14 ` David Arnold
2006-07-05 4:15 ` David Arnold
0 siblings, 2 replies; 8+ messages in thread
From: Aditya Mahajan @ 2006-07-05 4:08 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Extend the fraction bar
2006-07-05 4:08 ` Aditya Mahajan
@ 2006-07-05 4:14 ` David Arnold
2006-07-05 4:15 ` David Arnold
1 sibling, 0 replies; 8+ messages in thread
From: David Arnold @ 2006-07-05 4:14 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Extend the fraction bar
2006-07-05 4:08 ` Aditya Mahajan
2006-07-05 4:14 ` David Arnold
@ 2006-07-05 4:15 ` David Arnold
2006-07-05 4:22 ` Aditya Mahajan
1 sibling, 1 reply; 8+ messages in thread
From: David Arnold @ 2006-07-05 4:15 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Extend the fraction bar
2006-07-05 4:15 ` David Arnold
@ 2006-07-05 4:22 ` Aditya Mahajan
0 siblings, 0 replies; 8+ messages in thread
From: Aditya Mahajan @ 2006-07-05 4:22 UTC (permalink / raw)
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-07-05 4:22 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-02 2:26 Extend the fraction bar David Arnold
2006-07-02 11:00 ` Taco Hoekwater
2006-07-05 0:16 ` David Arnold
2006-07-05 4:08 ` Aditya Mahajan
2006-07-05 4:14 ` David Arnold
2006-07-05 4:15 ` David Arnold
2006-07-05 4:22 ` Aditya Mahajan
2006-07-02 11:15 ` Mojca Miklavec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).