[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-10 Thread Hans Hagen via ntg-context
{\sfrac{1}{3}} \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\dfrac{1}{3}}: \m{\dfrac{1}{3}} \type{\cfrac{1}{3}}: \m{\cfrac{1}{3}} \type{\vfrac{1}{3}}: \m{\vfrac{1}{3}} \type{\hfrac{1}{3}}: \m{\hfrac{1}{3}} \stoplines \stoptext Or, for inline math, $\sqrt{1/3}$. radicals are somewhat special to deal

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Aditya Mahajan
}{3}} > \type{\frac{1}{3}}: \m{\frac{1}{3}} > \type{\dfrac{1}{3}}: \m{\dfrac{1}{3}} > \type{\cfrac{1}{3}}: \m{\cfrac{1}{3}} > \type{\vfrac{1}{3}}: \m{\vfrac{1}{3}} > \type{\hfrac{1}{3}}: \m{\hfrac{1}{3}} > \stoplines > > \stopt

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 09.12.2023 um 16:13: Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Fabrice Couvreur
Hi Wolfgang, I'm reading this thread and I'm interested because I type a lot of text with mathematical formulas. In fact, I find that \dfrac{} creates unsightly leading space and that \frac{} is too small. What is the difference between \frac{} and \tfrac{} ? Fabrice Le sam. 9 déc. 2023 à 14:00

[NTG-context] Re: Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Henning Hraban Ramm
{\sfrac{1}{3}} \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\dfrac{1}{3}}: \m{\dfrac{1}{3}} \type{\cfrac{1}{3}}: \m{\cfrac{1}{3}} \type{\vfrac{1}{3}}: \m{\vfrac{1}{3}} \type{\hfrac{1}{3}}: \m{\hfrac{1}{3}} \stoplines There’s also \vulgarfraction{1}{3} (but probably not suitable for your application

[NTG-context] Fractions (was \placefigure[location=here...] problem)

2023-12-09 Thread Wolfgang Schuster
}}: \m{\sfrac{1}{3}} \type{\frac{1}{3}}: \m{\frac{1}{3}} \type{\dfrac{1}{3}}: \m{\dfrac{1}{3}} \type{\cfrac{1}{3}}: \m{\cfrac{1}{3}} \type{\vfrac{1}{3}}: \m{\vfrac{1}{3}} \type{\hfrac{1}{3}}: \m{\hfrac{1}{3}} \stoplines \stoptext Wolfgang

[NTG-context] Re: Nested itemize

2023-08-22 Thread fv leung
It seems that displaystyle fractions insert extra vertical space before the main item. With textstyle fractions, the code works fine. \blank[back,overlay] can get rid of the gap above the first row, but not the space inserted by \dfrac. \defineitemgroup[alex] \setupitemgroup [alex] [each

[NTG-context] Re: Nested itemize

2023-08-22 Thread Alexandre Christe
{ward} \startitemize[n][style=\bf]  \startitem  \startalextable  \startitem $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$ \stopitem  \startitem $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$ \stopitem  \startitem $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$ \stopitem  \startitem $-\dfrac{1}{2}(x + 2)^2 + \dfrac{9

[NTG-context] Re: Nested itemize

2023-08-22 Thread Mikael Sundqvist
bf] > \item \godown[-\lineheight] \startitemize > [a,columns,two,packed,broad][stopper=),before={\blank[nowhite]}] > \item $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$ > \item $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$ > \item $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$ > \ite

[NTG-context] Re: Nested itemize

2023-08-21 Thread Alexandre Christe
[nowhite]}]     \item $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$     \item $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$     \item $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$     \item $-\dfrac{1}{2}(x + 2)^2 + \dfrac{9}{2}$   \stopitemize \stopitemize A. Christe Le 22 août 2023 à 04:08 +0200, fv leung

[NTG-context] Re: Nested itemize

2023-08-21 Thread fv leung
I'd do it this way: \starttext \startitemize[n][style=\bf] \item\vtop{% \startitemize[a,horizontal,four][stopper=\)] \startitem $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$ \stopitem \startitem $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$ \stopitem \startitem $7(x

[NTG-context] Re: Nested itemize

2023-08-21 Thread Alexandre Christe
[a,columns,four,packed,broad][stopper=),before={\blank[nowhite]}] \item $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$ \item $-3(x - \dfrac{1}{3})^2 + \dfrac{1}{3}$ \item $7(x + \dfrac{5}{14})^2 + \dfrac{199}{28}$ \item $-\dfrac{1}{2}(x + 2)^2 + \dfrac{9}{2}$ \stopitemize \stopitemize

