I am using the \overset and \underset commands in ConTeXt, to place text over other text within a paragraph, e.g.:
(animal) (animal) (animal)
Bears like to eat fish and snakes.
(action)
The \overset command successfully places text above, but it also creates spaces in the main text, as shown above. I would prefer it the main text has normal spacing when possible, e.g.:
(animal) (animal) (animal)
Bears like to eat fish and rabbits.
(action)
Only in situations where two \oversets or \undersets appears next to each other and require more space than the regular text should extra spacing be added, e.g.:
(animal) (animal) (animal)
Bears, fish, and frogs eat, play, and swim in the river.
(action) (action) (action)
- How can I condense the spacing around text when
\oversetsand\undersetsare used, to the extent that is possible?
\llap, though it's not a solution, just a workaround. – Marco Apr 04 '12 at 10:06\clap? I wrote a short answer with this idea. – mbork Apr 04 '12 at 10:42rubymodule by Wolfgang Schuster. – Aditya Apr 04 '12 at 21:16