ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Reducing fontsize for some equations (\startformula), how done best
Date: Tue, 13 Jan 2004 13:58:12 +0100	[thread overview]
Message-ID: <6.0.1.1.2.20040113135716.01eefec0@server-1> (raw)
In-Reply-To: <20040112103658.GA27467@physik.fu-berlin.de>

Hi Tobias,

>I have several equations. But for some of them (lengthy and
>uninteresting calculations) in the appendix the default fontsize is too
>big. What is the best way (command) to reduce their size consistently?

Can you play with the following and let me know it this works ok with 
regards to spacing:

\starttext

\unprotect

\appendtoks
   \doifdefined{\??fm\currentformula\c!korps}
     {\switchtobodyfont[\getvalue{\??fm\currentformula\c!korps}]}%
\to \everydisplay

\protect

\definieerformule[small][bodyfont=5pt]

\input tufte

\startsmallformula
   \hbox{small and boring: } e = mc^2
\stopsmallformula

\input tufte

\stoptext

When ok i can incorporate the bodyfont key

Hans

      reply	other threads:[~2004-01-13 12:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-12 10:36 Tobias Burnus
2004-01-13 12:58 ` Hans Hagen [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=6.0.1.1.2.20040113135716.01eefec0@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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).