ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* itemize: how to get the first level items indented?
@ 2014-08-19 14:27 Gerben Wierda
  2014-08-19 14:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Gerben Wierda @ 2014-08-19 14:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I’d like to get \startitemize\stopitemize to indent the first level items already with the equal amount of indentation as the start of a paragraph (which is indented). Is there a way to do that?

mkii

G
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: itemize: how to get the first level items indented?
  2014-08-19 14:27 itemize: how to get the first level items indented? Gerben Wierda
@ 2014-08-19 14:33 ` Wolfgang Schuster
  2014-08-19 22:21   ` Gerben Wierda
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2014-08-19 14:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 19.08.2014 um 16:27 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

> I’d like to get \startitemize\stopitemize to indent the first level items already with the equal amount of indentation as the start of a paragraph (which is indented). Is there a way to do that?

\setupindenting[yes,medium]

\starttext

\input knuth

\startitemize[margin=standard]
\item \input ward
\stopitemize

\input tufte

\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: itemize: how to get the first level items indented?
  2014-08-19 14:33 ` Wolfgang Schuster
@ 2014-08-19 22:21   ` Gerben Wierda
  2014-08-19 23:22     ` Aditya Mahajan
  0 siblings, 1 reply; 12+ messages in thread
From: Gerben Wierda @ 2014-08-19 22:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 19 Aug 2014, at 16:33, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 19.08.2014 um 16:27 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
>> I’d like to get \startitemize\stopitemize to indent the first level items already with the equal amount of indentation as the start of a paragraph (which is indented). Is there a way to do that?
> 
> \setupindenting[yes,medium]
> 
> \starttext
> 
> \input knuth
> 
> \startitemize[margin=standard]

Does the margin thing, but incapacitates packed and joinedup, which are ignored if the margin statement is there. So, I get indented items, but at the price of losing joinedup and packed.

\setupindenting[yes,medium]

\starttext
Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. 
\startitemize[joinedup,packed]
\item Foo bar
\item Foo bar
\stopitemize
Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. 

Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. 
\startitemize[joinedup,packed,margin=standard]
\item Foo bar
\item Foo bar
\stopitemize
Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. 
\stoptext


G

> \item \input ward
> \stopitemize
> 
> \input tufte
> 
> \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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-19 22:21   ` Gerben Wierda
@ 2014-08-19 23:22     ` Aditya Mahajan
  2014-08-20 14:07       ` Gerben Wierda
  0 siblings, 1 reply; 12+ messages in thread
From: Aditya Mahajan @ 2014-08-19 23:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1187 bytes --]



On Wed, 20 Aug 2014, Gerben Wierda wrote:

> On 19 Aug 2014, at 16:33, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>>
>> Am 19.08.2014 um 16:27 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>
>>> I’d like to get \startitemize\stopitemize to indent the first level items already with the equal amount of indentation as the start of a paragraph (which is indented). Is there a way to do that?
>>
>> \setupindenting[yes,medium]
>>
>> \starttext
>>
>> \input knuth
>>
>> \startitemize[margin=standard]
>
> Does the margin thing, but incapacitates packed and joinedup, which are ignored if the margin statement is there. So, I get indented items, but at the price of losing joinedup and packed.
>
> \setupindenting[yes,medium]
>
> \starttext
> Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.
> \startitemize[joinedup,packed]
> \item Foo bar
> \item Foo bar
> \stopitemize
> Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.
>
> Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.
> \startitemize[joinedup,packed,margin=standard]

You need to separate keywords with assignments:

\startitemize[joinedup, packed][margin=standard]

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-19 23:22     ` Aditya Mahajan
@ 2014-08-20 14:07       ` Gerben Wierda
  2014-08-20 15:23         ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Gerben Wierda @ 2014-08-20 14:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 20 Aug 2014, at 01:22, Aditya Mahajan <adityam@umich.edu> wrote:

> 
> 
> On Wed, 20 Aug 2014, Gerben Wierda wrote:
> 
>> On 19 Aug 2014, at 16:33, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>> 
>>> 
>>> Am 19.08.2014 um 16:27 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>> 
>>>> I’d like to get \startitemize\stopitemize to indent the first level items already with the equal amount of indentation as the start of a paragraph (which is indented). Is there a way to do that?
>>> 
>>> \setupindenting[yes,medium]
>>> 
>>> \starttext
>>> 
>>> \input knuth
>>> 
>>> \startitemize[margin=standard]
>> 
>> Does the margin thing, but incapacitates packed and joinedup, which are ignored if the margin statement is there. So, I get indented items, but at the price of losing joinedup and packed.
>> 
>> \setupindenting[yes,medium]
>> 
>> \starttext
>> Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.
>> \startitemize[joinedup,packed]
>> \item Foo bar
>> \item Foo bar
>> \stopitemize
>> Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.
>> 
>> Foo bar bar foo. Foo bar bar foo. Foo bar bar foo.
>> \startitemize[joinedup,packed,margin=standard]
> 
> You need to separate keywords with assignments:
> 
> \startitemize[joinedup, packed][margin=standard]

