How to start a \definedescription-defined description's body on a new line, not the same as the description's header?
![](https://secure.gravatar.com/avatar/6be678faf3bf194973a7227866465594.jpg?s=120&d=mm&r=g)
With [start sample] \definedescription[cmddescription][headstyle=bold,width=broad,style=normal,align=flushleft,alternative=hanging,margin=1cm] ... \startcmddescription{mycommand} This is a very useful command. It knows just what to do, and you don't even have to specify any options! \stopcmddescription [end sample] the text "This is a very useful command" begins on the same line as the "mycommand" header. I want the text to begin on the next line, so that "mycommand" is on a line of its own. How should I adjust the \definedescription command to achieve this? I've tried all kinds of things with the 'before', 'inbetween', 'after', 'indentnext', 'command', and 'headcommand' options of the \definedescription command (based on http://wiki.contextgarden.net/Command/setupdescriptions), using \par, \crlf, and \vspace, but didn't get the desired results. Regards, Louis Strous IntelliMagic - Availability Intelligence T: +31 (0)71-579 6000 www.intellimagic.comhttp://www.intellimagic.com
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
Hi Louis, II guess what you need is the keyword alternative=top in the setup of your descritiption. Best regards: OK
On 09 Oct 2015, at 18:13, Louis Strous
wrote: With
[start sample] \definedescription[cmddescription][headstyle=bold,width=broad,style=normal,align=flushleft,alternative=hanging,margin=1cm]
...
\startcmddescription{mycommand}
This is a very useful command. It knows just what to do, and you don't even have to specify any options!
\stopcmddescription [end sample]
the text "This is a very useful command" begins on the same line as the "mycommand" header. I want the text to begin on the next line, so that "mycommand" is on a line of its own. How should I adjust the \definedescription command to achieve this? I've tried all kinds of things with the 'before', 'inbetween', 'after', 'indentnext', 'command', and 'headcommand' options of the \definedescription command (based on http://wiki.contextgarden.net/Command/setupdescriptions http://wiki.contextgarden.net/Command/setupdescriptions), using \par, \crlf, and \vspace, but didn't get the desired results.
Regards, Louis Strous
IntelliMagic - Availability Intelligence T: +31 (0)71-579 6000 www.intellimagic.com http://www.intellimagic.com/
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://tex.aanhet.net http://tex.aanhet.net/ archive : http://foundry.supelec.fr/projects/contextrev/ http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
participants (2)
-
Louis Strous
-
Otared Kavian