Re: [NTG-context] framedtext and itemize
Am 22.07.2014 16:12, schrieb Otared Kavian: > 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 or \item \inframed[width=\localhsize,align=right]{Some text.} Herbert ___ 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 ___
Re: [NTG-context] framedtext and itemize
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 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. > > 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@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 > ___ ___ 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 ___
[NTG-context] framedtext and itemize
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. [cid:3B8394EB-ADB8-4DA9-9E09-6ACFB9389BB4] 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@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 ___