From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8756 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Margin text Date: Mon, 22 Jul 2002 19:13:45 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020722185311.02dc7e18@server-1> References: <20020722102557.4b25f4dd.wmcclain@salamander.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035399139 30267 80.91.224.250 (23 Oct 2002 18:52:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:52:19 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Bill McClain In-Reply-To: <20020722102557.4b25f4dd.wmcclain@salamander.com> Xref: main.gmane.org gmane.comp.tex.context:8756 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8756 At 10:25 AM 7/22/2002 -0500, you wrote: >Hello! Using ConTeXt ver: 2002.7.12. > >I am doing my first project which requires margin texts. This is for a >printed book. I see in the manual two ways of using margin texts: >Chapters 4.8 and 12.6. > >I define the layout: > >\setuplayout[backspace=0.9375in, width=3.25in, > rightmargindistance=.25in, rightmargin=1.25in] > >My understanding: "width" is for the body text, >"[right|left]margindistance" is the space between the body text and the >margin, and "[right|left]margin" is the width of the margin area into >which I want to place the margin texts. This all seems to work with both >methods. > >(1) Chapter 4.8. Using: > >\setupinmargin[ > style={\tfxx\setupindenting[none]\setupinterlinespace[line=2.7ex]}, > align=right] > >\inmargin{...} works as expected, but \margintext{...} always aligns >the note with the start of the next paragraph, even when there is room >on the current page. right, this is intended behavoir, the margintext command anchors the text at the next paragraph and can stack texts (you can set fonts etc for each stack level; this permits things like xxxx yyyyy sometext aaa bbb more text >(2) Chapter 12.6. Using > >\setupmarginblocks[ > style={\tfxx\setupindenting[none]\setupinterlinespace[line=2.7ex]}, > align=right] > >(a) With \startmarginblock...\stopmarginblock, the note is vertically >aligned with the top of the body text. A second note will be spaced >just below the first, which would be fine if the first one were >aligned correctly. this mechanism is rather unfinished (yet) >(b) None of my \setupinterlinespace values seem to have effect. Line >spacing appears to be that of the body text. i can provide a key for that >(3) Presuming I could get the Chapter 12.6 method working, is either >method prefered over the other? depend on your needs (auto inner/outer, stacking etc) [btw, there is also an experimental method for forcing baseline alignment, e.g. with formulas and so) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------