Difference between revisions of "Command/lohi"

From ConTeXt wiki
Jump to navigationJump to search
m (Text replace - "Reference/en|" to "Commands|")
Line 46: Line 46:
 
<!-- something like [[cmd:goto|\goto]] -->
 
<!-- something like [[cmd:goto|\goto]] -->
  
[[Category:Reference/en|lohi]]
+
[[Category:Commands|lohi]]

Revision as of 00:06, 14 March 2012

\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