ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Uwe Koloska" <uwe.koloska@mailbox.tu-dresden.de>
Subject: how to: switch to another font
Date: Fri, 16 Feb 2001 16:56:53 +0100	[thread overview]
Message-ID: <01021616565303.00577@bilbo> (raw)

Hello Hans, hello all,

I have defined a font that shall only be used for some words (think of it 
as a logo font).
  \definefontsynonym[Batmos-Regular] [...]
Now I want to write "Hello this is {\switchFont{Batmos-Regular}cool stuff} 
and ..." without defining an extra font with \definefont.  Is this 
possible, or do I have to explicitly define all fonts that I wann use in 
the document.

Now I have:
  \def\setBatmosFont%
    {\definefont[batmosFont][Batmos-Regular sa
    \multiply\currentfontscale by 1.4]\batmosFont}
that switches to this particular font and honours the current fontsize.  
Since the font has a smaller x-height, I have to scale it.

If there is no easy way to say: "Switch to this font and honour the current 
size" -- is my solution well defined?

Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


             reply	other threads:[~2001-02-16 15:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-16 15:56 Uwe Koloska [this message]
2001-02-16 16:53 ` Hans Hagen

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=01021616565303.00577@bilbo \
    --to=uwe.koloska@mailbox.tu-dresden.de \
    /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).