From: John Culleton <john@wexfordpress.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Adam Lindsay <atl@comp.lancs.ac.uk>
Subject: Re: Sidebars and versals Oh my!
Date: Mon, 27 Dec 2004 15:29:10 -0500 [thread overview]
Message-ID: <200412271529.10169.john@wexfordpress.com> (raw)
In-Reply-To: <41D0628E.2090504@wxs.nl>
On Monday 27 December 2004 14:29, Hans Hagen wrote:
> \starttext
>
> \setupcolors[state=start]
>
> \framed[corner=round,background=color,backgroundcolor=red]{HELLO}
>
> \framed[corner=round,background=screen,backgroundscreen=.6]{HELLO}
>
> \setupfloat
> [intermezzo]
> [leftmargindistance=-\outercombitotal,
> rightmargindistance=-\outercombitotal,
> default=outer]
>
> \setupcaption[intermezzo][location=none]
>
> \defineframedtext
> [myohmy]
>
> [width=7cm,bodyfont=small,corner=round,background=screen,backgroundscreen=.
>6]
>
> \showframe
> \input ward
> \placeintermezzo{}{\startmyohmy \input dawkins \relax\stopmyohmy}
> \dorecurse{3}{\input knuth \par}
>
> \stoptext
>
AHA!
I fiddled a bit to correct justification, and to get rid of the frame. Forced
hyphenation could have corrected things without so much tolerance.
-------------------------------------------------
\setupcolors[state=start]
\tolerance=1000
\frenchspacing
\starttext
\framed[corner=round,background=color,backgroundcolor=red]{HELLO}
\framed[corner=round,background=screen,backgroundscreen=.6]{HELLO}
\setupfloat
[intermezzo]
[leftmargindistance=-\outercombitotal,
rightmargindistance=-\outercombitotal,
default=outer,high]
\setupcaption[intermezzo][location=none]
\defineframedtext
[myohmy]
[width=7cm,bodyfont=small,
frame=off,
backgroundcorner=round,
backgroundradius=16pt,background=screen,backgroundscreen=.7]
%\showframe
\input ward
\placeintermezzo{}{\startmyohmy \frenchspacing\tolerance=7000\input dawkins
\relax\stopmyohmy}
\dorecurse{3}{\input knuth \par}
\stoptext
--------------------------------------
The only defect I can spot, and this is really a nit-pick, are the short lines
in the main body text just above and just below the intermezzo/sidebar.
This is really very valuable.
A low bow in the direction of my mentors, Hans and Adam.
--
John Culleton
Short list of publishing/marketing books:
http://wexfordpress.com/tex/shortlist.pdf
next prev parent reply other threads:[~2004-12-27 20:29 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-24 16:15 John Culleton
2004-12-26 20:33 ` h h extern
2004-12-27 11:33 ` Adam Lindsay
2004-12-27 15:10 ` John Culleton
2004-12-27 17:08 ` Adam Lindsay
2004-12-27 17:42 ` John Culleton
2004-12-27 19:15 ` if I only had a frame (was: Re: Sidebars and versals Oh my!) Adam Lindsay
2004-12-27 19:24 ` if I only had a frame Hans Hagen
2004-12-27 19:40 ` Adam Lindsay
2004-12-27 19:46 ` Hans Hagen
2004-12-27 19:25 ` Hans Hagen
2004-12-27 19:29 ` Sidebars and versals Oh my! Hans Hagen
2004-12-27 20:29 ` John Culleton [this message]
2004-12-27 20:56 ` Adam Lindsay
2004-12-27 21:19 ` Hans Hagen
2004-12-27 21:31 ` Adam Lindsay
2004-12-29 22:05 ` Tobias Hilbricht
2004-12-30 9:32 ` Hans Hagen
2005-01-03 9:22 ` Tobias Hilbricht
2005-01-03 10:06 ` Hans Hagen
2005-01-03 10:39 ` Tobias Hilbricht
2005-01-03 12:32 ` Hans Hagen
2005-01-03 13:54 ` Tobias Hilbricht
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=200412271529.10169.john@wexfordpress.com \
--to=john@wexfordpress.com \
--cc=atl@comp.lancs.ac.uk \
--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).