En/na Wolfgang Schuster ha escrit:
Am 02.10.2009 um 13:29 schrieb Xan:
If I put \startframedtext[frame=off,background=screen,width=broad]....\stopframedtext in naturaltable, then I get that framed text passes table and that it aligns at top.
Can you say me please how to get a right behaviour?
\startframedtext[location=top,frame=off,background=screen,width=\dimexpr\hsize-\itemgrouplistwidth\relax]
It does not work:
\itemgrouplistwidth is not defined in mkii, you could use a fixed value like 2em to decrease the width of the framedtext
\startframedtext[..,width=\dimexpr\hsize-2em\relax,...]
It does not work at all. The bullet is at top of the framedtext.
@Hans: can you save the current width of the textarea in itemize in \localhsize so one can say 'width=\localhsize'
Wolfgang
Am 02.10.2009 um 20:57 schrieb Xan:
It does not work at all. The bullet is at top of the framedtext.
Interesting result. \setupcolors[state=start] \startbuffer[startframedtext] \bTABLE \bTR \bTD \startitemize \item \startframedtext [location=top,frame=off,background=color,backgroundcolor=gray,width= \dimexpr\hsize-2em\relax] {\bf \em Estructura interna fixa i ordenada}. Les partícules que formen els minerals estan {\bf \em \red{ordenades}} i ocupen un {\bf \em \red {lloc fix}} a l'espai. Qualsevol mostra d'un mateix mineral sempre té la mateixa estructura. \stopframedtext \stopitemize \eTD \bTD text \eTD \eTR \eTABLE \stopbuffer \startbuffer[framedtext] \bTABLE \bTR \bTD \startitemize \item \framedtext [location=top,frame=off,background=color,backgroundcolor=gray,width= \dimexpr\hsize-2em\relax] {{\bf \em Estructura interna fixa i ordenada}. Les partícules que formen els minerals estan {\bf \em \red{ordenades}} i ocupen un {\bf \em \red {lloc fix}} a l'espai. Qualsevol mostra d'un mateix mineral sempre té la mateixa estructura.} \stopitemize \eTD \bTD text \eTD \eTR \eTABLE \stopbuffer \starttext \subject{Floats} \subsubject{Framedtext environment} \placefigure[none]{}{\getbuffer[startframedtext]} \subsubject{Framedtext command} \placefigure[none]{}{\getbuffer[framedtext]} \subject{Inline tables} \subsubject{Framedtext environment} \getbuffer[startframedtext] \subsubject{Framedtext command} \getbuffer[framedtext] \stoptext Wolfgang
En/na Wolfgang Schuster ha escrit:
Am 02.10.2009 um 20:57 schrieb Xan:
It does not work at all. The bullet is at top of the framedtext.
Interesting result.
\setupcolors[state=start]
\startbuffer[startframedtext] \bTABLE \bTR \bTD \startitemize \item \startframedtext[location=top,frame=off,background=color,backgroundcolor=gray,width=\dimexpr\hsize-2em\relax]
{\bf \em Estructura interna fixa i ordenada}. Les partícules que formen els minerals estan {\bf \em \red{ordenades}} i ocupen un {\bf \em \red{lloc fix}} a l'espai. Qualsevol mostra d'un mateix mineral sempre té la mateixa estructura. \stopframedtext \stopitemize \eTD \bTD text \eTD \eTR \eTABLE \stopbuffer
\startbuffer[framedtext] \bTABLE \bTR \bTD \startitemize \item \framedtext[location=top,frame=off,background=color,backgroundcolor=gray,width=\dimexpr\hsize-2em\relax]
{{\bf \em Estructura interna fixa i ordenada}. Les partícules que formen els minerals estan {\bf \em \red{ordenades}} i ocupen un {\bf \em \red{lloc fix}} a l'espai. Qualsevol mostra d'un mateix mineral sempre té la mateixa estructura.} \stopitemize \eTD \bTD text \eTD \eTR \eTABLE \stopbuffer
\starttext
\subject{Floats}
\subsubject{Framedtext environment}
\placefigure[none]{}{\getbuffer[startframedtext]}
\subsubject{Framedtext command}
\placefigure[none]{}{\getbuffer[framedtext]}
\subject{Inline tables}
\subsubject{Framedtext environment}
\getbuffer[startframedtext]
\subsubject{Framedtext command}
\getbuffer[framedtext]
\stoptext
Wolfgang
It works. Thanks, Wolfgang, Xan.
participants (2)
-
Wolfgang Schuster
-
Xan