* Columnset Areas - Background Color ?
@ 2004-08-26 22:47 Miguel Queiros
0 siblings, 0 replies; only message in thread
From: Miguel Queiros @ 2004-08-26 22:47 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
Hi !
I've been trying to use columnsets with columnsetareas
but I haven't been able to define a background color
for the text in the columnset area. You can see the
problem in the pdf I've attached (area5.pdf).
I'v created a small example of the problem: area5.tex
As far as I recall I've also tried to use a
columnset span but the problem was the same.
Can anyone provide me with some hints so that I
can use some background color in columnsetareas ?
Thanks,
Miguel Queirós
[-- Attachment #2: area5.tex --]
[-- Type: text/x-tex, Size: 1982 bytes --]
\definecolumnset[example][n=2]
\setupcolors [state=start,conversion=yes, reduction=no, rgb=yes, cmyk=yes]
% Definição de uma das Areas
\definetextbackground[title]
[ backgroundcolor=blue,
backgroundoffset=.5cm,
offset=.5cm,
frame=off,
location=paragraph,
color=white]
\definecolumnsetarea[title][right]
[x=2,y=15,nx=1,ny=6,
% backgroundcolor=blue,
align={lohi,right},state=start]
% contrast
\setupcolumnsetareatext[title][right]
[\setups{title}]
\startsetups[title]
\starttextbackground[title]
Isto é uma pequena experiencia para ver se funciona o que estou a experimentar.
Não sei se esta exactamente como quero, mas logo se vera.
\stoptextbackground
\stopsetups
% Fim da definição de uma das Areas
% Definição de uma das Areas
\definecolumnsetarea[cs-areas][right]
[x=1,y=4,nx=2,ny=4,
% background=darkyellow,
align={lohi,right},state=start]
\definetextbackground[cs-areas]
[ backgroundcolor=red,
backgroundoffset=.5cm,
offset=.5cm,
frame=off,
location=paragraph,
color=white]
\setupcolumnsetareatext[cs-areas][right]
[\setups{cs-areas}]
\startsetups[cs-areas]
\starttextbackground[cs-areas]
Este texto foi definido utilizando Column Sets e Areas. Este texto foi definido utilizando Column Sets e Areas.
\stoptextbackground
\stopsetups
% Fim da definição de uma das areas
% Definição de uma das Areas
\definecolumnsetarea[area3][right]
[x=1,y=20,nx=1,ny=4,
align={lohi,right},state=start]
\definetextbackground[area3]
[ backgroundcolor=green,
backgroundoffset=0.5cm,
offset=0.5cm,
frame=off,
location=paragraph,
color=white]
\setupcolumnsetareatext[area3][right]
[\setups{area3}]
\startsetups[area3]
\starttextbackground[area3]
Mais um exemplo de Areas.
\stoptextbackground
\stopsetups
% Fim da definição de uma das areas
\starttext
\startcolumnset[example]
\dorecurse{38} {abcd h432 hk4 h4k 2h3 jk32h 4k 23h 4kj2 34k j2 hkh 3kjh 42 ks }
\stopcolumnset
\stoptext
[-- Attachment #3: area5.pdf --]
[-- Type: application/pdf, Size: 12711 bytes --]
[-- Attachment #4: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-26 22:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-26 22:47 Columnset Areas - Background Color ? Miguel Queiros
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).