From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: setupformulas options (or defineformula) and effort to reduce the font in math formulas
Date: Tue, 10 Mar 2015 23:45:42 +0100 [thread overview]
Message-ID: <54FF7416.6060000@gyza.cz> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2015-03-10 22:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-10 22:45 Jaroslav Hajtmar [this message]
2015-03-10 22:57 ` Hans Hagen
2015-03-10 23:07 ` Jaroslav Hajtmar
2015-03-10 23:52 ` Wolfgang Schuster
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=54FF7416.6060000@gyza.cz \
--to=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).