ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to start a \definedescription-defined description's body on a new line, not the same as the description's header?
@ 2015-10-09 16:13 Louis Strous
  2015-10-16  8:13 ` Otared Kavian
  0 siblings, 1 reply; 2+ messages in thread
From: Louis Strous @ 2015-10-09 16:13 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1029 bytes --]

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.com<http://www.intellimagic.com>


[-- Attachment #1.2: Type: text/html, Size: 3740 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to start a \definedescription-defined description's body on a new line, not the same as the description's header?
  2015-10-09 16:13 How to start a \definedescription-defined description's body on a new line, not the same as the description's header? Louis Strous
@ 2015-10-16  8:13 ` Otared Kavian
  0 siblings, 0 replies; 2+ messages in thread
From: Otared Kavian @ 2015-10-16  8:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2081 bytes --]

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@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@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/>
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 14381 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-16  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09 16:13 How to start a \definedescription-defined description's body on a new line, not the same as the description's header? Louis Strous
2015-10-16  8:13 ` Otared Kavian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).