Am 05.03.2009 um 20:19 schrieb Aditya Mahajan:

On Thu, 5 Mar 2009, Wolfgang Schuster wrote:


Am 05.03.2009 um 19:48 schrieb Aditya Mahajan:

The textcolor does not work. I have to put in in text field.
The example that works is:
Hans: does it make sense to add text(style|color|command) and number(style|color|command) keys to enumerations? I could patch core-des.tex with these keys.

Hi Aditya, if you do this, can you also integrate the headalign key which is mentioned in core-des?

What should headalign do?


It should control the alignment of the headtext.

\setuplayout
  [backspace=5cm,
   leftmargin=4cm,
   width=12cm]

\definedescription
  [description]
  [location=margin,
   width=\leftmarginwidth]

\showframe

\starttext

\description{text} bla bla bla

\description{longer text} bla bla bla

%\setupdescriptions[description][headalign=flushright]
\setupdescriptions[description][text=\hfill]

\description{text} bla bla bla

\description{longer text} bla bla bla

\stoptext

Wolfgang

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to