[NTG-context] framedtext and itemize

Otared Kavian otared at gmail.com
Tue Jul 22 16:12:13 CEST 2014


Hi,

Maybe you want something like this:

\starttext
\startitemize[n]
\setlocalhsize
\item \framed[width=\localhsize,align=right]{Some text.}
\item \startframed[width=\localhsize,align=right] Some text. \stopframed
\stopitemize
\stoptext

Best regards: OK

On 22 Jul 2014, at 12:05, Meer, H. van der <H.vanderMeer at uva.nl> wrote:

> I have a question regarding the interplay between framedtext and itemize.
> 
> Example
> \startitemize[n]\startitem
> \startframedtext[left][width=0.5\textwidth]\leavevmode
>    some text
> \stopframedtext
> \stopitem\stopitemize
> 
> The framedtext is put on the next line instead of on the first of the item.
> <notframed.jpg>
> How do I get here the top frameline of the framedtext aligned with the 1. of the itemnumber? Playing with the location-parameter on the \startframedtext doesn't seem to make any difference. Especially I would like the baseline of the  first line inside the framed text to be at the same level as the itemlabel.
> 
> Hans van der Meer
> 
> 
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________

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


More information about the ntg-context mailing list