Thanks. I used

\setupitemize[each][margin=standard]

and this works. However, I've noticed that the normal pararaph indent is just a little bit more than the itemize margin. The bullets of the list are not aligned perfectly with the indented line. They are indented slightly less. Anything I can do about that?

G


> 
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-20 14:07       ` Gerben Wierda
@ 2014-08-20 15:23         ` Wolfgang Schuster
  2014-08-20 15:32           ` Gerben Wierda
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2014-08-20 15:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 20.08.2014 um 16:07 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

> Thanks. I used
> 
> \setupitemize[each][margin=standard]
> 
> and this works. However, I've noticed that the normal pararaph indent is just a little bit more than the itemize margin. The bullets of the list are not aligned perfectly with the indented line. They are indented slightly less. Anything I can do about that?

Are you sure?

\setupindenting[yes,medium]

\definelayer[check][width=\paperwidth,height=\paperheight]

\setlayer[check][x=\dimexpr\backspace+1.5em\relax]{\blackrule[width=\linewidth,height=\paperheight]}

\setupbackgrounds[page][background=check]

\starttext

\input knuth

\startitemize[margin=standard]
\item \input ward
\stopitemize

\input tufte

\stoptext

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-20 15:23         ` Wolfgang Schuster
@ 2014-08-20 15:32           ` Gerben Wierda
  2014-08-20 15:34             ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Gerben Wierda @ 2014-08-20 15:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


On 20 Aug 2014, at 17:23, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 20.08.2014 um 16:07 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
>> Thanks. I used
>> 
>> \setupitemize[each][margin=standard]
>> 
>> and this works. However, I've noticed that the normal pararaph indent is just a little bit more than the itemize margin. The bullets of the list are not aligned perfectly with the indented line. They are indented slightly less. Anything I can do about that?
> 
> Are you sure?

Yes:

https://dl.dropboxusercontent.com/u/59305058/Screen%20Shot%202014-08-20%20at%2020%20August%2017.30.37.png

Your example works out fine.

G


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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-20 15:32           ` Gerben Wierda
@ 2014-08-20 15:34             ` Wolfgang Schuster
  2014-08-20 15:53               ` Gerben Wierda
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2014-08-20 15:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 20.08.2014 um 17:32 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

> 
> On 20 Aug 2014, at 17:23, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> 
>> 
>> Am 20.08.2014 um 16:07 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>> 
>>> Thanks. I used
>>> 
>>> \setupitemize[each][margin=standard]
>>> 
>>> and this works. However, I've noticed that the normal pararaph indent is just a little bit more than the itemize margin. The bullets of the list are not aligned perfectly with the indented line. They are indented slightly less. Anything I can do about that?
>> 
>> Are you sure?
> 
> Yes:
> 
> https://dl.dropboxusercontent.com/u/59305058/Screen%20Shot%202014-08-20%20at%2020%20August%2017.30.37.png

Make a *working* minimal example.

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-20 15:34             ` Wolfgang Schuster
@ 2014-08-20 15:53               ` Gerben Wierda
  2014-08-20 16:01                 ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Gerben Wierda @ 2014-08-20 15:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


On 20 Aug 2014, at 17:34, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 20.08.2014 um 17:32 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
>> 
>> On 20 Aug 2014, at 17:23, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>> 
>>> 
>>> Am 20.08.2014 um 16:07 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>> 
>>>> Thanks. I used
>>>> 
>>>> \setupitemize[each][margin=standard]
>>>> 
>>>> and this works. However, I've noticed that the normal pararaph indent is just a little bit more than the itemize margin. The bullets of the list are not aligned perfectly with the indented line. They are indented slightly less. Anything I can do about that?
>>> 
>>> Are you sure?
>> 
>> Yes:
>> 
>> https://dl.dropboxusercontent.com/u/59305058/Screen%20Shot%202014-08-20%20at%2020%20August%2017.30.37.png
> 
> Make a *working* minimal example.

Having that part in a smaller bodyfont is what triggers it:

\starttext
\setupbodyfont[12pt]

\setupindenting[small]
\indenting[yes]
\setupitemize[each][margin=standard]

\start
\switchtobodyfont[8pt]

Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo
foo bar.
(PSA) becomes the Project Architecture (PA). As of that moment:
\startitemize[joinedup,packed]
\item Foo
\item Foo
\item Foo
\item Foo
\stopitemize

Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo
foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo foo bar.
Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo
foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo foo bar.
Bar foo foo bar. Bar foo foo bar. Bar foo foo bar. Bar foo foo bar.

