From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12952 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: RE: \underbar not allowing line-breaking Date: Fri, 22 Aug 2003 00:07:12 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030822000505.0121bdc8@server-1> References: <5.2.0.9.1.20030805223522.019b1fd0@server-1.pragma-net.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1061505743 27311 80.91.224.253 (21 Aug 2003 22:42:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2003 22:42:23 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Aug 22 00:42:21 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19py8L-00076e-00 for ; Fri, 22 Aug 2003 00:42:21 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 0534110B78; Fri, 22 Aug 2003 00:42:18 +0200 (MEST) Original-Received: from mail.solcon.net (mail.solcon.net [212.45.33.5]) by ref.ntg.nl (Postfix) with ESMTP id 942A210B68 for ; Fri, 22 Aug 2003 00:12:30 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.net (8.11.6/8.9.3) with ESMTP id h7LMCIc24972 for ; Fri, 22 Aug 2003 00:12:18 +0200 Original-Received: from laptop-3.wxs.nl (laptop-3.pragma-net [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 94705219E4 for ; Fri, 22 Aug 2003 00:12:18 +0200 (CEST) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: Original-References: <5.2.0.9.1.20030805223522.019b1fd0@server-1.pragma-net.nl> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12952 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12952 At 10:51 13/08/2003 +0100, you wrote: >Hans wrote: > > > % output=pdftex > > > > \starttext > > > > \definetextbackground > > [underbared] > > [alternative=1,location=text, > > background=,frame=] > > > > \def\underbared > > {\groupedcommand > > {\starttextbackground[underbared]} > > {\stoptextbackground}} > > > > > > \underbared{\input tufte\relax} > > > > \stoptext > > > > typical an example for a MyWay document -) > >Thanks! I've been looking through core-pos to try to understand how I can >change the look of this. I can set the colour of the line with framecolor, >but I can't seem to adjust the offset. The default appears to be overlay, >but this looks ugly as an underline, as it obscures the baseline of the >text. I have tried offset=, frameoffset= and backgroundoffset=, but no >change occurs. > >Then I also tried getting rid of the alternative=1 (what does this do?) and >putting frame=off,bottomframe=on, but this produced no output at all. > >Is there a way to do it? you can redefine the metapost graphic, the main thing there is that you draw/fill something related to the multipar paths; it takes a bit of experimenting, but after a while you start seeing possibilities. See plus-rul.tex for an example of such a graphic. 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 -------------------------------------------------------------------------