ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Indent after formula in enumeration
Date: Sat, 30 May 2009 19:01:41 +0200	[thread overview]
Message-ID: <4A216675.8060608@telefonica.net> (raw)
In-Reply-To: <4A216453.80804@telefonica.net>

En/na Xan ha escrit:
> Thanks Aditya, but it does not work what it should?
>
> With:
> \defineenumeration[demo][text={Demostració.\space},number=no,
> location=serried,width=fit,headstyle=italic,indentnext=yes,
> between=\blank,textdistance=.5em,closesymbol={\mathematics{\Box}},
> style=normal,indenting=yes]
>
> and
> \starttext
>
> \startdemo Si $\text{area}(u) = N$ i $\text{area}(v) = M$, aleshores
> \startformula
> \startmathalignment
> \NC u \NC  = \prod_{i=1}^N x_i^{-1} r_i x_i, \NR[+]
> \NC v \NC  = \prod_{j=1}^M y_j^{-1} s_j y_j, \NR[+]
> \stopmathalignment
> \stopformula%
> per a alguns $x_i, y_j \in F(A)$, $r_i, s_j \in R$, on aquestes 
> igualtats són dins el grup lliure $F(A)$. Com que $w = u v$ també dins 
> el grup lliure, tenim que
> \placeformula[-] \startformula \startsplit
>  \NC w = u v \NC = \bigl( \prod_{i = 1}^N x_i^{-1} r_i x_i \bigr) 
> \cdot \bigl( \prod_{j=1}^M y_j^{-1} s_j y_j \bigr) \NR
>  \NC \NC = (x_1^{-1} r_1 x_1)\cdots (x_N^{-1} r_N x_N) \cdot (y_1^{-1} 
> s_1 y_1) \cdots (y_M^{-1} s_M y_M) \NR
>  \NC \NC =  \prod_{k=1}^{M+N} z_k^{-1} t_k z_k
> \stopsplit \stopformula
> on
> \startformula
>  z_k = \startcases
>    \NC x_k    \MC 1 \leq k \leq N \NR
>    \NC y_{k-N} \MC N+1 \leq k \leq N+M, \NR
>  \stopcases t_k = \startcases
>    \NC r_k    \MC 1 \leq k \leq N \NR
>    \NC s_{k-N} \MC N+1 \leq k \leq N+M. \NR
>  \stopcases
> \stopformula
> Llavors, per definició, $\text{area}(w) \leq N+M = \text{area}(u) + 
> \text{area}(v)$.
> \stopdemo
>
> \stoptext
>
>
> I have that "per a alguns" is indenting but "on" is not.
>
> Why?
>
> Xan.
>
> PS: Please, CCme
I have

%Indentation
\setupheads[indentnext=yes]
\setupindenting[yes,small,first]
\setupformulae[indentnext=yes]

in headers.

if I put setupformulae[identnext=yes] and ident=yes for enumerations 
_always_ have indenting after formula even if the text is following.

Xan.
___________________________________________________________________________________
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
___________________________________________________________________________________


      reply	other threads:[~2009-05-30 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-30 15:49 Xan
2009-05-30 16:29 ` Aditya Mahajan
2009-05-30 16:52 ` Xan
2009-05-30 17:01   ` Xan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A216675.8060608@telefonica.net \
    --to=dxpublica@telefonica.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).