* framedtext and itemize
@ 2014-07-22 10:05 Meer, H. van der
2014-07-22 14:12 ` Otared Kavian
0 siblings, 1 reply; 3+ messages in thread
From: Meer, H. van der @ 2014-07-22 10:05 UTC (permalink / raw)
To: NTG ConTeXt
[-- Attachment #1.1.1: Type: text/plain, Size: 686 bytes --]
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
[-- Attachment #1.1.2: Type: text/html, Size: 1432 bytes --]
[-- Attachment #1.2: notframed.jpg --]
[-- Type: image/jpg, Size: 6212 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] 3+ messages in thread
* Re: framedtext and itemize
2014-07-22 10:05 framedtext and itemize Meer, H. van der
@ 2014-07-22 14:12 ` Otared Kavian
2014-07-22 14:29 ` Herbert Voss
0 siblings, 1 reply; 3+ messages in thread
From: Otared Kavian @ 2014-07-22 14:12 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1551 bytes --]
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@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@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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2880 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] 3+ messages in thread
end of thread, other threads:[~2014-07-22 14:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22 10:05 framedtext and itemize Meer, H. van der
2014-07-22 14:12 ` Otared Kavian
2014-07-22 14:29 ` Herbert Voss
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).