ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	jbf <roma83537@gmail.com>
Subject: Re: simple way to change value of 'x' in \tfx?
Date: Mon, 27 Apr 2020 09:36:33 +0200	[thread overview]
Message-ID: <a2f2c1f9-69c5-f87c-4bf7-af1316a02543@gmail.com> (raw)
In-Reply-To: <1c463b12-7cb1-0fe0-950a-2fb04977e540@gmail.com>

jbf schrieb am 27.04.2020 um 09:14:
> I have the following setup currently, involving:
> 
> \definefontfamily[mainface][rm][texgyrepagella][tf=file:texgyrepagella-regular.otf] 

\definetypeface [mainface] [rm] [serif] [pagella] [default]

or see below

> \setupbodyfont[mainface,11pt]
> \setupbodyfontenvironment[default]  [em=italic]

Not necessary because Pagella has no slanted alternative and \sl uses 
the italic alternative.

> \setupdelimitedtext[blockquote][style=\tfx, 
> before={\blank\setupinterlinespace[line=2.4ex]},after={\blank}]
> 
> My publisher thinks the default scaling of 'x' (0.8) is too small for 
> the blockquoted text, and asked if I could simply indicate 10pt for 'x'.
> 
> I tried by using the line:
> 
> \definebodyfontenvironment[default] [x=10pt]
> 
> but that did nothing to change things. I tried a few other possibilities 
> as well, e.g. just adding the x=10pt after the em=italic declaration, 
> but that didn't work either.

Use \switchtobodyfont.

> I'm sure there is a simple way to achieve what I want. Any thoughts?

\setupbodyfont[pagella,11pt]

\setupdelimitedtext
   [blockquote]
   [      style={\switchtobodyfont[10pt]},
         before={\setupinterlinespace[line=2.4ex]},
    spacebefore=line,
     spaceafter=line]

\starttext

\samplefile{weisman}

\startblockquote
\samplefile{weisman}
\stopblockquote

\stoptext

Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2020-04-27  7:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-27  7:14 jbf
2020-04-27  7:36 ` Wolfgang Schuster [this message]

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=a2f2c1f9-69c5-f87c-4bf7-af1316a02543@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=roma83537@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).