Re: fractions in display style
pol wrote: Paul A. Rubin wrote: What document class? I just tried the article class, and fractions in display mode appeared (in the DVI) in display style. In fact, I tried \[\frac{a}{b}=\dfrac{a}{b}={\displaystyle \frac{a}{b}}\] (using LyX math insets, not ERT) and got a formula with three identical fractions. Article class, but lyx 1.4.5 I don't have 1.4.5, but I repeated the above experiment in 1.4.4, and again I got no differences. LyX file and DVI are attached. \[ is marked as 'bad math environment delimiter' in 1.4 so i cannot check your test I didn't mean that you should insert \[ and \]. What I listed above is the LaTeX produced by LyX. I used Insert->Math->Display formula, which provided the \[ and \] delimiters. Within the math inset, I typed \frac, \dfrac and \displaystyle \frac respectively, filling in the arguments. /Paul newfile1.dvi Description: Binary data newfile1.lyx Description: application/lyx
Re: fractions in display style - math.bind
Brian Kidd wrote: > the \dfrac command will give you a fraction in display style without > having to explicitly type \displaystyle. if you want fewer > keystrokes, then an alternative to setting the default fraction to be > in display style would be to create a custom bind for dfrac. > Thank you, i am following your suggestions, but found an issue. Although personal.bind contains \bind_file math.bind in its last lines, file math.bind is not read by lyx. Any ideas? thank you -- Pol
Re: fractions in display style
Paul A. Rubin wrote: > What document class? I just tried the article class, and fractions in > display mode appeared (in the DVI) in display style. In fact, I tried > > \[\frac{a}{b}=\dfrac{a}{b}={\displaystyle \frac{a}{b}}\] > > (using LyX math insets, not ERT) and got a formula with three identical > fractions. > Article class, but lyx 1.4.5 \[ is marked as 'bad math environment delimiter' in 1.4 so i cannot check your test -- Pol
Re: fractions in display style
pol wrote: Fractions in equations in display mode are not in display style. The explicit command \displaystyle before the fraction has to be entered, to render the display style. Can you confirm that? How to set the fraction display style s default, when the math expression is in display mode? thank you -- POl What document class? I just tried the article class, and fractions in display mode appeared (in the DVI) in display style. In fact, I tried \[\frac{a}{b}=\dfrac{a}{b}={\displaystyle \frac{a}{b}}\] (using LyX math insets, not ERT) and got a formula with three identical fractions. (LyX 1.5.1, Win XP, article class) /Paul
Re: fractions in display style
the \dfrac command will give you a fraction in display style without having to explicitly type \displaystyle. if you want fewer keystrokes, then an alternative to setting the default fraction to be in display style would be to create a custom bind for dfrac. hope that helps, -brian On Sep 19, 2007, at 12:19 PM, pol wrote: Fractions in equations in display mode are not in display style. The explicit command \displaystyle before the fraction has to be entered, to render the display style. Can you confirm that? How to set the fraction display style s default, when the math expression is in display mode? thank you -- POl
fractions in display style
Fractions in equations in display mode are not in display style. The explicit command \displaystyle before the fraction has to be entered, to render the display style. Can you confirm that? How to set the fraction display style s default, when the math expression is in display mode? thank you -- POl