![](https://secure.gravatar.com/avatar/517bcc7408b049f8fca00bbeb6620dad.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/6ab8b7ad01e559267fef91b4297f67e5.jpg?s=120&d=mm&r=g)
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
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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/517bcc7408b049f8fca00bbeb6620dad.jpg?s=120&d=mm&r=g)
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
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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
Quoting Stepan Roucka
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
![](https://secure.gravatar.com/avatar/6ab8b7ad01e559267fef91b4297f67e5.jpg?s=120&d=mm&r=g)
Now I understand,
thanks for your effort
Stepan
On 05/06/07, Aditya Mahajan
Quoting Stepan Roucka
: 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 ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/517bcc7408b049f8fca00bbeb6620dad.jpg?s=120&d=mm&r=g)
Now I understand,
thanks for your effort
Stepan
On 05/06/07, Aditya Mahajan
Quoting Stepan Roucka
: 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 ___________________________________________________________________________________
participants (3)
-
Aditya Mahajan
-
Stepan Roucka
-
Stepan Roucka