Hans Hagen mailto:pragma@wxs.nl 24. Mai 2016 um 14:19 On 5/24/2016 1:54 AM, Mojca Miklavec wrote:
Hi,
I would like to add a continuous underbar under a paragraph or a title as in:
\setupbar [color=red,offset=10pt] \starttext \underbar{Test this \high{\tfxx ®}} \stoptext
... but I'm confused about two aspects:
- How can I prevent \high{} from shifting the underbar?
i need to think about it .. maybe an option
- How can I add more offset?
underbar is derived from the parent but has its own offset and an offset is relative to the baseline and a fraction of th eunit (normally the ex of a font)
\setupbar[underbar][color=red,offset=-.5]
\starttext
\underbar{Test this \high{\tfxx ®}}
\stoptext With \shiftup the line under the raised text stays at the same position.
\starttext \underbar{Test this \shiftup{®}} \stoptext Wolfgang