Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In LaTeX, I can use \\[3mm] for example, to put extra vertical space, if I think it will improve the readability of displayed, aligned equations. And in fact I find I do this quite a bit. But what is the ConTeXt equivalent to this?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

ConTeXt does not have an interface for increasing the interline space. You would have to add the space manually. For example:

\startformula \startalign
  \NC a \EQ b + c \NR
  \noalign{\blank[2cm]}
  \NC a \EQ b + c \NR
\stopalign \stopformula

If you want, you can add an interface for it. I did not test it too thoroughly.

\unprotected\def\doalignNR[#1][#2]%
  {\donestedformulanumber{#1}{#2}\crcr
    \noalign{\mathalignmentparameter\c!inbetween}}

Then you can use:

\definemathalignment[loosealign][inbetween={\blank[2cm]}]

\starttext

\startformula \startloosealign
  \NC a \EQ b + c \NR
  \NC a \EQ b + c \NR
\stoploosealign \stopformula
share|improve this answer
    
Thank you very much: the \noalign{\blank[2cm]} does exactly what I want. –  Alasdair Feb 28 '11 at 9:28
    
@Alasdair: Since you seem happy with this answer, please consider marking it as ‘Accepted’ by clicking on the tickmark below the vote count. This shows that answer helped you, and it assigns reputation points to the author of the answer (and to you!). –  Joseph Wright Mar 18 '11 at 23:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.