Von: ntg-context Im Auftrag von Wolfgang Schuster
Gesendet: Dienstag, 1. Juni 2021 11:05
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] itemize margins,
denis.maier@ub.unibe.chmailto:denis.maier@ub.unibe.ch schrieb am 01.06.2021 um 10:46:
Hi,
in the following example the second line of the quote is not lined up with the first line.
=========================
\starttext
\startitemize[n]
[
%right=),
%stopper=,
%width=2em,
%alternative=fit,
%alternative=left,
%alternative=intext,
%distance=1em,
%leftmargin=1em,
%itemalign=flushleft,
]
\startitem
\setupindenting[no]
\input knuth
\stopitem
\stoptext
==========================
I've played with different options, but I couldn't get the indents and margins right. What am I missing ? Any hints ?
You are adding a extra space in the first line at the end of the \setupindenting line.
Ah, of course. Thanks!
To get rid of the space add % after the setup (i.e. \setupindenting[no]%) or even better use the indenting key with \startitemize or \setupitemize (i.e. \startitemize[indneting=no]).
\startitemize[indenting=no] works perfectly.
Denis