[NTG-context] How to start a \definedescription-defined description's body on a new line, not the same as the description's header?

Otared Kavian otared at gmail.com
Fri Oct 16 10:13:13 CEST 2015


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 <Louis.Strous at intellimagic.com> 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 at ntg.nl <mailto:ntg-context at 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/>
> ___________________________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20151016/8d15dcab/attachment.html>


More information about the ntg-context mailing list