How do I center the text on the page? The text is flush against the right margin. (I have more text. On the second page, the text is also flush against the right margin.)
\documentclass{amsart}
\setlength{\textwidth}{6.1in}
\setlength{\topmargin}{0.0in} \setlength{\textheight}{9in}
\begin{document}
\centerline{\Large{\textbf{Distance between a Point and a Line}}} \vskip0.5in
\noindent {\bf Definition} \vskip1.25mm
\noindent \hspace*{1em}
\begin{minipage}{5.75in}
{\em $\ell$ is a line, and $P = (x_{\circ}, \, y_{\circ})$ is a point that is not on $\ell$. The {\bf distance} between $P$ and $\ell$ is the distance between $P$ and the intersection of $\ell$ and the line through $P$ that is perpendicular to $\ell$. (According to the Pythagorean Theorem, it is less than the distance between $P$ and any other point on $\ell$.)}
\end{minipage}
\vskip0.25in
\noindent {\bf Theorem} \vskip1.25mm
\noindent \hspace*{1em}
\begin{minipage}{5.75in}
{\em $\ell$ is a line, and $P = (x_{\circ}, \, y_{\circ})$ is a point that is not on $\ell$. If $Ax + By + C = 0$ is an equation for $\ell$, the distance between $P$ and $\ell$ is}
\begin{equation*}
\frac{\vert Ax_{\circ} + By_{\circ} + C \vert}{\sqrt{A^{2} + B^{2}}} .
\end{equation*}
\end{minipage}
\vskip0.2in
\noindent {\bf Demonstration} \vskip1.25mm
\noindent An equation for the line through $P$ that is perpendicular to $\ell$ is $-Bx + Ay + (Bx_{\circ} - Ay_{\circ}) = 0$, and the lines intersect at $Q = (x_{1}, \, y_{1})$ if, and only if,
\begin{equation*}
x_{1} = \frac{B^{2}x_{\circ} - ABy_{\circ} - AC}{A^{2} + B^{2}}
\qquad \text{and} \qquad
y_{1} = \frac{-ABx_{\circ} + A^{2}y_{\circ} - BC}{A^{2} + B^{2}} .
\end{equation*}
So,
\begin{align*}
\big\vert\overline{PQ}\big\vert^{2}
&= \left(\frac{B^{2}x_{\circ} - ABy_{\circ} - AC}{A^{2} + B^{2}} - x_{\circ}\right)^{2}
+ \left(\frac{-ABx_{\circ} + A^{2}y_{\circ} - BC}{A^{2} + B^{2}} - y_{\circ}\right)^{2} \\
&= \left(\frac{-A^{2}x_{\circ} - ABy_{\circ} - AC}{A^{2} + B^{2}}\right)^{2}
+ \left(\frac{-ABx_{\circ} - B^{2}y_{\circ} - BC}{A^{2} + B^{2}}\right)^{2} \\
&= \frac{(A^{2}x_{\circ} + ABy_{\circ} + AC){\vphantom{A^{2}}}^{2} + (ABx_{\circ} + B^{2}y_{\circ} + BC){\vphantom{B^{2}}}^{2}}{(A^{2} + B^{2}){\vphantom{A^{2}}}^{2}} \\
&= \frac{A^{2}(Ax_{\circ} + By_{\circ} + C)^{2} + B^{2}(Ax_{\circ} + By_{\circ} + B)^{2}}{(A^{2} + B^{2}){\vphantom{A^{2}}}^{2}} \\
&= \frac{(A^{2} + B^{2})(Ax_{\circ} + By_{\circ} + C)^{2}}{(A^{2} + B^{2}){\vphantom{A^{2}}}^{2}} \\
&= \frac{(Ax_{\circ} + By_{\circ} + C)^{2}}{A^{2} + B^{2}} ,
\intertext{and}
\big\vert\overline{PQ}\big\vert &= \frac{\vert Ax_{\circ} + By_{\circ} + C \vert}{\sqrt{A^{2} + B^{2}}} . \ \rule{1.5ex}{1.5ex}
\end{align*}
\vskip0.25in
\noindent \textbf{Quotes from Alan Shepard} \vskip1.25mm
\noindent It's a very sobering feeling to be up in space and realize that one's safety factor was determined by the lowest bidder on a government contract. \\
\noindent It's been a long way, but we're here.
\vskip0.25in
\noindent \textbf{Quotes from Yogi Berra} \vskip1.25mm
\noindent Baseball is ninety percent mental and the other half is physical.
\noindent You can observe a lot by just watching.
\end{document}
\calclayout
before\begin{document}
.\centerline
,\bf
and\vskip
shouldn't be used in latex (and\noindent
only rarely)\calclayout
is for centering the text block on the page. It has nothing to do with the typesetting of paragraphs in the text. Why are you talking about a play and show a mathematical text? Please, change your question so it reflects what you're about.texdoc amsclass
is the correct reference. even there,\calclayout
isn't very well documented. the general layouts of ams document classes weren't really meant to be tinkered with by anyone who wasn't familiar with the "internal" coding; it was both a policy decision and a practical one based on the (at the time) limited memory space. (it has also been a thorn in our side.) i'll write an answer.