From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17628 Path: main.gmane.org!not-for-mail From: John Culleton Newsgroups: gmane.comp.tex.context Subject: Sidebars and versals Oh my! Date: Fri, 24 Dec 2004 11:15:57 -0500 Organization: WexfordPress Message-ID: <200412241115.57398.john@wexfordpress.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103905693 29009 80.91.229.6 (24 Dec 2004 16:28:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2004 16:28:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 24 17:28:07 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ChsIR-0001zf-00 for ; Fri, 24 Dec 2004 17:28:07 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D7CB6126F8; Fri, 24 Dec 2004 17:28:06 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19744-02; Fri, 24 Dec 2004 17:28:06 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 860F112788; Fri, 24 Dec 2004 17:24:49 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B5C9612788 for ; Fri, 24 Dec 2004 17:24:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19744-01 for ; Fri, 24 Dec 2004 17:24:46 +0100 (CET) Original-Received: from mta10.adelphia.net (unknown [68.168.78.202]) by ronja.ntg.nl (Postfix) with ESMTP id AFC94126F8 for ; Fri, 24 Dec 2004 17:24:46 +0100 (CET) Original-Received: from 69-174-190-44.frdrmd.adelphia.net ([69.174.190.44]) by mta10.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20041224162440.IGBD25543.mta10.adelphia.net@69-174-190-44.frdrmd.adelphia.net> for ; Fri, 24 Dec 2004 11:24:40 -0500 Original-To: ntg-context@ntg.nl User-Agent: KMail/1.6.2 Content-Disposition: inline X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17628 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17628 Been working my way through the examples in the Columns Manual, the Details Manual etc. and had some thoughts on additional features. Versals come in many different flavors, of which the conventional dropped cap is just one. Even that facility could use a tweak. Conventionally, to provide a transition from the dropped cap to the normal text, the rest of the first word, or the next two or three words, or sometimes the entire first line is put in a small caps typeface. I cobbled up my own macro for this for a particular book I typeset: \def\drop#1#2{% \noindent {\head #1} \vskip -20pt \noindent \hangindent=1.7em \hangafter=-2 {\sc #2} } But this is not the only type of versal. Sometimes a large capital letter (perhaps in italics) is centered on the top of the textblock thus: \def\drop#1#2{\noindent\hglue .4\hsize{\tfd#1}{\sc#2}} Now there are other variations seen in fine books, such as a dropped initial cap partly or completely protruding into the left margin, often colored gray. The first macro above could be modified for a specific case. A general macro is more challenging. A matter of continuing interest is the sidebar, which can be placed in the outer margin, or flush left or right in a paragraph, or partly protruding into the outer margin. Usually these sidebars will have a gray background and often have a border. It appears that creating the sidebar separately as a pdf graphic and then importing and placing it would be the easiest way home. Context already has mechanisms for flowing or wrapping text around a graphic. How well the wraparound feature works when more than one short paragraph is involved I have not tested yet. In any case I will continue to explore these layout features, and if anything interesting shows up I will share. -- John Culleton Short list of publishing/marketing books: http://wexfordpress.com/tex/shortlist.pdf