\documentclass[12pt,reqno,twoside,usenames,dvipsnames]{amsart}

\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{verbatim}
 
 \hypersetup{breaklinks=true,pagecolor=white,colorlinks=true,linkcolor= blue,hyperfootnotes= true,urlcolor=blue}
\urlstyle{rm}

 \parindent 24pt
 \parskip 10pt

\begin{document}

\noindent
May 8, 2024\\
Cedars Math\\
 Mr. Rasmusen\\

 

\begin{center}
{\large {\bf  Homework: Using LaTeX   }}
\end{center}

 

\noindent
(1) Go to the LaTeX compiler site, 
\href{https://latex.informatik.uni-halle.de/latex-online/latex.php}{https://latex.informatik.uni-halle.de/latex-online/latex.php}. It is in Germany, but I think you have a choice of English instructions or German instructions.\footnote{LaTeX and Python are the same all around the world, always using commands like  begin document or "do for item in (0,10): " that come from English words. 

Here, paste your code in big box under

Bitte in diesem Fenster den Quellcode eingeben:

Then to run it, click the button labelled with the German word for translate, 

Ubsersetzen

Then go to the bottom and see if it produced a pdf file. If it did, it worked, and you can see the output by clicking on: 
 in neuem Fenster   } This is a site like CodaBrainy for Python, except it is for LaTeX. What LaTex does is to help you write equations that look beautiful. It is a ``typesetting language'', because it takes your words and symbols and arranges them on the page like a book designer would do. 

\noindent
(2) Cut and paste this code into the big white box below ``Please enter the source code in this window:''

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{verbatim}

\documentclass[12pt,reqno,twoside,usenames,dvipsnames]{amsart}

\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{verbatim}
 
 \hypersetup{breaklinks=true,pagecolor=white,colorlinks=true,linkcolor= blue,hyperfootnotes= true,urlcolor=blue}
\urlstyle{rm}

 \parindent 24pt
 \parskip 10pt


\begin{document}
 Hello world. 
 
 Here is a second paragaph. Here is   \href{
https://latex.informatik.uni-halle.de/latex-online/latex.php}{
text that when clicked will take you to the Latex site}.
 
 \end{document}
   
 \end{verbatim}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  
\noindent
(3) Run your code by clicking on the button that says ``Translate''.  Then go  down to the bottom of the page, where it says, `` Output in PDF format    in new window'', and click on In New window. A new tab or window should appear that shows the output. Take a screenshot of that to send me by email or to print and hand in 
 
\noindent
(4) Now cut and paste this code into the middle of your Hello world code, replacing everything between  begin-document and end-document, and again run it by clicking Translate and send me the output in ``a new tab''.

%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{verbatim}
\begin{document}
 
\color{blue}
\begin{Huge}
 \hspace{64pt}Greek and Hebrew  letters: $\alpha, \beta, \theta $. 
\end{Huge}

\vspace{24pt }

\color{black}
 \hspace{72pt}Hats, etc., on letters: $\hat{x},\check{a},\overline{b}, \tilde{d},\dot{e}, y_{it}$.
 
 
 \end{document}
\end{verbatim}
%%%%%%%%%%%%%%%%%%%%%%%%%%5

 \newpage
\noindent
(5) Now cut and paste this code into the middle of your Hello world code, replacing everything between  begin-document and end-document, and again run it by clicking Translate and send me the output in ``a new tab''.

%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{verbatim}
\begin{document}
 
\color{red}
\begin{large}
 \hspace{72pt}Fancy fractions:  $y = \frac{5+  \frac{12}{10}}{100- \sqrt{7}}$
\end{large}
 
Symbols:   $\checkmark  \hspace{18pt}   \forall y   \\
 \exists y' \approx \pi + \infty \geq  17   \rightarrow x \Rightarrow (5 \times 234) \div x \neq Z.$
 
\noindent
Equations:\\
\begin{equation} \label{equation_1}
Area = \pi r^2
\end{equation}
Also, 
\begin{equation} \label{equation_2}
  y = -5 +   12 \cdot \left( \frac{2x}{5} \right)
\end{equation}

   Equation (\ref{equation_1}) tells the area of a circle.  Equation (\ref{equation_2}) is  the equation of a line sloping up. 


 \end{document}
\end{verbatim}

 \end{document}
