ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \textfraction query
@ 2017-02-18 17:05 Alan Bowen
  0 siblings, 0 replies; only message in thread
From: Alan Bowen @ 2017-02-18 17:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 489 bytes --]

Is there a way to get \textfraction to produce output in cases B or C
(either one will do) as it does in case A?

If I use \vfrac the output does not sit well beside \textfraction
output—and I use the latter elsewhere throughout the document.


\definefontfeature[fraction][frac=yes]
\definehighlight[textfraction][style={\feature[+][fraction]}]

\starttext

A. \textfraction{1/2}

B. \textfraction{1.5/2}

C. \textfraction{{2\textfraction{1/2}}/7}

\stoptext

Alan

[-- Attachment #1.2: Type: text/html, Size: 1452 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-18 17:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-18 17:05 \textfraction query Alan Bowen

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).