* [***SPAM***] How to remove white space?
@ 2012-02-14 19:25 Peter Münster
2012-02-14 19:31 ` Wolfgang Schuster
0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2012-02-14 19:25 UTC (permalink / raw)
To: ConTeXt users
Hello,
Here you see some white space at the left and the right of ".COM":
\ss \framed[offset=overlay]{.COM}
How can I remove this space in the right, correct, natural, smart,
elegant, ConTeXtish manner?
I have a workaround, but I find it a bit ugly:
\starttext
\ss \framed[offset=overlay]{\kern-0.07em.COM\kern-0.07em}
\stoptext
TIA for any hints!
--
Peter
___________________________________________________________________________________
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] 4+ messages in thread
* Re: [***SPAM***] How to remove white space?
2012-02-14 19:25 [***SPAM***] How to remove white space? Peter Münster
@ 2012-02-14 19:31 ` Wolfgang Schuster
2012-02-14 19:46 ` Peter Münster
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2012-02-14 19:31 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 14.02.2012 um 20:25 schrieb Peter Münster:
> Hello,
>
> Here you see some white space at the left and the right of ".COM":
> \ss \framed[offset=overlay]{.COM}
This space is part of the font.
\setupbodyfont[sans]
\starttext
\dontleavehmode
\ruledhbox{.}%
\ruledhbox{C}%
\ruledhbox{O}%
\ruledhbox{M}
\framed[offset=overlay]{.COM}
\stoptext
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [***SPAM***] How to remove white space?
2012-02-14 19:31 ` Wolfgang Schuster
@ 2012-02-14 19:46 ` Peter Münster
2012-02-14 20:09 ` Khaled Hosny
0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2012-02-14 19:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Feb 14 2012, Wolfgang Schuster wrote:
> This space is part of the font.
Yes, that's what I've guessed too.
The question was more, if there was a method to say:
"Dear TeX-engine, give me please the letter `M' but without its natural
kerning on the right side."
I thought, that all this information was inside the font: width of the
glyph, left kerning, right kerning, and so on. It seems, that I was
wrong...
--
Peter
___________________________________________________________________________________
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] 4+ messages in thread
* Re: [***SPAM***] How to remove white space?
2012-02-14 19:46 ` Peter Münster
@ 2012-02-14 20:09 ` Khaled Hosny
0 siblings, 0 replies; 4+ messages in thread
From: Khaled Hosny @ 2012-02-14 20:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Tue, Feb 14, 2012 at 08:46:34PM +0100, Peter Münster wrote:
> On Tue, Feb 14 2012, Wolfgang Schuster wrote:
>
> > This space is part of the font.
>
> Yes, that's what I've guessed too.
>
> The question was more, if there was a method to say:
> "Dear TeX-engine, give me please the letter `M' but without its natural
> kerning on the right side."
>
> I thought, that all this information was inside the font: width of the
> glyph, left kerning, right kerning, and so on. It seems, that I was
> wrong...
That would be the side bearings which is not readily accessible (not to
TeX at least).
Regards,
Khaled
___________________________________________________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2012-02-14 20:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-14 19:25 [***SPAM***] How to remove white space? Peter Münster
2012-02-14 19:31 ` Wolfgang Schuster
2012-02-14 19:46 ` Peter Münster
2012-02-14 20:09 ` Khaled Hosny
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).