ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Matthias Weber <matweber@indiana.edu>
Subject: Columns and backgrounds problem
Date: Tue, 7 Nov 2006 09:39:01 -0500	[thread overview]
Message-ID: <10672EFD-4494-4BD7-BFF1-652F1FA20C7D@indiana.edu> (raw)

Hello,

I am trying to use backgrounds in columns. Typically, the background  
runs into the other column as the following example.

Is this a limitation, or am I doing something wrong?

Any help is appreciated.

Matthias




\setupcolors[state=start]
\setuppagenumbering[location=]
\setupbodyfont[12pt]

\definecolor[myframecolor][r=.0,g=.5,b=.6]
\definecolor[myheadcolor][r=.0,g=.5,b=.0]
\definecolor[myemcolor][r=.6,g=.1,b=.5]
\definecolor[textcolor][r=.2,g=.02,b=.3]



\definecolor[thmcolor]
	[r=.94,g=.94,b=.9]
	
\definetextbackground
[thmbackground]
[backgroundcolor=thmcolor,
%corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
frame=on,
framecolor=darkblue,
location=paragraph,
color=darkblue]


\defineenumeration
[theorem]
[before={\starttextbackground[thmbackground]},
after={\stoptextbackground},
text=Theorem,
way=bysection,
location=hanging,
letter=rm]


\setuppapersize[letter][letter]


\starttext


\startcolumns[n=2]

\input tufte

\starttheorem $1+1=2$
\stoptheorem

\input tufte

\starttheorem $1+1=2$
\stoptheorem

\input tufte


\stopcolumns

\stoptext 

             reply	other threads:[~2006-11-07 14:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07 14:39 Matthias Weber [this message]
2006-11-10 20:37 ` Matthias Weber

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=10672EFD-4494-4BD7-BFF1-652F1FA20C7D@indiana.edu \
    --to=matweber@indiana.edu \
    --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).