ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Underbar offset
@ 2016-05-23 23:54 Mojca Miklavec
  2016-05-24 12:19 ` Hans Hagen
  0 siblings, 1 reply; 8+ messages in thread
From: Mojca Miklavec @ 2016-05-23 23:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?
- How can I add more offset?

The color keyword works, but offset doesn't seem to have any effect
even though it's listed in the reference.

I was able to address the second problem (adding more offset) with
something like
    \definebar[BarU][offset=-0.7]
    \startbar[BarU] ... \stopbar
but I wasn't able to get rid of the shift (and the bar had a different
thickness when a smaller font was used).

I can find ugly workarounds with frames, but it would be ideal if I
could get one of the underbar mechanisms to work "out-of-the-box".

Thank you,
   Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-05-26 17:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 23:54 Underbar offset Mojca Miklavec
2016-05-24 12:19 ` Hans Hagen
2016-05-25 15:35   ` Wolfgang Schuster
2016-05-26 12:48     ` Mojca Miklavec
2016-05-26 13:10       ` Marco Patzer
2016-05-26 15:20       ` Aditya Mahajan
2016-05-26 16:17       ` Hans Hagen
2016-05-26 17:24         ` Mojca Miklavec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).