I would like to write this in LaTeX. I tried using the array environment but I think I should use the tabular environment. The problem is the text is outside the margins of the paper. How can I fix this?
Here is my code.
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage{esvect}
\usepackage{physics}
\usepackage{units}
\begin{document}
\textbf{\begin{center}
{\Large MAXWELL’S EQUATIONS}
\end{center}}
Maxwell’s equations summarize electromagnetism and form its foundation,
including optics.
\bigskip
\begin{tabular}[l]{l l l}
Gauss’ law for electricity & $\oint \overrightarrow{E}\cdot d\overrightarrow{\! A}=\frac{q_\textrm{enc}}{\varepsilon_0}$ & Relates net electric flux to net enclosed electric charge\\
Gauss’ law for magnetism & $\oint \overrightarrow{B}\cdot d\overrightarrow{\! A}=0$ & Relates net magnetic flux to net enclosed magnetic charge\\
Faraday’s law & $\oint \overrightarrow{E}\cdot d\overrightarrow{\! s}=\frac{d\Phi_B}{dt}$ & Relates induced electric field to changing magnetic flux\\
Ampere – Maxwell law & $\oint \overrightarrow{B}\cdot d\overrightarrow{\! s}=\mu_0\varepsilon_0\frac{d\Phi_E}{dt}+\mu_0i_\textrm{enc}$ & Relates induced magnetic field to changing electric flux
and to current\\
\end{tabular}
\end{document}
I also would like to know how to make the equations to be in display mode. When I entered the $$ sign, there's an error message. I am relatively new to LaTeX.
Thanks.





arrayenvironment? To change the length of a specific column look at column optionp, for auto line-break look at tabularx but I would be surprised it plays well with math. You can also designate entire columns as math mode. – Matthias Arras Jun 08 '20 at 15:29\usepackage{geometry}package and redefine the borders of your document\geometry{top=3cm,bottom=3cm,right=3cm,left=2.5cm}. Another way could be to make a linebreak in the description of the equations (look e.g. here). – Steradiant Jun 08 '20 at 15:30$$isn't allowed in a tabular nor array, but would be fine on its own (although\[and\]are preferred over$$). You could also look into thealignenvironment. – Teepeemm Jun 08 '20 at 15:58ds upright, the italic letterdis already taken for the dipole moment. – Jun 08 '20 at 17:09