ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* framed items
@ 2009-11-16  8:21 Thomas A. Schmitz
  2009-11-16  8:33 ` Aditya Mahajan
  0 siblings, 1 reply; 33+ messages in thread
From: Thomas A. Schmitz @ 2009-11-16  8:21 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hi all,

maybe there is already code for that, but I haven't found it: is it  
possible to have itemgroups where every single item is within a frame  
(this is something that may be interesting for presentations)? Just to  
give you an idea of what I want to achieve, here's a short example:

\setuplayout[width=10cm]

\starttext
\setupframed[offset=2mm,
	     corner=round,
	     background=color,
	     backgroundcolor=blue,
	     foregroundcolor=white,
	     frame=off,
	     strut=no,
	     align=normal,
	     width=\textwidth]

\startitemize[n]
\item \framed{The text of this item is made very long because it is  
intended to
show the effect of what happens when an item extends to more than just  
one
line.}
\item \framed{This item is relatively short, but also fills more than  
one
line.}
\stopitemize

\stoptext

The problem is the vertical alignment of the item number, which should  
be at the top of the frame. Is this possible?

All best

Thomas
___________________________________________________________________________________
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] 33+ messages in thread

end of thread, other threads:[~2009-11-17 23:28 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16  8:21 framed items Thomas A. Schmitz
2009-11-16  8:33 ` Aditya Mahajan
2009-11-16  8:41   ` Thomas A. Schmitz
2009-11-16  8:45     ` Wolfgang Schuster
2009-11-16  8:47     ` Aditya Mahajan
2009-11-16  8:55     ` Wolfgang Schuster
2009-11-16  9:09       ` Thomas A. Schmitz
2009-11-16  9:16         ` Wolfgang Schuster
2009-11-16  9:26         ` luigi scarso
2009-11-16  9:12       ` Aditya Mahajan
2009-11-16  9:14         ` luigi scarso
2009-11-16  9:17           ` Aditya Mahajan
2009-11-16  9:27             ` luigi scarso
2009-11-16 20:58             ` luigi scarso
2009-11-16 21:29               ` Aditya Mahajan
2009-11-16 21:46                 ` luigi scarso
2009-11-16 21:56                   ` Wolfgang Schuster
2009-11-16 21:58                   ` Aditya Mahajan
2009-11-16 22:20                     ` luigi scarso
2009-11-16 22:31                       ` luigi scarso
2009-11-16 22:36                         ` Wolfgang Schuster
2009-11-16 22:42                           ` luigi scarso
2009-11-16 22:49                             ` luigi scarso
2009-11-16 23:01                               ` Wolfgang Schuster
2009-11-16 23:19                                 ` luigi scarso
2009-11-16 23:24                                   ` Wolfgang Schuster
2009-11-17  5:52                                     ` luigi scarso
2009-11-17  8:12                                       ` luigi scarso
2009-11-17  8:38                                         ` Wolfgang Schuster
2009-11-17 15:32                                       ` Aditya Mahajan
2009-11-17 15:34                                         ` luigi scarso
2009-11-17 15:41                                           ` Aditya Mahajan
2009-11-17 23:28                                             ` luigi scarso

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).