Hans Hagen schrieb am 24.08.2023 um 00:28:
On 8/23/2023 10:13 PM, Wolfgang Schuster wrote:
Hi,
when inline items are used and the itemize environment has a settings for the margin the value the whole paragraph is indented by the set value for itemize.
[...]
We need a check in this case to ensure the margin settings (margin, leftmargin and rightmargin) are ignored for inline items.
like this?
\ifconditional\c_strc_itemgroups_inline % ignore \orelse\ifnum\c_strc_itemgroups_nesting=\plusone % NIEUW \doadaptleftskip {\itemgroupparameter\c!margin}% \doadaptleftskip {\itemgroupparameter\c!leftmargin}% \doadaptrightskip{\itemgroupparameter\c!rightmargin}% \fi
More like this (text conditional): \ifconditional\c_strc_itemgroups_text \else \ifnum\c_strc_itemgroups_nesting=\plusone % NIEUW \doadaptleftskip {\itemgroupparameter\c!margin}% \doadaptleftskip {\itemgroupparameter\c!leftmargin}% \doadaptrightskip{\itemgroupparameter\c!rightmargin}% \fi % \doadaptleftskip {\itemgroupparameter\c!leftmargindistance}% \doadaptrightskip{\itemgroupparameter\c!rightmargindistance}% \fi Wolfgang