ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* margin of inner item group
@ 2021-09-07  8:58 Sylvain Hubert via ntg-context
  2021-09-07  9:12 ` fv leung via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Hubert via ntg-context @ 2021-09-07  8:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Sylvain Hubert

Dear List,

Does anyone know how to set the margin of an inner item group? The
natural way does not seem to work:

\showframe
\starttext
\startitemize[margin=5em]
\item 1
\startitemize[margin=10em]
\item 1
\item 2
\item 3
\stopitemize
\item 2
\item 3
\stopitemize
\stoptext

In the doc above, only the outer item group has a margin.

Any help will be appreciated.

Best,
Sylvain
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: margin of inner item group
  2021-09-07  8:58 margin of inner item group Sylvain Hubert via ntg-context
@ 2021-09-07  9:12 ` fv leung via ntg-context
  2021-09-07  9:43   ` Sylvain Hubert via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: fv leung via ntg-context @ 2021-09-07  9:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: fv leung


[-- Attachment #1.1: Type: text/plain, Size: 1135 bytes --]

Use

distance=...

instead of

margin=...

.

在 2021年9月7日週二 16:58,Sylvain Hubert via ntg-context <ntg-context@ntg.nl> 寫道:

> Dear List,
>
> Does anyone know how to set the margin of an inner item group? The
> natural way does not seem to work:
>
> \showframe
> \starttext
> \startitemize[margin=5em]
> \item 1
> \startitemize[margin=10em]
> \item 1
> \item 2
> \item 3
> \stopitemize
> \item 2
> \item 3
> \stopitemize
> \stoptext
>
> In the doc above, only the outer item group has a margin.
>
> Any help will be appreciated.
>
> Best,
> Sylvain
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2146 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: margin of inner item group
  2021-09-07  9:12 ` fv leung via ntg-context
@ 2021-09-07  9:43   ` Sylvain Hubert via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Sylvain Hubert via ntg-context @ 2021-09-07  9:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Sylvain Hubert

Thanks but I believe 'distance' means ' * <------> text',
while margin means '<------> * text'.

On 07/09/2021, fv leung via ntg-context <ntg-context@ntg.nl> wrote:
> Use
>
> distance=...
>
> instead of
>
> margin=...
>
> .
>
> 在 2021年9月7日週二 16:58,Sylvain Hubert via ntg-context <ntg-context@ntg.nl> 寫道:
>
>> Dear List,
>>
>> Does anyone know how to set the margin of an inner item group? The
>> natural way does not seem to work:
>>
>> \showframe
>> \starttext
>> \startitemize[margin=5em]
>> \item 1
>> \startitemize[margin=10em]
>> \item 1
>> \item 2
>> \item 3
>> \stopitemize
>> \item 2
>> \item 3
>> \stopitemize
>> \stoptext
>>
>> In the doc above, only the outer item group has a margin.
>>
>> Any help will be appreciated.
>>
>> Best,
>> Sylvain
>>
>> ___________________________________________________________________________________
>> 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-07  9:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07  8:58 margin of inner item group Sylvain Hubert via ntg-context
2021-09-07  9:12 ` fv leung via ntg-context
2021-09-07  9:43   ` Sylvain Hubert via ntg-context

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).