From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77871 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: Figured bass symbols in a text. Date: Fri, 10 Aug 2012 21:09:20 +0200 Message-ID: References: <3D9918EB-D352-497F-938A-1B118672554E@gmail.com> <4BE3B246-2AA5-4231-AFEF-F5DE735D37EF@emory.edu> <4FAB7784-A41B-45E6-B281-ECF32467A445@gmail.com> <50254C08.4070108@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344625854 28759 80.91.229.3 (10 Aug 2012 19:10:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2012 19:10:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 10 21:10:53 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Szual-0000ZT-UK for gctc-ntg-context-518@m.gmane.org; Fri, 10 Aug 2012 21:09:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B30DC10204; Fri, 10 Aug 2012 21:09:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5tpEa6muQNz3; Fri, 10 Aug 2012 21:09:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9A64D101EF; Fri, 10 Aug 2012 21:09:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62B98101EF for ; Fri, 10 Aug 2012 21:09:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 0RRg6K5z3iNz for ; Fri, 10 Aug 2012 21:09:44 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 5ED8A101E5 for ; Fri, 10 Aug 2012 21:09:44 +0200 (CEST) Original-Received: from mail-qa0-f41.google.com (mail-qa0-f41.google.com [209.85.216.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7AJ9gI8018873 for ; Fri, 10 Aug 2012 21:09:43 +0200 Original-Received: by qafk30 with SMTP id k30so1313214qaf.14 for ; Fri, 10 Aug 2012 12:09:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=yUAZPgKoKsfieJz2plQADgX6hGyuoCKm1OnCOFuTBwA=; b=XURKRCJTwnRbQIQ133bwadDqrfKFXFs7TmqVDjDDVkdmUtpDWOIUOQAsvAPYj+6DwT bZqLnYIZGJ8EEKuvejle6JADwJceXxeq5PB+CGtE+ZDH8R1Wo80Ojh5iOkTl8SYX0mUi Oq6llN3CXcsKZwK9YAgit4EWAYi1d3J6Qj1Oms4mwPN3AvlFjZ+x9q33yh9cW5VnRjDD lymI2ezinTnSWTfL9i1brTrHaG++E0cpZXZVyO6gsdlnHld9ziwctp/NSuFAg6UZjry5 OsvxfxNRqqOmbeG7u/I4mRx9FyFmthqejogEyLcXjsgpwxB+zl4ULrRvrO7HGA3vdTzR UI1A== Original-Received: by 10.50.184.227 with SMTP id ex3mr2776246igc.26.1344625781890; Fri, 10 Aug 2012 12:09:41 -0700 (PDT) Original-Received: by 10.64.46.232 with HTTP; Fri, 10 Aug 2012 12:09:20 -0700 (PDT) In-Reply-To: <50254C08.4070108@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06HJ79HrT - b9fc9970e8c5 - 20120810 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:77871 Archived-At: Hans wrote: > So, we have low/high definable and clonable etc. Best check if the defaults > are compatible. Valid parameters are 'up', 'down' and 'distance' > (dimensions) and of course 'style' and 'color'. Just downloaded and tested, looks nice. Small bug: It's called lomihi, but the arguments are placed middle/high/low. For documentation/clarification, is the following correct? distance = extra kerning, distance between lomihi and preceding character. up = how much the {hi} arg is raised down = how much the {low} arg is lowered Support for the [left] keyword seems to have been dropped, but is still in the documentation comments. Perhaps instead support align=..., and turn distance= into kernbefore= and kernafter=? Sorry about not knowing enough to implement it myself. Cheers, Sietse On Fri, Aug 10, 2012 at 7:59 PM, Hans Hagen wrote: > On 10-8-2012 18:08, Wolfgang Schuster wrote: >> >> >> Am 10.08.2012 um 18:00 schrieb "Rogers, Michael K" : >> >>> Hi, >>> >>> Since no one has offered a quick ConTeXt solution, I offer my usual -- a >>> dumb Plain TeX solution: >>> >>> \def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{#3}$} >>> >>> With the Computer Modern font, the top is a little further away from the >>> middle than the bottom. It can be adjusted with something like >>> >>> >>> \def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{\lower0.23pt\hbox{$\scriptstyle{#3}$}}$} >>> >>> but this would probably have to be adjusted for each font and size. >> >> >> You can use \framed: >> >> >> \defineframed[lohimi][align=flushleft,location=middle,frame=off,foregroundstyle=\tx] >> >> \starttext >> text \lohi{1}{2} text \lohimi{1\\2\\3} text >> \stoptext > > > Neat trick. > > === > > Wolfgang, > > The next beta has: > > \starttext > > \definelow [MyLow] [style=\txx] > \definehigh [MyHigh] [style=\txx] > \definelowhigh [MyLoHi] [style=\txx] > \definelowmidhigh[MyLoMiHi][style=\txx] > > We have > \ruledhbox{\low {L}} and \ruledhbox{\MyLow {L}} and > \ruledhbox{\high {H}} and \ruledhbox{\MyHigh {H}} and > \ruledhbox{\lohi {L}{H}} and \ruledhbox{\MyLoHi {L}{H}} and > \ruledhbox{\lomihi{L}{M}{H}} and \ruledhbox{\MyLoMiHi{L}{M}{H}}. > > \stoptext > > So, we have low/high definable and clonable etc. Best check if the defaults > are compatible. Valid parameters are 'up', 'down' and 'distance' > (dimensions) and of course 'style' and 'color'. > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com > | www.pragma-pod.nl > ----------------------------------------------------------------- > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________