Re: [NTG-context] Problems with itemize with several columns

2022-02-25 Thread Xavier B. via ntg-context
} \stopformula \stopitemize \stopexercici @fv leung said I have to replace frac for dfrac, but it mess up the following content in my book. Thanks all, On Thu, 24 Feb 2022 23:04:43 + Bruce Horrocks ha escrit: > > > > On 24 Feb 2022, at 22:10, Xavier B. via ntg-context

Re: [NTG-context] Problems with itemize with several columns

2022-02-24 Thread fv leung via ntg-context
Avoid using \startformula \stopformula in itemize. Use \dfrac to get display style fraction. \defineenumeration [exercici] [alternative=serried, before={\blank[medium]\testpage[1]}, text={Exercici}, stopper={.\space}, width=fit, headstyle=\ss, distance=0.25em, width=fit, headcolor

Re: [NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
de\plusone > > \protect > > \popcatcodetable > > \popoverloadmode} > > > > \starttikzinput > > \input t-pgf > > \stoptikzinput > > > > > > \usetypescriptfile[euler] > > \definetypeface[mainfont][rm][serif][pagella][defa

Re: [NTG-context] Typo in m-tikz

2021-12-13 Thread Hans Hagen via ntg-context
\stoptikzinput \usetypescriptfile[euler] \definetypeface[mainfont][rm][serif][pagella][default] \definetypeface[mainfont][mm][math] [pagellaovereuler][default] \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \starttext $\dfrac{1}{2

Re: [NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
tikzinput \usetypescriptfile[euler] \definetypeface[mainfont][rm][serif][pagella][default] \definetypeface[mainfont][mm][math] [pagellaovereuler][default] \definetypeface[mainfont][tt][mono] [dejavu][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \starttext $\dfrac{1}{2}$ \stoptext w

[NTG-context] Typo in m-tikz

2021-12-13 Thread Aditya Mahajan via ntg-context
] [dejavu][default] [rscale=0.8, features=none] \setupbodyfont[mainfont,11pt] \starttext $\dfrac{1}{2}$ \stoptext which gives: system > module wrapping error in 'tikz' close source> level 2, order 67, name '/opt/luametatex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' open

[NTG-context] Adjust the length of a frame

2021-07-27 Thread Fabrice Couvreur via ntg-context
d'or, noté \m{\phi}, est tel que \m{\phi=\dfrac{1+\sqrt{5}}{2}}. Montrer que \m{\phi} est irrationnel. \stopexercice \startsolution Nous raisonnons par l'absurde en supposant que \m{\phi} est rationnel. \stopsolution \stoptext

Re: [NTG-context] Adjust the length of a frame

2021-07-27 Thread Fabrice Couvreur via ntg-context
>[text=Exercice, > number=yes, > numbercommand=\groupedcommand{}{.}, > style=italic] > > \defineenumeration >[solution] >[text=Solution, > headcommand=\ACFRAME, > number=no, > numbercommand=\groupedcommand{}{}, > style=normal] > >

[NTG-context] Texte source 30 / 5000 Résultats de traduction Adjust the length of a frame

2021-07-26 Thread Fabrice Couvreur via ntg-context
=normal] \starttext \startexercice{Le nombre d'or est irrationnel} Le nombre d'or, noté \m{\phi}, est tel que \m{\phi=\dfrac{1+\sqrt{5}}{2}}. Montrer que \m{\phi} est irrationnel. \stopexercice \startsolution Nous raisonnons par l'absurde en supposant que \m{\phi} est rationnel. \stopsolution

Re: [NTG-context] Problem with \dfrac{}{} with lmtx updated

2020-12-24 Thread Hans Hagen
On 12/24/2020 4:37 PM, Fabrice Couvreur wrote: Hi, I just updated lmtx and I don't understand the error that occurs with the \dfrac{}{}. Thank you. Fabrice # \starttext \m{f(x)=\dfrac{a + b\ln(x)}{x}} \stoptext # tex error       > tex error on lin

[NTG-context] Problem with \dfrac{}{} with lmtx updated

2020-12-24 Thread Fabrice Couvreur
Hi, I just updated lmtx and I don't understand the error that occurs with the \dfrac{}{}. Thank you. Fabrice # \starttext \m{f(x)=\dfrac{a + b\ln(x)}{x}} \stoptext # tex error > tex error on line 2 in file ./hans_21.tex: Math error: parame

Re: [NTG-context] Fwd: Continued fractions in ConTeXt

2020-06-29 Thread Jairo A. del Rio
ntinued > fractions:| > > || > > > > |% > https://tex.stackexchange.com/questions/73195/how-to-typeset-a-continued-fraction-in-the-following-format > > > \documentclass{article}\usepackage{amsmath}\begin{document}\newcommand*{\cofrac}[2]{%{%\rlap{$\dfrac{1}{\p

Re: [NTG-context] Fwd: Continued fractions in ConTeXt

2020-06-29 Thread Hans Hagen
}\newcommand*{\cofrac}[2]{%{%\rlap{$\dfrac{1}{\phantom{#1}}$}%\genfrac{}{}{0pt}{0}{}{#1+#2}%}%}\[a_0 + \cofrac{a_1}{\cofrac{a_2}{\cofrac{a_3}{\genfrac{}{}{0pt}{0}{}{\ddots\]\end{document} | |As I could read from the mailing list, ConTeXt no longer supports \genfrac, so I've tried

[NTG-context] Fwd: Continued fractions in ConTeXt

2020-06-28 Thread Jairo A. del Rio
Hi list! I've tried adapting the following code for continued fractions: %https://tex.stackexchange.com/questions/73195/how-to-typeset-a-continued-fraction-in-the-following-format \documentclass{article}\usepackage{amsmath} \begin{document}\newcommand*{\cofrac}[2]{% {% \rlap{$\dfrac{1

[NTG-context] page break

2020-02-09 Thread Fabrice Couvreur
{\bi Affirmation 4 :} La valeur exacte de la somme des 12 premiers termes de la suite géométrique \m{\left(u_n\right)} de premier terme \m{4} et de raison \m{\dfrac{1}{3}} est : \startformula 6\left(1-\left(\frac{1}{3}\right)^{13}\right) \stopformula

Re: [NTG-context] Fwd: Re: The binomial coefficients do not look optimal

2017-09-05 Thread Mikael P. Sundqvist
tps://bitbucket.org/phg/context-mirror/commits/> >> wiki : http://contextgarden.net >> >> ___ >> >> >> Thank you very much, I'm looking forward to the next be

[NTG-context] Fwd: Re: The binomial coefficients do not look optimal

2017-09-02 Thread Hans Hagen
sed about the different versions. I would have guessed that there was \tbinom and \dbinom and that \binom used one of them depending on if one is in text mode or in display mode (just as I would expect \frac to behave like \tfrac in text mode and \dfrac in display mode). But \tbinom looks very differe

Re: [NTG-context] The binomial coefficients do not look optimal

2017-09-02 Thread Mikael P. Sundqvist
orward to the next beta, and I will try to wikify it when I have tried it out. Also lucida looks better than latin modern does at the moment. I am a bit confused about the different versions. I would have guessed that there was \tbinom and \dbinom and that \binom used one of them depending on i

[NTG-context] Strange behavior with enumeration

2017-08-17 Thread Fabrice Couvreur
{\dfrac{15}{100}\times 12\,000.} \item \math{1\,500.} \item \math{1\,800.} \stopitemize \stopitemize \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Bug with Enumeration and \dfrac{}{} with Standalone ?

2017-05-14 Thread Fabrice Couvreur
Hello, I am posting again on the same subject but with more precision. I use Standalone Context in its latest version. We can observe that the alignment is not correct with \dfrac{}{} but it is with {}\ over{}. But if I use Texlive 2016 there are no problems. Thank you Fabrice

Re: [NTG-context] Strange behavior with Enumerations

2017-05-10 Thread Fabrice Couvreur
correct, why ? > > ## > \starttext > > \startitemize[n][stopper={.},style=bold,color=darkred] > >\item Soit \math{f} la fonction définie pour tout réel \m{x} différent > de \m{-1} par \math{f(x)=\dfrac{x+2}{x+1}} et \math{\cal C} sa courbe >

[NTG-context] Strange behavior with Enumerations

2017-05-08 Thread Fabrice Couvreur
Hello, The alignment of the third level is incorrect, why ? ## \starttext \startitemize[n][stopper={.},style=bold,color=darkred] \item Soit \math{f} la fonction définie pour tout réel \m{x} différent de \m{-1} par \math{f(x)=\dfrac{x+2

[NTG-context] Math fractions

2016-02-28 Thread Aditya Mahajan
Something is wrong in the current implmentation of \tfrac. If we take away all the bells and whistles provided by \definemathfraction, * \tfrac#1#2 should be equal to {\textstyle #2 \over #1} * \dfrac#1#2 should be equal to {\displaystyle #2 \over #1} * \frac should be equal to \tfrac

Re: [NTG-context] Alignment on the baseline in a itemize environment with \dfrac{}{}

2015-03-23 Thread Fabrice
Hi Wolfgang, Thank you for these three solutions. One thing I'm missing is the role of grid I did not know. Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Alignment on the baseline in a itemize environment with \dfrac{}{}

2015-03-22 Thread Wolfgang Schuster
Am 22.03.2015 um 13:10 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com: The alignment of the second item on the baseline is not correct if I use the command \dfrac{}{}. How to solve this problem without using the command \framed ? Best regards, Fabrice \starttext \startitemize

[NTG-context] Alignment on the baseline in a itemize environment with \dfrac{}{}

2015-03-22 Thread Fabrice Couvreur
The alignment of the second item on the baseline is not correct if I use the command \dfrac{}{}. How to solve this problem without using the command \framed ? Best regards, Fabrice \starttext \startitemize[columns,A,joinedup,three][stopper={)},style=bold] \item $f^{\prime}(x) = \dfrac{- 1}{(x

Re: [NTG-context] numerator is too high in \frac{3}{4}, in palatino

2014-05-17 Thread Sanjoy Mahajan
. However, the settings don't seem to affect fractions inside square roots. Here's an example (the 20pt setting is to exaggerate the possible effect), using 2014.05.17 beta. \starttext \placeformula\startformula \dfrac{ag}{bcd}\quad{ag\over bcd} \stopformula \placeformula\startformula \sqrt{1\over

[NTG-context] Table next to a text in an environment of type list

2014-03-29 Thread Fabrice Couvreur
probabilité que ce soit une femme ? {\it On note \math{P_{C}(F)} cette probabilité.} \item Calculer \math{\dfrac{P(F \cap C)}{P(C)}}. Que constate-t-on ? \stopitemize \item \startitemize[a][stopper=),style=bold] \item On choisit une femme parmi les personnes de l'entreprise. Quelle est la probabilité

Re: [NTG-context] Math typesetting problems

2013-04-06 Thread Hans Hagen
On 1/29/2013 12:20 AM, Khaled Hosny wrote: On Mon, Jan 28, 2013 at 09:33:52PM +0100, Wolfgang Schuster wrote: The \frac command uses \vcenter for the content while \dfrac and \tfrac only set the mathstyle before placing the content with the \over primitive. The use of \vcenter seems odd here

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Janne Junnila
Indeed it seems like the alignment is good with \dfrac, but this does not solve my problem, since I wish to also use fractions with script-size or scriptscript-size (\xfrac, \xxfrac). The specific formula I have is \startformula f_{B_t | B_s = S, B_u = U}(x) = \frac{e^{-\frac{(u-s)x^2 - 2x(S(u-t

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Roland Thiers
Le 28 janv. 13 à 10:11, Janne Junnila a écrit : Indeed it seems like the alignment is good with \dfrac, but this does not solve my problem, since I wish to also use fractions with script-size or scriptscript-size (\xfrac, \xxfrac). The specific formula I have is \startformula f_{B_t | B_s = S

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Aditya Mahajan
On Mon, 28 Jan 2013, Roland Thiers wrote: Le 28 janv. 13 à 10:11, Janne Junnila a écrit : Indeed it seems like the alignment is good with \dfrac, but this does not solve my problem, since I wish to also use fractions with script-size or scriptscript-size (\xfrac, \xxfrac). The specific

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Wolfgang Schuster
Am 28.01.2013 um 20:41 schrieb Aditya Mahajan adit...@umich.edu: On Mon, 28 Jan 2013, Roland Thiers wrote: Le 28 janv. 13 à 10:11, Janne Junnila a écrit : Indeed it seems like the alignment is good with \dfrac, but this does not solve my problem, since I wish to also use fractions

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Aditya Mahajan
On Mon, 28 Jan 2013, Wolfgang Schuster wrote: I'll look into fractions later this week. All the fraction macros of ConTeXt were based on \genfrac macro from AMSTeX so, in principle, they should behave in the same manner. The \frac command uses \vcenter for the content while \dfrac

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Otared Kavian
with \dfrac, but this does not solve my problem, since I wish to also use fractions with script-size or scriptscript-size (\xfrac, \xxfrac). The specific formula I have is \startformula f_{B_t | B_s = S, B_u = U}(x) = \frac{e^{-\frac{(u-s)x^2 - 2x(S(u-t) + U(t-s)) + \frac{(S(u-t) + U(t-s

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Wolfgang Schuster
. The \frac command uses \vcenter for the content while \dfrac and \tfrac only set the mathstyle before placing the content with the \over primitive. Then something has been lost in the MkII - MkIV transition. I am pretty sure (cannot check right now), that the code in MkII used \genfrac

Re: [NTG-context] Math typesetting problems

2013-01-28 Thread Khaled Hosny
On Mon, Jan 28, 2013 at 09:33:52PM +0100, Wolfgang Schuster wrote: The \frac command uses \vcenter for the content while \dfrac and \tfrac only set the mathstyle before placing the content with the \over primitive. The use of \vcenter seems odd here as it means the fraction rule

Re: [NTG-context] Math typesetting problems

2013-01-27 Thread Roland Thiers
to illustrate my point. The result seems to be independent of the font in use. \startformula -\frac{e^{\frac{4}{5}}}{4} \stopformula Janne Hi Janne, With \dfrac it looks good. With \fraction the minus sign is on the top of the fraction. Best regards, Roland

Re: [NTG-context] Context and metapost: using \frac

2011-04-26 Thread Andreas Harder
] \startMPpage[offset=1ex] u := cm ; label.top(textext($ \frac{\sigma_t}{a}$) scaled 2, origin); label.top(textext($ \frac{\sigma_t}{a}$), (u,u)); label.top(textext($\dfrac{\sigma_t}{a}$) scaled .5, (u,0)); \stopMPpage Greeting Andreas

Re: [NTG-context] Context and metapost: using \frac

2011-04-26 Thread Matthieu Stigler
] \startMPpage[offset=1ex] u := cm ; label.top(textext($ \frac{\sigma_t}{a}$) scaled 2, origin); label.top(textext($ \frac{\sigma_t}{a}$), (u,u)); label.top(textext($\dfrac{\sigma_t}{a}$) scaled .5, (u,0)); \stopMPpage Andreas Thanks for answer! Is this code you wrote supposed

[NTG-context] Frac (was \everymath problem)

2009-08-20 Thread Aditya Mahajan
of incoprorating a nath like frac in ConTeXt. So, we can have \definemathfraction[frac][style=...] where style can take values default: the current frac implementation auto:the nath like implementation displaystyle: the current dfrac implementation textstyle: the current tfrac implementation

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
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

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread Aditya Mahajan
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

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
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

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread David Arnold
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

Re: [NTG-context] Extend the fraction bar

2006-07-04 Thread Aditya Mahajan
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

Re: [NTG-context] Extend the fraction bar

2006-07-02 Thread Taco Hoekwater
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

Re: [NTG-context] Extend the fraction bar

2006-07-02 Thread Mojca Miklavec
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

[NTG-context] Extend the fraction bar

2006-07-01 Thread David Arnold
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 ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Bug report, \frac as redefined in m-newmat.tex

2004-08-03 Thread Brooks Moses
\mathematics#1{\relax\ifmmode#1\else$#1$\fi} [...] That fixes the problem on my end; thanks! Will you be updating the defintions of \tfrac, \dfrac, and so forth in m-newmat to match? I admit to not being too sure whether I think it's a good idea to support using math constructs such as \frac outside

Re: [NTG-context] Bug report, \frac as redefined in m-newmat.tex

2004-08-03 Thread Hans Hagen Outside
}{#2}}} \def\mathematics#1{\relax\ifmmode#1\else$#1$\fi} [...] That fixes the problem on my end; thanks! Will you be updating the defintions of \tfrac, \dfrac, and so forth in m-newmat to match? I admit to not being too sure whether I think it's a good idea to support using math constructs

Re: [NTG-context] Bug report, \frac as redefined in m-newmat.tex

2004-08-03 Thread Brooks Moses
On Wed, Aug 04, 2004 at 12:14:29AM +0200, Hans Hagen Outside wrote: Brooks Moses wrote: That fixes the problem on my end; thanks! Will you be updating the defintions of \tfrac, \dfrac, and so forth in m-newmat to match? I admit to not being too sure whether I think it's a good idea

Re: [NTG-context] amsl: startcases/stopcases

2004-05-25 Thread Giuseppe Bilotta
? Changing it to \dfrac makes the input compile ok, but typesets the cases in an ugly manner with really narrow spacing. (Yes.) Is there some way of telling startcases/stopcases to behave in display mode? Yup, I just changed a couple of things and now we have a \startbigcases ... \stopbigcases

[NTG-context] amsl: startcases/stopcases

2004-05-20 Thread David Munger
Hello Giuseppe, I'm having a little trouble with the cases in amsl. Compiling this: \[ f(x) = \startcases 0 \text{if $x -\epsilon$} \\ \frac12 \text{if $x \epsilon$} \stopcases \] results in an error around the \frac. Changing it to \dfrac makes the input compile ok