Re: [NTG-context] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Thanks !

Le dim. 3 nov. 2019 à 22:54, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :

> Fabrice Couvreur schrieb am 03.11.2019 um 22:46:
>
> Hi Wolfgang,
> I know it takes a predefined argument, but I wanted to quote the name of
> the command as such  \hspace[]. Nevertheless, it does not work with this :
>
> \usecolors[xwi]
> \starttext
> \startframedtext[width=fit,frame=off,
>
>  background=color,backgroundcolor=paleturquoise]
>
> {\it lancers}\unknown
>
> {\it dé}\unknown
>
> Tant que {\it dé}\unknown Faire
>
>
> *\unknown*
> *\hspace[big]\unknow*n
>
> Fin Tant que
> \stopframedtext
> \stoptext
>
>
> \hspace works only in horizontal mode and when you try the command at the
> start of a paragraph you need \dontleavehmode to start the paragraph.
>
> \starttext
>
> \hspace[big]\unknown
>
> \dontleavehmode\hspace[big]\unknown
>
> \stoptext
>
> Wolfgang
>
>
> ___
> 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] Horizontal space and framedtext

2019-11-03 Thread Wolfgang Schuster

Fabrice Couvreur schrieb am 03.11.2019 um 22:46:

Hi Wolfgang,
I know it takes a predefined argument, but I wanted to quote the name 
of the command as such  \hspace[]. Nevertheless, it does not work with 
this :


\usecolors[xwi]
\starttext
\startframedtext[width=fit,frame=off,
 background=color,backgroundcolor=paleturquoise]

{\it lancers}\unknown

{\it dé}\unknown

Tant que {\it dé}\unknown Faire

*\unknown
*
*\hspace[big]\unknow*n

Fin Tant que
\stopframedtext
\stoptext


\hspace works only in horizontal mode and when you try the command at 
the start of a paragraph you need \dontleavehmode to start the paragraph.


\starttext

\hspace[big]\unknown

\dontleavehmode\hspace[big]\unknown

\stoptext

Wolfgang

___
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] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hi Wolfgang,
I know it takes a predefined argument, but I wanted to quote the name of
the command as such  \hspace[]. Nevertheless, it does not work with this :

\usecolors[xwi]
\starttext
\startframedtext[width=fit,frame=off,

 background=color,backgroundcolor=paleturquoise]

{\it lancers}\unknown

{\it dé}\unknown

Tant que {\it dé}\unknown Faire


*\unknown*
*\hspace[big]\unknow*n

Fin Tant que
\stopframedtext
\stoptext

Thanks.
Fabrice


Le dim. 3 nov. 2019 à 11:54, Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> a écrit :

> Fabrice Couvreur schrieb am 03.11.2019 um 10:56:
>
> Hello,
> The \hspace [ ] command has no effect in an environment framedtext.
> Why ?
>
> The \hspace command expects a named/predefined argument, e.g.
> \hspace[small] and all unknown names result in a horizontal skip of 0pt.
>
> Wolfgang
>
>
> ___
> 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] Horizontal space and framedtext

2019-11-03 Thread Wolfgang Schuster

Fabrice Couvreur schrieb am 03.11.2019 um 10:56:

Hello,
The \hspace [ ] command has no effect in an environment framedtext.
Why ?
The \hspace command expects a named/predefined argument, e.g. 
\hspace[small] and all unknown names result in a horizontal skip of 0pt.


Wolfgang

___
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] Horizontal space and framedtext

2019-11-03 Thread Fabrice Couvreur
Hello,
The \hspace [ ] command has no effect in an environment framedtext.
Why ?
Thank you.
Fabrice

\usecolors[xwi]
\starttext
\startframedtext[width=fit,frame=off,

 background=color,backgroundcolor=paleturquoise]

{\it lancers}\unknown

{\it dé}\unknown

Tant que {\it dé}\unknown Faire

\hspace[4em]\unknown

Fin Tant que
\stopframedtext
\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
___