Changes

Jump to navigation Jump to search
795 bytes added ,  16:42, 24 May 2006
m
Why \vskip is used in the example?
:: I don't know; I may try that out on my system at some point. Perhaps the LaTeX package cited is smart enough to wrap multiple lines around longer labels, or something? Or maybe it's just a case of "LaTeX has hardwired commands and packages to change them, while ConTeXt has commands with lots of options that the user can change" again. --[[User:Brooks|Brooks]] 19:43, 4 Sep 2005 (UTC)
 
== Multi paragraph descriptions ==
 
Why does the example have <code>\vskip 1em</code>? This looks ugly.
 
To have a ConTextish (is that a word?) soln, I want to change that to
<code>\blank[1em]</code>.
 
However, I think that using <cmd>\start ... \stop</cmd> is better for multiparagraph descriptions.
 
<texcode>
\definedescription[descr][
headstyle=bold,style=normal,align=left,location=hanging,
width=broad,margin=1cm]
 
\setupwhitespace[1em] %Because the example had \vskip 1em
 
\starttext
 
\startdescr{Para} This is a shorter item label, and some text that talks about it.
The text is wrapped into a paragraph, with successive lines indented.
This is another paragraph under the "Para" item.
\stopdescr
 
\stoptext
</texcode>
 
--[[User:Adityam|Aditya]] 18:40, 24 May 2006 (CEST)

Navigation menu