* setupindening and formulas
@ 2007-06-05 9:11 Stepan Roucka
2007-06-05 14:24 ` Aditya Mahajan
0 siblings, 1 reply; 7+ messages in thread
From: Stepan Roucka @ 2007-06-05 9:11 UTC (permalink / raw)
To: ntg-context
Hi,
I have read this post
http://www.ntg.nl/pipermail/ntg-context/2007/023752.html
so I wonder if it is possible to create document with indented
paragraphs and properly spaced formulas.
I tried to set \parindent but it has similar consequences
to setupindenting. It makes display formulas overlap.
Thanks in advance
Stepan Roucka
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: setupindening and formulas
2007-06-05 9:11 setupindening and formulas Stepan Roucka
@ 2007-06-05 14:24 ` Aditya Mahajan
2007-06-05 16:47 ` Stepan Roucka
2007-06-05 17:01 ` Stepan Roucka
0 siblings, 2 replies; 7+ messages in thread
From: Aditya Mahajan @ 2007-06-05 14:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, 5 Jun 2007, Stepan Roucka wrote:
> Hi,
> I have read this post
> http://www.ntg.nl/pipermail/ntg-context/2007/023752.html
> so I wonder if it is possible to create document with indented
> paragraphs and properly spaced formulas.
The problem only happens if you have two formulas after each other, in
which case using \startalign[n=1] can be used.
> I tried to set \parindent but it has similar consequences
> to setupindenting. It makes display formulas overlap.
I will try to look into this again.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: setupindening and formulas
2007-06-05 14:24 ` Aditya Mahajan
@ 2007-06-05 16:47 ` Stepan Roucka
2007-06-05 17:01 ` Stepan Roucka
1 sibling, 0 replies; 7+ messages in thread
From: Stepan Roucka @ 2007-06-05 16:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks,
with \startalign[n=1] the formulas don't overlap anymore, but they are still too
close. Here is test example:
\setupoutput[pdftex]
\enableregime[utf]
\setupindenting[yes,medium]
\starttext
\startformula\startalign[n=1]
2I_{\rm d} = I_{\rm e}^0
\left[\exp\left({-qU\over k_{\rm B}T_{\rm
e}}\right)-1\right]+I_{\rm i1}-I_{\rm i2}
\stopalign\stopformula
\placeformula[eq:debye]
\startformula\startalign[n=1]
\lambda_{\rm D} = \sqrt{\epsilon_0 k_{\rm B}T_{\rm
e}\over nq_{\rm e}^2}
\stopalign\stopformula
\stoptext
On 05/06/07, Aditya Mahajan <adityam@umich.edu> wrote:
> On Tue, 5 Jun 2007, Stepan Roucka wrote:
>
> > Hi,
> > I have read this post
> > http://www.ntg.nl/pipermail/ntg-context/2007/023752.html
> > so I wonder if it is possible to create document with indented
> > paragraphs and properly spaced formulas.
>
> The problem only happens if you have two formulas after each other, in
> which case using \startalign[n=1] can be used.
>
> > I tried to set \parindent but it has similar consequences
> > to setupindenting. It makes display formulas overlap.
>
> I will try to look into this again.
>
> Aditya
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: setupindening and formulas
2007-06-05 14:24 ` Aditya Mahajan
2007-06-05 16:47 ` Stepan Roucka
@ 2007-06-05 17:01 ` Stepan Roucka
2007-06-05 17:15 ` Aditya Mahajan
1 sibling, 1 reply; 7+ messages in thread
From: Stepan Roucka @ 2007-06-05 17:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Thanks,
with \startalign[n=1] the formulas don't overlap anymore, but they are still too
close. Here is test example:
\setupoutput[pdftex]
\enableregime[utf]
\setupindenting[yes,medium]
\starttext
\startformula\startalign[n=1]
2I_{\rm d} = I_{\rm e}^0
\left[\exp\left({-qU\over k_{\rm B}T_{\rm
e}}\right)-1\right]+I_{\rm i1}-I_{\rm i2}
\stopalign\stopformula
\placeformula[eq:debye]
\startformula\startalign[n=1]
\lambda_{\rm D} = \sqrt{\epsilon_0 k_{\rm B}T_{\rm
e}\over nq_{\rm e}^2}
\stopalign\stopformula
\stoptext
On 05/06/07, Aditya Mahajan <adityam@umich.edu> wrote:
> On Tue, 5 Jun 2007, Stepan Roucka wrote:
>
> > Hi,
> > I have read this post
> > http://www.ntg.nl/pipermail/ntg-context/2007/023752.html
> > so I wonder if it is possible to create document with indented
> > paragraphs and properly spaced formulas.
>
> The problem only happens if you have two formulas after each other, in
> which case using \startalign[n=1] can be used.
>
> > I tried to set \parindent but it has similar consequences
> > to setupindenting. It makes display formulas overlap.
>
> I will try to look into this again.
>
> Aditya
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: setupindening and formulas
2007-06-05 17:01 ` Stepan Roucka
@ 2007-06-05 17:15 ` Aditya Mahajan
2007-06-05 20:36 ` Stepan Roucka
2007-06-05 21:00 ` Stepan Roucka
0 siblings, 2 replies; 7+ messages in thread
From: Aditya Mahajan @ 2007-06-05 17:15 UTC (permalink / raw)
To: ntg-context
Quoting Stepan Roucka <tetaberta@seznam.cz>:
> Thanks,
> with \startalign[n=1] the formulas don't overlap anymore, but they
> are still too
> close. Here is test example:
>
> \setupoutput[pdftex]
> \enableregime[utf]
> \setupindenting[yes,medium]
>
> \starttext
>
> \startformula\startalign[n=1]
> 2I_{\rm d} = I_{\rm e}^0
> \left[\exp\left({-qU\over k_{\rm B}T_{\rm
> e}}\right)-1\right]+I_{\rm i1}-I_{\rm i2}
> \stopalign\stopformula
>
> \placeformula[eq:debye]
> \startformula\startalign[n=1]
> \lambda_{\rm D} = \sqrt{\epsilon_0 k_{\rm B}T_{\rm
> e}\over nq_{\rm e}^2}
> \stopalign\stopformula
> \stoptext
What I meant was
\setupoutput[pdftex]
\enableregime[utf]
\setupindenting[yes,medium]
\starttext
\placeformula \startformula\startalign[n=1]
\NC 2I_{\rm d} = I_{\rm e}^0
\left[
\exp\left({-qU\over k_{\rm B} T_{\rm e}}\right)
-1 \right]
+ I_{\rm i1}-I_{\rm i2} \NR
\NC \lambda_{\rm D} = \sqrt{\epsilon_0 k_{\rm B}T_{\rm e} \over
nq_{\rm e}^2}
\NR[eq:debye]
\stopalign\stopformula
or better
\placeformula \startformula\startalign[n=2]
\NC 2I_{\rm d} \EQ I_{\rm e}^0
\left[
\exp\left({-qU\over k_{\rm B} T_{\rm e}}\right)
-1 \right]
+ I_{\rm i1}-I_{\rm i2} \NR
\NC \lambda_{\rm D} \EQ
\sqrt{\epsilon_0 k_{\rm B}T_{\rm e} \over nq_{\rm e}^2}
\NR[eq:debye]
\stopalign\stopformula
\stoptext
If you feel that some formulas are too close, you can add
\noalign{\vskip 1ex} between lines. Otherwise, if you want all
multi-line formulas to be more spread out, change
\def\displayopenupvalue{0.25\bodyfontsize}
to something other than .25. \displayopenup value is equivalent to \jot
in plain tex.
Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: setupindening and formulas
2007-06-05 17:15 ` Aditya Mahajan
@ 2007-06-05 20:36 ` Stepan Roucka
2007-06-05 21:00 ` Stepan Roucka
1 sibling, 0 replies; 7+ messages in thread
From: Stepan Roucka @ 2007-06-05 20:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
Now I understand,
thanks for your effort
Stepan
On 05/06/07, Aditya Mahajan <adityam@umich.edu> wrote:
> Quoting Stepan Roucka <tetaberta@seznam.cz>:
>
> > Thanks,
> > with \startalign[n=1] the formulas don't overlap anymore, but they
> > are still too
> > close. Here is test example:
> >
> > \setupoutput[pdftex]
> > \enableregime[utf]
> > \setupindenting[yes,medium]
> >
> > \starttext
> >
> > \startformula\startalign[n=1]
> > 2I_{\rm d} = I_{\rm e}^0
> > \left[\exp\left({-qU\over k_{\rm B}T_{\rm
> > e}}\right)-1\right]+I_{\rm i1}-I_{\rm i2}
> > \stopalign\stopformula
> >
> > \placeformula[eq:debye]
> > \startformula\startalign[n=1]
> > \lambda_{\rm D} = \sqrt{\epsilon_0 k_{\rm B}T_{\rm
> > e}\over nq_{\rm e}^2}
> > \stopalign\stopformula
> > \stoptext
>
> What I meant was
>
>
> \setupoutput[pdftex]
> \enableregime[utf]
> \setupindenting[yes,medium]
>
> \starttext
>
> \placeformula \startformula\startalign[n=1]
> \NC 2I_{\rm d} = I_{\rm e}^0
> \left[
> \exp\left({-qU\over k_{\rm B} T_{\rm e}}\right)
> -1 \right]
> + I_{\rm i1}-I_{\rm i2} \NR
> \NC \lambda_{\rm D} = \sqrt{\epsilon_0 k_{\rm B}T_{\rm e} \over
> nq_{\rm e}^2}
> \NR[eq:debye]
> \stopalign\stopformula
>
> or better
>
> \placeformula \startformula\startalign[n=2]
> \NC 2I_{\rm d} \EQ I_{\rm e}^0
> \left[
> \exp\left({-qU\over k_{\rm B} T_{\rm e}}\right)
> -1 \right]
> + I_{\rm i1}-I_{\rm i2} \NR
> \NC \lambda_{\rm D} \EQ
> \sqrt{\epsilon_0 k_{\rm B}T_{\rm e} \over nq_{\rm e}^2}
> \NR[eq:debye]
> \stopalign\stopformula
>
> \stoptext
>
> If you feel that some formulas are too close, you can add
> \noalign{\vskip 1ex} between lines. Otherwise, if you want all
> multi-line formulas to be more spread out, change
>
> \def\displayopenupvalue{0.25\bodyfontsize}
>
> to something other than .25. \displayopenup value is equivalent to \jot
> in plain tex.
>
> Aditya
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: setupindening and formulas
2007-06-05 17:15 ` Aditya Mahajan
2007-06-05 20:36 ` Stepan Roucka
@ 2007-06-05 21:00 ` Stepan Roucka
1 sibling, 0 replies; 7+ messages in thread
From: Stepan Roucka @ 2007-06-05 21:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Now I understand,
thanks for your effort
Stepan
On 05/06/07, Aditya Mahajan <adityam@umich.edu> wrote:
> Quoting Stepan Roucka <tetaberta@seznam.cz>:
>
> > Thanks,
> > with \startalign[n=1] the formulas don't overlap anymore, but they
> > are still too
> > close. Here is test example:
> >
> > \setupoutput[pdftex]
> > \enableregime[utf]
> > \setupindenting[yes,medium]
> >
> > \starttext
> >
> > \startformula\startalign[n=1]
> > 2I_{\rm d} = I_{\rm e}^0
> > \left[\exp\left({-qU\over k_{\rm B}T_{\rm
> > e}}\right)-1\right]+I_{\rm i1}-I_{\rm i2}
> > \stopalign\stopformula
> >
> > \placeformula[eq:debye]
> > \startformula\startalign[n=1]
> > \lambda_{\rm D} = \sqrt{\epsilon_0 k_{\rm B}T_{\rm
> > e}\over nq_{\rm e}^2}
> > \stopalign\stopformula
> > \stoptext
>
> What I meant was
>
>
> \setupoutput[pdftex]
> \enableregime[utf]
> \setupindenting[yes,medium]
>
> \starttext
>
> \placeformula \startformula\startalign[n=1]
> \NC 2I_{\rm d} = I_{\rm e}^0
> \left[
> \exp\left({-qU\over k_{\rm B} T_{\rm e}}\right)
> -1 \right]
> + I_{\rm i1}-I_{\rm i2} \NR
> \NC \lambda_{\rm D} = \sqrt{\epsilon_0 k_{\rm B}T_{\rm e} \over
> nq_{\rm e}^2}
> \NR[eq:debye]
> \stopalign\stopformula
>
> or better
>
> \placeformula \startformula\startalign[n=2]
> \NC 2I_{\rm d} \EQ I_{\rm e}^0
> \left[
> \exp\left({-qU\over k_{\rm B} T_{\rm e}}\right)
> -1 \right]
> + I_{\rm i1}-I_{\rm i2} \NR
> \NC \lambda_{\rm D} \EQ
> \sqrt{\epsilon_0 k_{\rm B}T_{\rm e} \over nq_{\rm e}^2}
> \NR[eq:debye]
> \stopalign\stopformula
>
> \stoptext
>
> If you feel that some formulas are too close, you can add
> \noalign{\vskip 1ex} between lines. Otherwise, if you want all
> multi-line formulas to be more spread out, change
>
> \def\displayopenupvalue{0.25\bodyfontsize}
>
> to something other than .25. \displayopenup value is equivalent to \jot
> in plain tex.
>
> Aditya
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-06-05 21:00 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-05 9:11 setupindening and formulas Stepan Roucka
2007-06-05 14:24 ` Aditya Mahajan
2007-06-05 16:47 ` Stepan Roucka
2007-06-05 17:01 ` Stepan Roucka
2007-06-05 17:15 ` Aditya Mahajan
2007-06-05 20:36 ` Stepan Roucka
2007-06-05 21:00 ` Stepan Roucka
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).