From: Miguel Queiros <mqueiros@autoclassicos.com.pt>
Subject: Columnset Areas - Background Color ?
Date: Thu, 26 Aug 2004 23:47:29 +0100 [thread overview]
Message-ID: <1093558013.2813.25.camel@daren> (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
reply other threads:[~2004-08-26 22:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1093558013.2813.25.camel@daren \
--to=mqueiros@autoclassicos.com.pt \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).