Command/lohi

From ConTeXt wiki
< Command
Revision as of 09:44, 18 October 2012 by Braslau (talk | contribs) (fixed the example: alpha particles)

\lohi, \hilo

Syntax

\lohi[...]{...}{...}, or \hilo[...]{...}{...}
[...] left
{...} text
{...} text

Description

Place a subscript and a superscript above it, instead of one after the other. \lohi expects the subscript first; \hilo is simply a wrapper around \lohi that expects the superscript first. You can provide an optional keyword left, in which case the super- and subscript will be right-aligned to permit placement at the left of a word.

Example

Today is the 3\high{rd} March 2010. \par
The lethal concentration L\low{50} varies with the temperature.\par 
Alpha particles are \lohi[left]{2}{4}He\high{2+}. \par

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: