Changes

Jump to navigation Jump to search
938 bytes added ,  17:03, 7 June 2006
→‎ConTeXt: Mutli-para descriptions
\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. \descrstartdescr{ParaSub Item} This is a shorter description of an item which is within the "Para" item label, and some text that talks about it. The text is wrapped into a paragraph, with successive lines indented. \stopdescr \startdescr{Sub Item} Another Sub Item \stopdescr\stopdescr \vskip1emstartdescr{Short} This is another paragraph under the A short item that's not part of that really long "Para" item.\stopdescr
\stoptext
</texcode>
 
<context>
\setuplayout[width=13cm]
\definedescription[descr][
headstyle=bold,style=normal,align=left,location=hanging,
width=broad,margin=1cm]
 
\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.
\startdescr{Sub Item}
This is a description of an item which is within the
"Para" item.
\stopdescr
\startdescr{Sub Item}
Another Sub Item
\stopdescr
\stopdescr
\startdescr{Short}
A short item that's not part of that really long "Para" item.
\stopdescr
\stoptext
</texcodecontext>
= Descriptions with Fixed Label Width =

Navigation menu