Command/lohi

From ConTeXt wiki
< Command
Revision as of 14:40, 11 April 2010 by Steffen (talk | contribs)
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).

\lohi{aha}{ah} test \lohi{aha}{ah} test
\lohi[left]{aha}{ah} test \lohi[left]{aha}{ah} test
\lohi{aha}{ah} test\lohi{aha}{ah} test
\lohi[left]{aha}{ah}test \lohi[left]{aha}{ah}test

See also cmd:low and cmd:high.

Source code in core-fnt.mkii


Example

See also