ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: vertical bar spacing in Antykwa-Poltawskiego
Date: Tue, 23 Jul 2013 11:24:56 -0400	[thread overview]
Message-ID: <CAFMOkGVXoVDVqH=0sGZKXfsR-n6bU6oN+AjBdU4j2QE8-1GZLg@mail.gmail.com> (raw)
In-Reply-To: <4FCA5B69-0683-485B-A16E-954586C56AFA@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1758 bytes --]

Thanks, Wolfgang. I will start experimenting.

Alan


On Tue, Jul 23, 2013 at 10:25 AM, Wolfgang Schuster <
schuster.wolfgang@gmail.com> wrote:

>
> Am 23.07.2013 um 15:42 schrieb Alan Bowen <bowenalan03@gmail.com>:
>
> > Wolfgang, Hans—many thanks to you both!
> >
> > Part of the problem was that i was using \| instead of \textbar. I now
> have:
> >
> > \setupbodyfont[antykwa-poltawskiego]
> >
> > \def\test
> >   {\ifnum\lastnodetype=\gluenodecode
> >       \|
> >    \else
> >      \textbar
> >    \fi}
> >
> > \setcharacterspacing[frenchpunctuation]
> >
> > \starttext
> > left\test middle \test right
> >
> > \stoptext
> >
> > which looks good on the page—\quad\textbar\quad puts too much space
> around the bar.
>
> You can use \letterbar instead of \|. \textbar and \letterbar produce
> different output because
> \letterbar is taken from the text font which has padding on the left and
> right side while \textbar
> is taken from the math font which has no padding.
>
> When you don’t like the extra space around | I suggest to use another font
> which fits your taste
> and use \letterbar in both cases (just add some space on the left/right
> between word).
>
> Wolfgang
>
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 2676 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2013-07-23 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-23 11:20 Alan Bowen
2013-07-23 11:32 ` Wolfgang Schuster
2013-07-23 11:46   ` Hans Hagen
2013-07-23 13:42     ` Alan Bowen
2013-07-23 14:25       ` Wolfgang Schuster
2013-07-23 15:24         ` Alan Bowen [this message]

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='CAFMOkGVXoVDVqH=0sGZKXfsR-n6bU6oN+AjBdU4j2QE8-1GZLg@mail.gmail.com' \
    --to=bowenalan03@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).