Hi there, the following minimal sample shows one problem I have when using all small caps (all lowercase and small caps) in titles. \setuppapersize[A4,landscape] \setuppagenumbering[location=] \usemodule[simplefonts][size=200pt] \setmainfont[TeX Gyre Pagella] \definefontfeature[allcaps][default][aalt=yes] \starttext \TeX \addfs{allcaps} \TeX \stoptext The logo in small caps has the letter E than in the all caps. My question is how should I redefine the TeX logo so that the all small caps version, i.e. that both logos have the letter E at the same height? (Otherwise, the all small caps logo seems weird.) Thanks for your help, Pablo -- http://www.ousia.tk
On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote:
\definefontfeature[allcaps][default][aalt=yes]
A bit off topic, but aalt stands for "access all alternates" and just lists all alternates of a given glyph with no semantics at all, and is there for GUI apps that present a glyph pallet to allow users select alternate shapes of any glyph (which can be anything), which is pretty useless for TeX usage. Regards, Khaled
On 12/04/2011 07:19 PM, Khaled Hosny wrote:
On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote:
\definefontfeature[allcaps][default][aalt=yes]
A bit off topic, but aalt stands for "access all alternates"
Thanks, I knew it, Khaled. aalt is not the best way to do it, but I didn't know how to get old style numbers, small caps and all lowercase texts. I cannot achieve it with: \definefontfeature[allcaps][default][onum=yes,smcp=yes] And redefining the setuphead command for chapter: \setuphead[chapter][style=\tfb\addfs{allcaps},command=\lowercase] doesn't do the work (and it breaks the centering in a more elaborate command). How could I do it? Many thanks for your help, Pablo -- http://www.ousia.tk
Am 04.12.2011 um 20:07 schrieb Pablo Rodríguez:
On 12/04/2011 07:19 PM, Khaled Hosny wrote:
On Sun, Dec 04, 2011 at 05:46:03PM +0100, Pablo Rodríguez wrote:
\definefontfeature[allcaps][default][aalt=yes]
A bit off topic, but aalt stands for "access all alternates"
Thanks, I knew it, Khaled.
aalt is not the best way to do it, but I didn't know how to get old style numbers, small caps and all lowercase texts. I cannot achieve it with:
\definefontfeature[allcaps][default][onum=yes,smcp=yes]
And redefining the setuphead command for chapter:
\setuphead[chapter][style=\tfb\addfs{allcaps},command=\lowercase]
doesn't do the work (and it breaks the centering in a more elaborate command).
How could I do it?
\setuphead[chapter][style=\WORD\tfb] \starttext \chapter{This was done with \CONTEXT!} \stoptext Wolfgang
On 12/04/2011 08:17 PM, Wolfgang Schuster wrote:
[...]
\setuphead[chapter][style=\WORD\tfb]
\starttext \chapter{This was done with \CONTEXT!} \stoptext
Thanks, Wolfgang, it fixed my ignorance. I'm afraid I still have the problem reported before. I have no idea on how the \TeX logo is defined, but the capital E in the \TeX logo seems to be lowered by the x-height of the font. This method is as successful as other fonts than Computer Modern have the same ascender as Computer Modern itself. And it doesn't work with all small cap letters, because these are defined by having no ascender, that is, x-height and cap height is the same. My question is how can I redefine the \TeX logo using the E actual cap height, so that it is lowered in the same proportion using the standard form and the all small caps form. Thanks for your help, Pablo -- http://www.ousia.tk
participants (3)
-
Khaled Hosny
-
Pablo Rodríguez
-
Wolfgang Schuster