Command/lohi

From ConTeXt wiki
< Command
Revision as of 03:12, 14 March 2012 by Jannis (talk | contribs) (moved Reference/en/lohi to Command/lohi: Text replace - "Reference/en/" to "Command/")
Jump to navigationJump to search

\lohi

Syntax

\lohi[...]{...}{...}
[...] low
{...} text
{...} text


Description

Place subscript and superscript vertically aligned. The first argument is the subscript, the second is the superscript.

You can provide an optional keyword left, in which case the super and subscripts will be aligned in a way that permits placement at the left of a word (which means that it will be right aligned).

See also the commands \low and \high, and the source code.

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]{4}{2} He. \par

See also