Baby Steps

| No Comments | No TrackBacks
If you are serious about learning TeX/LaTeX you might want to consider the wonderful book More Math into LaTeX (4th ed.) by George Gratzer.  It is $57 at Amazon and might be worth your while if you want to be come a serious TeX user.  From time to time I will follow things in it and pass them along to you.

Copy and paste this into your editor:
\documentclass{amsart}

\begin{document}

The hypotenuse is $\sqrt{a^{2}+b^{2}}$

A source file is made up of text, math (e.g. $\sqrt{5}$, and \emph{ instructions to}\LaTeX.

\end{document}


As you can see, you have regular text, math (set off by dollar signs) and instructions to TeX, started by a backslash.  You can see what the above instructions do.


My first question?  What about a line break?

\newline or \\


Second question.  What if I do not want an indentation at the beginning?

\noindent


\documentclass{amsart}

\begin{document}

\noindent

The hypotenuse is $\sqrt{a^{2}+b^{2}}$\\

A source file is made up of text, math (e.g. $\sqrt{5}$, and \emph{ instructions to}\LaTeX.

\end{document}


Once you have signed into the blog you can post your own experiments and questions.


No TrackBacks

TrackBack URL: https://blog.iup.edu/mt-tb.cgi/9014

Leave a comment

About this Entry

This page contains a single entry by Gary Stoudt published on September 18, 2013 7:35 AM.

Next "Assignment" was the previous entry in this blog.

Next Meeting: Thursday, October 3, 3:30-4:30 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.