Second-level itemization and indenting question
I have the following setup (in mkii) \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}] \starttext \input knuth \startitemize[joinedup,packed] \item \input tufte \startitemize[joinedup,packed] \item \input tufte \stopitemize \input tufte \stopitemize \stoptext The result is that quotations at first level are perfectly aligned with the indentation of the first line of a paragraph at first level. But the itemizations at second level are not. They are slightly less indented than the indentation of the first line of the paragraph in the first-level item. This can be seen at the last "We thrive" in the example, just after the second-level item. What can I do about that? G
Am 10.01.2015 um 13:36 schrieb Gerben Wierda
: I have the following setup (in mkii)
\definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}]
\starttext \input knuth \startitemize[joinedup,packed] \item \input tufte \startitemize[joinedup,packed] \item \input tufte \stopitemize \input tufte \stopitemize \stoptext
The result is that quotations at first level are perfectly aligned with the indentation of the first line of a paragraph at first level. But the itemizations at second level are not. They are slightly less indented than the indentation of the first line of the paragraph in the first-level item. This can be seen at the last "We thrive" in the example, just after the second-level item.
What can I do about that?
Is this what you want? \setupitemize[each][margin=\measure{CAindent},width=\measure{CAindent}] Wolfgang
On 10 Jan 2015, at 13:53, Wolfgang Schuster
Am 10.01.2015 um 13:36 schrieb Gerben Wierda
: I have the following setup (in mkii)
\definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}]
\starttext \input knuth \startitemize[joinedup,packed] \item \input tufte \startitemize[joinedup,packed] \item \input tufte \stopitemize \input tufte \stopitemize \stoptext
The result is that quotations at first level are perfectly aligned with the indentation of the first line of a paragraph at first level. But the itemizations at second level are not. They are slightly less indented than the indentation of the first line of the paragraph in the first-level item. This can be seen at the last "We thrive" in the example, just after the second-level item.
What can I do about that?
Is this what you want?
\setupitemize[each][margin=\measure{CAindent},width=\measure{CAindent}]
Yes. Can I get the same effect on this one? \definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}] \definedescription[Member][headstyle=bold, location=hanging,indenting={yes,\measure{CAindent}},width=fit] \starttext \input knuth \startMember{Tufte} \input tufte \stopMember \input knuth \stoptext Here, the indentation of the Member differs from the first-line-of-paragraph indent (slightly larger) G
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 ___________________________________________________________________________________
Am 10.01.2015 um 14:18 schrieb Gerben Wierda
: On 10 Jan 2015, at 13:53, Wolfgang Schuster
mailto:schuster.wolfgang@gmail.com> wrote: Am 10.01.2015 um 13:36 schrieb Gerben Wierda
mailto:gerben.wierda@rna.nl>: I have the following setup (in mkii)
\definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}]
\starttext \input knuth \startitemize[joinedup,packed] \item \input tufte \startitemize[joinedup,packed] \item \input tufte \stopitemize \input tufte \stopitemize \stoptext
The result is that quotations at first level are perfectly aligned with the indentation of the first line of a paragraph at first level. But the itemizations at second level are not. They are slightly less indented than the indentation of the first line of the paragraph in the first-level item. This can be seen at the last "We thrive" in the example, just after the second-level item.
What can I do about that?
Is this what you want?
\setupitemize[each][margin=\measure{CAindent},width=\measure{CAindent}]
Yes. Can I get the same effect on this one?
\definemeasure[CAindent][12pt] \setupindenting[yes,\measure{CAindent}] \setupnarrower [ left=\measure{CAindent}, right=\measure{CAindent}, middle=\measure{CAindent}] \setupitemize[each][margin=\measure{CAindent}]
\definedescription[Member][headstyle=bold, location=hanging,indenting={yes,\measure{CAindent}},width=fit]
\starttext \input knuth \startMember{Tufte} \input tufte \stopMember \input knuth \stoptext
Here, the indentation of the Member differs from the first-line-of-paragraph indent (slightly larger)
\definedescription[Member][...,margin=\measure{CAindent}] Wolfgang
participants (2)
-
Gerben Wierda
-
Wolfgang Schuster