How can I make equations smaller in TeX?

How can I make equations smaller in TeX? For example, I want to use the equation environment as follows:

\begin{equation} long equation here \end{equation} 

but then it is displayed so that it is too large to fit in the field. I will get around this using:

 $ long equation here $ 

but then I don’t get automatic numbering and all the other nice features of the equation environment.

secondly, how can I suppress the numbering of equations for specific equations in \ begin {equation} \ end {equation}? I would like equations with non-displayed numbers not to be taken into account in the sum (therefore, if the numbers of the first three equations are suppressed, but the fourth is not, the 4th equation should be marked as β€œ1”).

thanks.

+4
source share
3 answers

If you like the results obtained from $ eqn $, you can get this by putting \ textstyle in the environment of your equation.

To suppress numbering, use "*": \begin{equation*} ... \end{equation*} . You can also use \ notag for individual equations in the environment (e.g., align).

+4
source

but then it is displayed so that it is too large to fit in the field.

You are not trying to write proof of Fermat Last Lheorem, are you ?:-)

Assuming you meant that the equation is overflowing to fields, and also assuming that you want to avoid this, instead of changing the font, I would suggest amsmath . For example, you can write a long equation as follows:

 \begin{multline} A = \lim _{n\rightarrow \infty }\Delta x\left( a^{2}+\left( a^{2}+2a\Delta x +\left( \Delta x\right) ^{2}\right)\right.\\ +\left( a^{2}+2\cdot 2a\Delta x+2^{2}\left( \Delta x\right) ^{2}\right)\\ +\left( a^{2}+2\cdot 3a\Delta x+3^{2}\left( \Delta x\right) ^{2}\right)\\ + \ldots\\ \left.+\left( a^{2}+2\cdot (n-1)a\Delta x +(n-1)^{2}\left( \Delta x\right) ^{2}\right) \right)\\ = \frac{1}{3}\left( b^{3}-a^{3}\right) \end{multline} 

(An example is taken from Mathmode : necessary if you want to type good math.) There are many other environments in amsmath: align and its variations for line alignment, gather for combining several equations, multline (note, no i ) for a multi-line equation, split etc.

To answer the second question: you can get an unnumbered equation using the star form of the equation environment:

 \begin{equation*} E = mc^2 \end{equation*} 
+3
source

Should I understand that the displaymath environment (called the equation environment) is gaining too much math, but the math environment (called the $formulae$ fo example) is typing it correctly?

If so, there are commands that can switch their displaymath argument to math mode and vice versa.

To invoke the math style in displaymath , you can use the \textstyle{} command. To invoke the displaymath style in math , you can use the \displaystyle{} command.

So for your task:

 \begin{equation}\textstyle{ neverending formulae }\end{equation} 

I hope he will do what you want.

+2
source

Source: https://habr.com/ru/post/1300261/


All Articles