Re: [NTG-context] Figured bass symbols in a text
On 10 aug. 2012, at 18:08:36 +0200, Wolfgang Schuster
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
Wolfgang
Hi Wolfgang, Though you actually replied to Michael Rogers' mail I consider myself to be a recipient of your advice too. Thank you very much for your help. For my purpose the "dumb Plain TeX solution" that Michael Rogers suggested works better as the distances between the figures are short enough to make it look like one symbol. Which is the way I prefer it in this sort of text. Thanks again, Kind regards, Robert
participants (1)
-
Robert Blackstone