ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: hajtmar@gyza.cz, mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: setupformulas options (or defineformula) and effort to reduce the font in math formulas
Date: Wed, 11 Mar 2015 00:52:00 +0100	[thread overview]
Message-ID: <602A3DEA-1268-4201-8E3A-D8EE8431226F@gmail.com> (raw)
In-Reply-To: <54FF7940.8000902@gyza.cz>


> Am 11.03.2015 um 00:07 schrieb Jaroslav Hajtmar <hajtmar@gyza.cz>:
> 
> Thanks Hans for the reply.
> I take to type some formulas larger font, so that's why I opted to frame their own definition of a formula environment with small print. Switch entire mathematical text on small I don't want.
> Therefore, I would like to have both:
> 
> \startformula
> ....
> \stopformula
> 
> and
> 
> \startsmallformula
> ....
> \stopsmallformula


\startformula has a optional argument which let you change the font, e.g. \startformula[9pt].

\definestartstop[smallformula]
  [before={\startformula[small]},
   after=\stopformula]

\starttext

\startformula
	c^2 = a^2 + b^2
\stopformula

\startformula[small]
	c^2 = a^2 + b^2
\stopformula

\startsmallformula
	c^2 = a^2 + b^2
\stopsmallformula

\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2015-03-10 23:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10 22:45 Jaroslav Hajtmar
2015-03-10 22:57 ` Hans Hagen
2015-03-10 23:07   ` Jaroslav Hajtmar
2015-03-10 23:52     ` Wolfgang Schuster [this message]
2015-03-11 17:18       ` Jaroslav Hajtmar
2015-03-12  8:23         ` Jaroslav Hajtmar

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=602A3DEA-1268-4201-8E3A-D8EE8431226F@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --cc=hajtmar@gyza.cz \
    --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).