From: Gilbert van den Dobbelsteen <GILBERT@login.iaf.nl>
Subject: Re: \startbackground and verbatims
Date: Wed, 23 Oct 2002 16:39:00 +0000 (UTC) [thread overview]
Message-ID: <367faf70.login@login.iaf.nl> (raw)
> Gilbert van den Dobbelsteen wrote:
>
> > I am having some difficulties with colored backgrounds and verbatim
> > like stuff.
>
> There are two kinds of backgrounds. When you want a background to a page
> are specific area of the page, use \setupbackgrounds. This has nothing
> to do with the running text. You can put a background behind text, using
> \startbackground etc. This will cross the page boder ok, takes care of
> some offsets etc.
Yep, well, I am using
\startbackground Some stuff \stopbackground
>
> How do you mean beyond?
The backgound crosses the page-size:
+-----------------+ --> text boundary
| |
| +---------+ | --> Backgound edges
| |Some text| |
| |Some text| |
|---+_________+---+
The background box is a bit deeper then the page-boundary (Sorry, I
mean the \zethoogte).
If you need more info, I can send you the resulting .pdf file which
shows these difficulties (I will not post it on the list). I can also
send you the style file I use, but it is **very* similar to s-pre-01
> Yes. Even multiples and mixed with color:
>
> \defineoverlay[one][this is one]
> \defineoverlay[two][this is the second one]
> \defineoverlay[three][this is the last one]
>
> \setupcolors[state=start]
>
> \framed[background={color,one,two,three},backgroundcolor=red]{Hi there}
This is *very* cool (I don't need it right now, but I'll keep it in
mind.
> > % From TeX by Topic:
> > {\catcode`\^^M=13 %
> > \gdef\olines{\catcode`\^^M=13 \def^^M{\par\leavevmode}}%
> > }
>
> \obeylines will do.
The \leavevmode was necessary to make consecutive empty lines show
up too (normally they are handled like multiple \par, e.g. they are
changed into a single \par.
>
> > \def\startposter#1{\startachtergrond\bgroup\olines}
>
> wat doet die #1 daar?
Dat komt later. Die #1 wordt later:
\naar[#1::]{Echter poster}
where #1.pdf --> poster file of the destination
> Why the obeylines?
Because the people who wrote the input file needed some basic formatting
control (simply some newlines will suffice for them).
Gilbert.
next reply other threads:[~2002-10-23 16:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-23 16:39 Gilbert van den Dobbelsteen [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-23 16:38 Gilbert van den Dobbelsteen
1998-12-22 20:17 Hans Hagen
1998-12-22 10:22 Hans Hagen
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=367faf70.login@login.iaf.nl \
--to=gilbert@login.iaf.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).