Re: [NTG-context] Strange behavior with the command \inframed{}

2018-10-23 Thread Fabrice Couvreur
Hi Aditya,
Sorry but with this file, there are some problems, especially with the last
item.
Thanks.
Fabrice

Le mar. 23 oct. 2018 à 09:46, Fabrice Couvreur 
a écrit :

> Hi Aditya,
> Thanks.
> Fabrice
>
> Le lun. 22 oct. 2018 à 12:45, Aditya Mahajan  a écrit :
>
>> On Mon, 22 Oct 2018, Fabrice Couvreur wrote:
>>
>> > Hi,
>> > When I use the \inframed{} command twice, they are not on the same
>> baseline.
>> > Thank you.
>> > Fabrice
>> >
>> > \starttext
>> Add \dontleavehmode
>> >\inframed{\m{I\times X=A^{-1}\times B}}  ; \inframed{\m{A^{-1}\times
>> A
>> > \times X=A^{-1}\times B}}
>> > \stoptext
>>
>> See
>>
>> https://wiki.contextgarden.net/Unexpected_behavior#Unsolicited_Vertical_Mode
>>
>> 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://context.aanhet.net
>> archive  : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>
>
 \definefloat
[recipe]
[figure]

  \setupfloat
[recipe]
[default={right,none}]

\define\ItemCommand
  {\hskip\zeropoint\relax\autoinsertnextspace}

  \setupitemgroup
[itemize]
[color=black,
 style=bold,
 distance=\zeropoint]

  \setupitemgroup
[itemize:1]
[option={n,packed,fit,intext},
command=\ItemCommand]

  \setupitemgroup
[itemize:2]
[lefttext=,
righttext=,
option={a,text}]
  
\starttext
  \placerecipe{}{
\startxtable[align={lohi,middle},bodyfont=9pt,offset=0.5ex]
  \startxrow
\startxcell[nx=5,frame=off,align={right}]
  Prénom : Marion
\stopxcell
  \stopxrow
  \startxrow
\startxcell
  \rotate[rotation=30,width=1.5cm]{\darkred Admise}
\stopxcell
\startxcell
  Anglais
\stopxcell
\startxcell
  Maths
\stopxcell
\startxcell[width=1.5cm]
  Culture générale
\stopxcell
\startxcell[width=2.25cm]
  Économie
\stopxcell
  \stopxrow
  \startxrow
\startxcell
  Note/20
\stopxcell
\startxcell
  12
\stopxcell
\startxcell
  14
\stopxcell
\startxcell
  8
\stopxcell
\startxcell
  11
\stopxcell
  \stopxrow
  \startxrow[frame=off]
\startxcell
  
\stopxcell
\startxcell
  
\stopxcell
\startxcell
  
\stopxcell
\startxcell
  
\stopxcell
\startxcell[frame=on]
  \bf Moyenne 11,8
\stopxcell
  \stopxrow
  \startxrow
\startxcell[nx=5,frame=off,align={right}]
  Prénom : Hichem
\stopxcell
  \stopxrow
  \startxrow
\startxcell
  \rotate[rotation=30,width=1.5cm]{\darkred Admis }
\stopxcell
\startxcell
  Anglais
\stopxcell
\startxcell
  Maths
\stopxcell
\startxcell
  Culture générale
\stopxcell
\startxcell[width=2cm]
  Économie
\stopxcell
  \stopxrow
  \startxrow
\startxcell
  Note/20
\stopxcell
\startxcell
  13
\stopxcell
\startxcell
  15
\stopxcell
\startxcell
  10
\stopxcell
\startxcell
  16
\stopxcell
  \stopxrow
  \startxrow[frame=off]
\startxcell
  
\stopxcell
\startxcell
  
\stopxcell
\startxcell
  
\stopxcell
\startxcell
  
\stopxcell
\startxcell[frame=on]
  \bf Moyenne 14,5
\stopxcell
  \stopxrow
  \startxrow
\startxcell[nx=5,frame=off,align={right}]
  Prénom : Lucas
\stopxcell
  \stopxrow
  \startxrow
\startxcell
  \rotate[rotation=30,width=1.5cm]{\darkred Refusé}
\stopxcell
\startxcell
  Anglais
\stopxcell
\startxcell
  Maths
\stopxcell
\startxcell
  Culture générale
\stopxcell
\startxcell[width=2cm]
  Économie
\stopxcell
  \stopxrow
  \startxrow
\startxcell
  Note/20
\stopxcell
\startxcell
  9
\stopxcell
\startxcell
  8
\stopxcell
\startxcell
  4
\stopxcell
\startxcell
  11
\stopxcell
  \stopxrow
  \startxrow[frame=off]
\startxcell
  
\stopxcell
\startxcell
  
\stopxcell

Re: [NTG-context] Strange behavior with the command \inframed{}

2018-10-23 Thread Fabrice Couvreur
Hi Aditya,
Thanks.
Fabrice

Le lun. 22 oct. 2018 à 12:45, Aditya Mahajan  a écrit :

> On Mon, 22 Oct 2018, Fabrice Couvreur wrote:
>
> > Hi,
> > When I use the \inframed{} command twice, they are not on the same
> baseline.
> > Thank you.
> > Fabrice
> >
> > \starttext
> Add \dontleavehmode
> >\inframed{\m{I\times X=A^{-1}\times B}}  ; \inframed{\m{A^{-1}\times A
> > \times X=A^{-1}\times B}}
> > \stoptext
>
> See
>
> https://wiki.contextgarden.net/Unexpected_behavior#Unsolicited_Vertical_Mode
>
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Strange behavior with the command \inframed{}

2018-10-22 Thread Aditya Mahajan

On Mon, 22 Oct 2018, Fabrice Couvreur wrote:


Hi,
When I use the \inframed{} command twice, they are not on the same baseline.
Thank you.
Fabrice

\starttext

Add \dontleavehmode

   \inframed{\m{I\times X=A^{-1}\times B}}  ; \inframed{\m{A^{-1}\times A
\times X=A^{-1}\times B}}
\stoptext


See
https://wiki.contextgarden.net/Unexpected_behavior#Unsolicited_Vertical_Mode

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Strange behavior with the command \inframed{}

2018-10-22 Thread Fabrice Couvreur
Hi,
When I use the \inframed{} command twice, they are not on the same baseline.
Thank you.
Fabrice

\starttext
\inframed{\m{I\times X=A^{-1}\times B}}  ; \inframed{\m{A^{-1}\times A
\times X=A^{-1}\times B}}
\stoptext
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___