[NTG-context] setupformulas options (or defineformula) and effort to reduce the font in math formulas

Wolfgang Schuster schuster.wolfgang at gmail.com
Wed Mar 11 00:52:00 CET 2015


> Am 11.03.2015 um 00:07 schrieb Jaroslav Hajtmar <hajtmar at 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


More information about the ntg-context mailing list