Difference between revisions of "Command/lohi"
< Command
Jump to navigation
Jump to search
m (→Description: reformatted) |
|||
Line 33: | Line 33: | ||
it will be right aligned). | it will be right aligned). | ||
− | < | + | <context source="yes" class="example"> |
\lohi{aha}{ah} test \lohi{aha}{ah} test | \lohi{aha}{ah} test \lohi{aha}{ah} test | ||
\lohi[left]{aha}{ah} test \lohi[left]{aha}{ah} test | \lohi[left]{aha}{ah} test \lohi[left]{aha}{ah} test | ||
\lohi{aha}{ah} test\lohi{aha}{ah} test | \lohi{aha}{ah} test\lohi{aha}{ah} test | ||
\lohi[left]{aha}{ah}test \lohi[left]{aha}{ah}test | \lohi[left]{aha}{ah}test \lohi[left]{aha}{ah}test | ||
− | </ | + | </context> |
− | |||
− | |||
− | |||
− | |||
+ | See also the commands [[cmd:low|\low]] and [[cmd:high|\high]], and the | ||
+ | [[source:core-fnt.mkiv|source code]]. | ||
== Example == | == Example == |
Revision as of 15:18, 1 November 2010
\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 the commands \low and \high, and the source code.