ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ConTeXt logo adaptation
@ 2005-04-16 17:07 Idris Samawi Hamid
  2005-04-16 17:48 ` Adam Lindsay
  0 siblings, 1 reply; 2+ messages in thread
From: Idris Samawi Hamid @ 2005-04-16 17:07 UTC (permalink / raw)


Dear musketeers,

My favorite ConTeXt logo (from cont-log),

\def\Context
  {{C\kern -.0667em\getscaledglyph{.8}\empty{O\kern -.0667emN\kern
   -.0549emT\doifitalicelse{\kern-.1em}{\kern-.1667em}\lower.5ex\hbox
   {E}\doifitalicelse\empty{\kern-.11em}X\kern-.055emT}}}

does not adapt to the surrounding typeface. Try

=======================
\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec]
\switchtotypeface[palatino]

\starttext

I love \Context\ very much!

\stoptext
=======================

And the logo remains in lmr. I can work around this:

=======================
  \def\Context
    {C\kern -.0667em{%
      \switchtobodyfont[small]% \getscaledglyph{.7}{}% this calls lmr
      O\kern -.0667emN\kern
     -.0549emT\doifitalicelse{\kern-.1em}{\kern-.1667em}\lower.5ex\hbox
     {E}\doifitalicelse\empty{\kern-.11em}X\kern-.055emT}}
=======================

but a universal solution for cont-log is needed.

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-16 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-16 17:07 ConTeXt logo adaptation Idris Samawi Hamid
2005-04-16 17:48 ` Adam Lindsay

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).