From: jdh via ntg-context <ntg-context@ntg.nl>
To: <ntg-context@ntg.nl>
Cc: jdh <dhenman@gmail.com>
Subject: font problems
Date: Fri, 26 Nov 2021 03:59:38 -0800 [thread overview]
Message-ID: <20211126035938.14183@sachi> (raw)
Here's my MWE:
Objective is to typeset a Chancery font text in the upper lefthand side of a page, and
then do the main body in some normal font. Then at the very last print a sign off in
Chancery. For some reason I can't get both to print out as Chancery. Only one or the
other, but not both.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definefontfamily [mwetest] [sans] [Liberation Sans]
\setupbodyfont [mwe,ss,12pt]
\definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in]
\setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font Here }
\setupbackgrounds[page][background=mwe]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\starttext
Normal font text goes here. \blank[4*big]
{ \switchtobodyfont[chancery] This should be Chancery here to. But isn't. }
\blank[2*big]Note that if I comment out the \type{setlayer[mwe]} in the source file, then the above will print in Chancery.
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I'd like to have the layers in Chancery font and then one last text string in the body in Chancery font. But I can't get them both to be Chancery. How can that be done?
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2021-11-26 11:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-26 11:59 jdh via ntg-context [this message]
2021-11-26 12:30 ` Hans Hagen via ntg-context
2021-11-25 5:28 ` jdh via ntg-context
-- strict thread matches above, loose matches on Subject: below --
2015-05-02 14:19 Font problems John Culleton
2015-05-02 18:05 ` Pablo Rodriguez
2013-05-31 13:24 "H. Özoguz"
2013-05-31 14:19 ` Idris Samawi Hamid ادريس سماوي حامد
2013-05-31 14:32 ` Idris Samawi Hamid ادريس سماوي حامد
2013-05-31 11:52 "H. Özoguz"
2013-05-31 12:22 ` Khaled Hosny
[not found] <3.0.5.32.20010820195552.00859200@mail.northcoast.com>
[not found] ` <5.1.0.14.1.20010821101947.0341a320@server-1>
2001-08-21 17:48 ` David Arnold
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=20211126035938.14183@sachi \
--to=ntg-context@ntg.nl \
--cc=dhenman@gmail.com \
/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).