From: Wolfgang Schuster <wolfgang.schuster@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Figured bass symbols in a text.
Date: Fri, 10 Aug 2012 18:08:36 +0200 [thread overview]
Message-ID: <4FAB7784-A41B-45E6-B281-ECF32467A445@gmail.com> (raw)
In-Reply-To: <4BE3B246-2AA5-4231-AFEF-F5DE735D37EF@emory.edu>
Am 10.08.2012 um 18:00 schrieb "Rogers, Michael K" <mroge02@emory.edu>:
> 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
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-08-10 16:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 9:35 Robert Blackstone
2012-08-10 16:00 ` Rogers, Michael K
2012-08-10 16:08 ` Wolfgang Schuster [this message]
2012-08-10 17:59 ` Hans Hagen
2012-08-10 19:09 ` Sietse Brouwer
2012-08-10 23:03 ` Hans Hagen
[not found] <mailman.99.1344625786.14247.ntg-context@ntg.nl>
2012-08-11 7:03 ` Robert Blackstone
2012-08-11 7:13 ` Robert Blackstone
2012-08-12 9:00 ` Robert Blackstone
2012-08-12 12:48 ` Rogers, Michael K
2012-08-13 15:58 ` john Culleton
[not found] <mailman.3.1344938401.1170.ntg-context@ntg.nl>
2012-08-14 17:23 ` Robert Blackstone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FAB7784-A41B-45E6-B281-ECF32467A445@gmail.com \
--to=wolfgang.schuster@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).