Hello, Another tricky question. I have "Review Questions" at the end of each section. There are only questions inside, and they are enumerated. I felt natural to implement it as description. Going further, I added \startitemize and \stopitemize inside the description definition. Then my code looks neatly, but one annoying problem persist. Whatever I do, I cannot get blank space between description caption (text) and the items. I manage to have it before the block, after it, but not inbetween. Here is my minimal example that shows clearly that big skip disappears (there is a problem with indenting too, but that's another problem): \setupitemize[each][1,packed,nowhite,text] \definedescription[reviewquestions][location=serried, text={Review questions}, before={\blank[small]\startitemize}, inbetween={\blank[big]}, after={\stopitemize\blank[small]}] \starttext The section ends here. \startreviewquestions \item Question 1 \item Question 2 \item Question 3 \stopreviewquestions The next section starts here. \stoptext Best regards, Vyatcheslav
On Sun, 8 Nov 2009, Vyatcheslav Yatskovsky wrote:
Hello,
Another tricky question. I have "Review Questions" at the end of each section. There are only questions inside, and they are enumerated.
I felt natural to implement it as description. Going further, I added \startitemize and \stopitemize inside the description definition. Then my code looks neatly, but one annoying problem persist. Whatever I do, I cannot get blank space between description caption (text) and the items. I manage to have it before the block, after it, but not inbetween.
Here is my minimal example that shows clearly that big skip disappears (there is a problem with indenting too, but that's another problem):
\setupitemize[each][1,packed,nowhite,text]
\definedescription[reviewquestions][location=serried, text={Review
Change location=serried to location=top. Serried ignores the inbetween option as it does not make sense with serried. Aditya
questions}, before={\blank[small]\startitemize}, inbetween={\blank[big]}, after={\stopitemize\blank[small]}]
\starttext
The section ends here.
\startreviewquestions
\item Question 1
\item Question 2
\item Question 3
\stopreviewquestions
The next section starts here. \stoptext
Best regards, Vyatcheslav
participants (2)
-
Aditya Mahajan
-
Vyatcheslav Yatskovsky