From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77868 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Figured bass symbols in a text. Date: Fri, 10 Aug 2012 19:59:36 +0200 Message-ID: <50254C08.4070108@wxs.nl> References: <3D9918EB-D352-497F-938A-1B118672554E@gmail.com> <4BE3B246-2AA5-4231-AFEF-F5DE735D37EF@emory.edu> <4FAB7784-A41B-45E6-B281-ECF32467A445@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1344621615 27375 80.91.229.3 (10 Aug 2012 18:00:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2012 18:00:15 +0000 (UTC) Cc: Wolfgang Schuster To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 10 20:00:15 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 1SztVM-0002LQ-Ls for gctc-ntg-context-518@m.gmane.org; Fri, 10 Aug 2012 20:00:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63924101F5; Fri, 10 Aug 2012 20:00:11 +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 5d1i0-kf+S6u; Fri, 10 Aug 2012 20:00:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 610A1101EB; Fri, 10 Aug 2012 20:00:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2CAD3101EB for ; Fri, 10 Aug 2012 20:00:08 +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 UCJ8jYZ2XmCN for ; Fri, 10 Aug 2012 20:00:06 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 7FE73101E5 for ; Fri, 10 Aug 2012 20:00:06 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q7AHtwlC012842 for ; Fri, 10 Aug 2012 19:55:59 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 2385-1713362 for multiple; Fri, 10 Aug 2012 20:00:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: <4FAB7784-A41B-45E6-B281-ECF32467A445@gmail.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=03; city=Hattem; latitude=52.4724; longitude=6.0696; http://maps.google.com/maps?q=52.4724,6.0696&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHJ5TWty - 719c08a7cb9b - 20120810 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:77868 Archived-At: 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 ___________________________________________________________________________________