[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks
From: |
Gavin Smith |
Subject: |
Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks |
Date: |
Tue, 5 May 2020 00:30:25 +0100 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Mon, May 04, 2020 at 11:52:37PM +0200, Sebastian Urban wrote:
> > The problem is that directional double quotes don't appear in the
> > standard TeX monowidth fonts. Do you know where such glyphs could
> > be found? Does LaTeX use monowidth glyphs or the usual
> > variable-width glyphs?
>
> Frankly speaking I don't know if they exist at all. Isn't typewriter
> font based on design of chars from typewriters (devices)? And there,
> I guess, you can't find left/right double quotation marks.
>
> In '\texttt', I think, that for ‘ and ’ glyphs, LaTeX simply use the
> same glyphs as in case of ` and ', which is acceptable. As for “ and
> ” (with T1) I believe it uses the same glyph as for `` and ''. Small
> test TeX file:
`` and '' inside @texttt here are ligatures each with a single glyph.
If we could find which font they are coming from then we could use the
same one.
Running "latex" to produce a dvi and looking at the contents of the dvi
(I don't know if there's a better way of doing this)
it appears to be a font "ectt1000". This appears to be a "European
Computer Modern" font. Examining that font, opening and closing double
quotes are at positions hex 10 and 11.
The example below shows that it will be possible to access these glyphs
from within texinfo.tex.
\input texinfo
@catcode`@"=12@relax
@font@quotefont=ectt1000
{
@quotefont
XXX
@char"10 x@char"11
XXX
}
@bye
It would take some work to only load this font on demand if these
characters are demanded in a fixed-width environment, and to check the
font size is always correct in different contexts and so on.
May I ask why you want to use these characters? I imagine that code
samples would rarely need directional quotes.
- [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Sebastian Urban, 2020/05/04
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Gavin Smith, 2020/05/04
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Sebastian Urban, 2020/05/04
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks,
Gavin Smith <=
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Gavin Smith, 2020/05/04
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Sebastian Urban, 2020/05/05
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Gavin Smith, 2020/05/05
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Sebastian Urban, 2020/05/06
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Sebastian Urban, 2020/05/06
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Gavin Smith, 2020/05/06
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Sebastian Urban, 2020/05/06
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Gavin Smith, 2020/05/07
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Sebastian Urban, 2020/05/07
- Re: [PDF] Quotes glyphs; chapters/sections numbers in bookmarks, Gavin Smith, 2020/05/07