How can I increase the equation size in an array for better alignment?

  • Context: MHB 
  • Thread starter Thread starter Dustinsfl
  • Start date Start date
  • Tags Tags
    Array
Click For Summary
SUMMARY

This discussion focuses on increasing the size of equations in LaTeX arrays for better alignment and visibility. Users suggested using the \huge and \large commands to adjust the font size of equations, with \large being a preferred option for optimal readability. Additionally, the align environment is recommended over the array environment for multi-line equations, requiring the inclusion of the \usepackage{amsmath} command in the LaTeX document preamble. These adjustments ensure that equations appear larger and more aligned, similar to those displayed on MHB.

PREREQUISITES
  • Familiarity with LaTeX typesetting
  • Understanding of mathematical environments in LaTeX, specifically array and align
  • Knowledge of font size commands in LaTeX, such as \huge and \large
  • Experience with LaTeX packages, particularly amsmath
NEXT STEPS
  • Research the usage of the \begin{align} environment in LaTeX
  • Explore the amsmath package and its features for advanced mathematical formatting
  • Learn about other font size commands in LaTeX for further customization
  • Experiment with different alignment techniques in LaTeX for multi-line equations
USEFUL FOR

Mathematicians, educators, and students who are creating LaTeX documents with complex equations and require improved formatting and alignment for clarity.

Dustinsfl
Messages
2,217
Reaction score
5
I had to use an array to center and left align two different equations--a system of DEs.

However, by using array, the equations are smaller than I would like.

How can I increase the the equation size in the array.

$$\displaystyle\begin{array}{lcl}
\frac{dN_1}{dt} & = & r_1N_1\left(1 - \frac{N_1}{K_1} - b_{12}\frac{N_2}{K_1}\right)\\
\frac{dN_2}{dt} & = & r_2N_2\left(1 - b_{21}\frac{N_1}{K_2}\right)
\end{array}$$

On MHB, the equations are a nice size in the array but on a LaTex document they aren't.

I would like my document equations to be the size of the MHB equations in the array.
 
Physics news on Phys.org
dwsmith said:
I had to use an array to center and left align two different equations--a system of DEs.

However, by using array, the equations are smaller than I would like.

How can I increase the the equation size in the array.

$$\displaystyle\begin{array}{lcl}
\frac{dN_1}{dt} & = & r_1N_1\left(1 - \frac{N_1}{K_1} - b_{12}\frac{N_2}{K_1}\right)\\
\frac{dN_2}{dt} & = & r_2N_2\left(1 - b_{21}\frac{N_1}{K_2}\right)
\end{array}$$

On MHB, the equations are a nice size in the array but on a LaTex document they aren't.

I would like my document equations to be the size of the MHB equations in the array.

Maybe put \huge in front of it..$$\huge \displaystyle\begin{array}{lcl} \frac{dN_1}{dt} & = & r_1N_1\left(1 - \frac{N_1}{K_1} - b_{12}\frac{N_2}{K_1}\right)\\ \frac{dN_2}{dt} & = & r_2N_2\left(1 - b_{21}\frac{N_1}{K_2}\right) \end{array}$$
 
Huge is bit too big. Are there any other qualifiers?

I found \large which worked nicely.
 
dwsmith said:
I had to use an array to center and left align two different equations--a system of DEs.

However, by using array, the equations are smaller than I would like.

How can I increase the the equation size in the array.

$$\displaystyle\begin{array}{lcl}
\frac{dN_1}{dt} & = & r_1N_1\left(1 - \frac{N_1}{K_1} - b_{12}\frac{N_2}{K_1}\right)\\
\frac{dN_2}{dt} & = & r_2N_2\left(1 - b_{21}\frac{N_1}{K_2}\right)
\end{array}$$

Try instead

\begin{align*}
\frac{dN_1}{dt} & = r_1N_1\left(1 - \frac{N_1}{K_1} - b_{12}\frac{N_2}{K_1}\right)\\
\frac{dN_2}{dt} & = r_2N_2\left(1 - b_{21}\frac{N_1}{K_2}\right).
\end{align*}

The array environment can be used for multi-line equations, but I find the align environment to be much better. You may need to have a usepackage command in there to make it work.
 
\usepackage{amsmath} for the \begin{align} environment.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
Replies
19
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 15 ·
Replies
15
Views
25K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K