\stop
\stoptext

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-20 15:53               ` Gerben Wierda
@ 2014-08-20 16:01                 ` Wolfgang Schuster
  2014-08-20 17:01                   ` Gerben Wierda
  0 siblings, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2014-08-20 16:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 20.08.2014 um 17:53 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

> 
> On 20 Aug 2014, at 17:34, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> 
>> 
>> Am 20.08.2014 um 17:32 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>> 
>>> 
>>> On 20 Aug 2014, at 17:23, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>>> 
>>>> 
>>>> Am 20.08.2014 um 16:07 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>>> 
>>>>> Thanks. I used
>>>>> 
>>>>> \setupitemize[each][margin=standard]
>>>>> 
>>>>> and this works. However, I've noticed that the normal pararaph indent is just a little bit more than the itemize margin. The bullets of the list are not aligned perfectly with the indented line. They are indented slightly less. Anything I can do about that?
>>>> 
>>>> Are you sure?
>>> 
>>> Yes:
>>> 
>>> https://dl.dropboxusercontent.com/u/59305058/Screen%20Shot%202014-08-20%20at%2020%20August%2017.30.37.png
>> 
>> Make a *working* minimal example.
> 
> Having that part in a smaller bodyfont is what triggers it:
> 
> \starttext
> \setupbodyfont[12pt]
> 
> \setupindenting[small]
> \indenting[yes]

Don’t use \indenting, it’s a old command with the same meaning as \setupindenting.

> \setupitemize[each][margin=standard]

You ned absolute values for indentation and margin, e.g.

\setupindenting[yes,5mm]
\setupitemize[each][margin=5mm]

Wolfgang


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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-20 16:01                 ` Wolfgang Schuster
@ 2014-08-20 17:01                   ` Gerben Wierda
  2014-08-20 17:56                     ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Gerben Wierda @ 2014-08-20 17:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


On 20 Aug 2014, at 18:01, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:

> 
> Am 20.08.2014 um 17:53 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
> 
>> 
>> On 20 Aug 2014, at 17:34, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>> 
>>> 
>>> Am 20.08.2014 um 17:32 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>> 
>>>> 
>>>> On 20 Aug 2014, at 17:23, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>>>> 
>>>>> 
>>>>> Am 20.08.2014 um 16:07 schrieb Gerben Wierda <gerben.wierda@rna.nl>:
>>>>> 
>>>>>> Thanks. I used
>>>>>> 
>>>>>> \setupitemize[each][margin=standard]
>>>>>> 
>>>>>> and this works. However, I've noticed that the normal pararaph indent is just a little bit more than the itemize margin. The bullets of the list are not aligned perfectly with the indented line. They are indented slightly less. Anything I can do about that?
>>>>> 
>>>>> Are you sure?
>>>> 
>>>> Yes:
>>>> 
>>>> https://dl.dropboxusercontent.com/u/59305058/Screen%20Shot%202014-08-20%20at%2020%20August%2017.30.37.png
>>> 
>>> Make a *working* minimal example.
>> 
>> Having that part in a smaller bodyfont is what triggers it:
>> 
>> \starttext
>> \setupbodyfont[12pt]
>> 
>> \setupindenting[small]
>> \indenting[yes]
> 
> Don’t use \indenting, it’s a old command with the same meaning as \setupindenting.
> 
>> \setupitemize[each][margin=standard]
> 
> You ned absolute values for indentation and margin, e.g.
> 
> \setupindenting[yes,5mm]
> \setupitemize[each][margin=5mm]

Works ok at first level. Second level doesn't exactly align. But there is some startstopnarrower in play too. I'l try to create a minimal example.

> 
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: itemize: how to get the first level items indented?
  2014-08-20 17:01                   ` Gerben Wierda
@ 2014-08-20 17:56                     ` Wolfgang Schuster
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Schuster @ 2014-08-20 17:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


Am 20.08.2014 um 19:01 schrieb Gerben Wierda <gerben.wierda@rna.nl>:

> Works ok at first level. Second level doesn't exactly align. But there is some startstopnarrower in play too. I'l try to create a minimal example.

The narrower environment does also use font dependent values for the left and right margins.

A good method to set a global value for all environments is to set the dimension with the
\definemeasure command and access it with the \measure command.

% engine=pdftex

\definemeasure[myindent][12pt]

\setupindenting[yes,\measure{myindent}]

\setupnarrower
  [  left=\measure{myindent},
    right=\measure{myindent},
   middle=\measure{myindent}]

\setupitemize[each][margin=\measure{myindent}]%,width=\measure{myindent}]

\starttext

\input knuth

\startitemize
\item \input ward
\stopitemize

\startnarrower
\input zapf
\stopnarrower

\stoptext

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2014-08-20 17:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-19 14:27 itemize: how to get the first level items indented? Gerben Wierda
2014-08-19 14:33 ` Wolfgang Schuster
2014-08-19 22:21   ` Gerben Wierda
2014-08-19 23:22     ` Aditya Mahajan
2014-08-20 14:07       ` Gerben Wierda
2014-08-20 15:23         ` Wolfgang Schuster
2014-08-20 15:32           ` Gerben Wierda
2014-08-20 15:34             ` Wolfgang Schuster
2014-08-20 15:53               ` Gerben Wierda
2014-08-20 16:01                 ` Wolfgang Schuster
2014-08-20 17:01                   ` Gerben Wierda
2014-08-20 17:56                     ` Wolfgang Schuster

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