ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: double underbars
Date: Thu, 9 Dec 2021 18:46:30 +0100	[thread overview]
Message-ID: <523e4aae-77a4-2deb-17b8-e1c1d2f51155@fiee.net> (raw)
In-Reply-To: <2b98a3db-20cc-65c7-a855-7de6d647851f@xs4all.nl>

Am 30.11.21 um 16:17 schrieb Hans Hagen via ntg-context:
>>
>>> Another question: what do you mean with a dy-shift version?
>>
>> Nested bars have a parameter ‘dy’ which controls the vertical shifts 
>> needed to make sure that they do not overlap. Text backgrounds do not 
>> have that option at all.
> i've added that so one can nest the mp driven ones but still within the 
> same category ... i'll look into a mix (more complex management wise so 
> typically a rainy weekend thing; i know how to do it but ...)

If I use \overbar within \underbar, the same dy is used, i.e. in the 
example, the first \overbar is in the right location, while the second 
is too high:

\starttext

\overbar{Über} \underbar{Unterstrich \underbar{steigt \overbar{auf} den 
\underbar{Unterberg}}}.

\stoptext


Hraban
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-12-09 17:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 11:06 Denis Maier via ntg-context
2021-11-30 13:19 ` Taco Hoekwater via ntg-context
2021-11-30 13:38   ` Denis Maier via ntg-context
2021-11-30 13:52     ` Taco Hoekwater via ntg-context
2021-11-30 14:02       ` Denis Maier via ntg-context
2021-11-30 14:13       ` Aditya Mahajan via ntg-context
2021-11-30 15:17       ` Hans Hagen via ntg-context
2021-12-09 17:46         ` Henning Hraban Ramm via ntg-context [this message]
2021-11-30 17:57       ` Hans Hagen via ntg-context
2021-11-30 13:40   ` Henning Hraban Ramm via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=523e4aae-77a4-2deb-17b8-e1c1d2f51155@fiee.net \
    --to=ntg-context@ntg.nl \
    --cc=texml@fiee.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).