Hello List.
I would like some elegant way to diminished font in math formulas...

Is there possibility anything as \setupformulas[before={\switchtobodyfont[small]} ]?
I need to align formulas, so are not enough to \mathematics {xxxx}

Below is my fallback. You can do something smarter?

Thanx Jaroslav Hajtmar



\defineformula[small][
    align=right,
    strut=yes,
    spacebefore=,
    spaceafter=,
    % before={\switchtobodyfont[small]}
]

% Here is my fallback solution:
\def\Startsmallformula{\startsmallformula\switchtobodyfont[small] }


\starttext

\startformula
\lim\limits_{x\rightarrow-2^{\mp}}{\arctan\frac{x}{2+x}}=\pm\frac{\pi}{2}
\stopformula

\startformula
f':\;    y' = \frac{\sqrt{3}(1+x^2)}{(1-x^2)^2+3x^2}
\stopformula

\startformula
\lim\limits_{x\rightarrow 1^{\mp}}{\frac{x^2+1}{x-1}}=\mp\infty
\stopformula



\Startsmallformula
\lim\limits_{x\rightarrow-2^{\mp}}{\arctan\frac{x}{2+x}}=\pm\frac{\pi}{2}
\stopsmallformula

\Startsmallformula
f':\;    y' = \frac{\sqrt{3}(1+x^2)}{(1-x^2)^2+3x^2}
\stopsmallformula

\Startsmallformula
\lim\limits_{x\rightarrow 1^{\mp}}{\frac{x^2+1}{x-1}}=\mp\infty
\stopsmallformula



\blank[big]

\startsmallformula
\startalign
\NC f(x)\NC = \ln (x^2+2x+2)\NR
\NC f(-x)\NC = \ln ((–x)^2 - 2x + 2)\NR
\NC -f(x)\NC = -\ln (x^2+2x+2)\NR
\stopalign
\stopsmallformula

\blank[big]

\Startsmallformula
\startalign
\NC f(x)\NC = \ln (x^2+2x+2)\NR
\NC f(-x)\NC = \ln ((–x)^2 - 2x + 2)\NR
\NC -f(x)\NC = -\ln (x^2+2x+2)\NR
\stopalign
\stopsmallformula

\stoptext



___________________________________________________________________________________
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 via email to