# Thread: Making a PDF

1. ## Making a PDF

How would I go about making a pdf using latex?

I have mathtype if that helps.

2. Originally Posted by RedBarchetta
How would I go about making a pdf using latex?

I have mathtype if that helps.
Try TeXnic Center. You may need to download the most recent version of MikiTex out there. [The good thing is, its FREE]

I use it, and its great. This is a sample .pdf document created by TeXnic Center [its a part of my linear algebra assignment I have yet to complete ]

However, this was the LaTeX code I used to generate the pdf:

Code:
\documentclass[8pt]{article}
\usepackage{amsmath, amssymb, amsthm}

\pdfpagewidth 8.5in
\pdfpageheight 11in
\setlength\topmargin{-1.5in}
\setlength\textheight{9.25in}
\setlength\textwidth{7in}
\setlength\oddsidemargin{-.35in}
\setlength\evensidemargin{-.75in}

\begin{document}

\begin{center}
\small \textbf{MATH 243 : Linear Algebra I} \\
\small Chapter 2.1 \#1-7 odd, 11, 15
\end{center}

\begin{flushleft}

\begin{enumerate}
\item[1. ] Find a row echelon form of each of the given matrices.  Record the row operations you perform, using the notation for elementary row operations.\vskip 0.25pc
\begin{enumerate}
\item $A=\left[\begin{array}{ccc}-1&2&-5\\2&-1&6\\2&-2&7\end{array}\right]$\vskip 0.25pc
$\begin{array}{c} \scriptsize_{2R_1+R_2\rightarrow R_2}\\ \left[\begin{array}{ccc}-1&2&-5\\0&3&-4\\2&-2&7\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{2R_1+R_3\rightarrow R_2}\\ \left[\begin{array}{ccc}-1&2&-5\\0&3&-4\\0&2&-3\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-R_1\rightarrow R_1}\\ \left[\begin{array}{ccc}1&-2&5\\0&3&-4\\0&2&-3\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{\frac{1}{3}R_2\rightarrow R_2}\\ \left[\begin{array}{ccc}1&-2&5\\0&1&-\frac{4}{3}\\0&2&-3\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-2R_2+R_3\rightarrow R_3}\\ \left[\begin{array}{ccc}1&-2&5\\0&1&-\frac{4}{3}\\0&0&-\frac{1}{3}\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-3R_3\rightarrow R_3}\\ \left[\begin{array}{ccc}1&-2&5\\0&1&-\frac{4}{3}\\0&0&1\end{array}\right] \end{array}\blacktriangleleft$\vskip 1.5pc

\item $A=\left[\begin{array}{ccc}1&1&-1\\3&4&-1\\5&6&-3\\-2&-2&2\end{array}\right]$\vskip 0.25pc
$\begin{array}{c} \scriptsize_{2R_1+R_4\rightarrow R_4}\\ \left[\begin{array}{ccc}1&1&-1\\3&4&-1\\5&6&-3\\0&0&0\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-3R_1+R_2\rightarrow R_2}\\ \left[\begin{array}{ccc}1&1&-1\\0&1&2\\5&6&-3\\0&0&0\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-5R_1+R_3\rightarrow R_3}\\ \left[\begin{array}{ccc}1&1&-1\\0&1&2\\0&1&2\\0&0&0\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-R_2+R_3\rightarrow R_3}\\ \left[\begin{array}{ccc}1&1&-1\\0&1&2\\0&0&0\\0&0&0\end{array}\right] \end{array}\blacktriangleleft$
\end{enumerate}\vskip 1.5pc

\item[3. ] Each of the given matrices is in row echelon form. Determine its reduced row echelon form. Record the row operations you perform, using the notation for elementary row operations.\vskip 0.5pc
\begin{enumerate}
\item $A=\left[\begin{array}{ccc}1&2&4\\0&1&-2\\0&0&1\end{array}\right]$\vskip 0.5pc
$\begin{array}{c} \scriptsize_{-2R_2+R_1\rightarrow R_1}\\ \left[\begin{array}{ccc}1&0&8\\0&1&-2\\0&0&1\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{2R_3+R_2\rightarrow R_2}\\ \left[\begin{array}{ccc}1&0&8\\0&1&0\\0&0&1\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-8R_3+R_1\rightarrow R_1}\\ \left[\begin{array}{ccc}1&0&0\\0&1&0\\0&0&1\end{array}\right] \end{array}\blacktriangleleft$\vskip 1.5pc
\item $A=\left[\begin{array}{cccc}1&4&3&5\\0&0&1&-4\\0&0&0&1\\0&0&0&0\end{array}\right]$\vskip 0.5pc
$\begin{array}{c} \scriptsize_{-3R_2+R_1\rightarrow R_1}\\ \left[\begin{array}{cccc}1&4&0&17\\0&0&1&-4\\0&0&0&1\\0&0&0&0\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{4R_3+R_2\rightarrow R_2}\\ \left[\begin{array}{cccc}1&4&0&17\\0&0&1&0\\0&0&0&1\\0&0&0&0\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-17R_3+R_1\rightarrow R_1}\\ \left[\begin{array}{cccc}1&4&0&0\\0&0&1&0\\0&0&0&1\\0&0&0&0\end{array}\right] \end{array}\blacktriangleleft$\vskip 4.5pc

\end{enumerate}

\item[5.  ] Find the reduced row echelon form of each of the given matrices.  Record the row operations you perform, using the notation for elementary row operations.\vskip 0.5pc
\begin{enumerate}
\item $A=\left[\begin{array}{ccc}-1&2&-5\\2&-1&6\\2&-2&7\end{array}\right]$\vskip 0.5pc
$\begin{array}{c} \scriptsize_{2R_1+R_2\rightarrow R_2}\\ \left[\begin{array}{ccc}-1&2&-5\\0&3&-4\\2&-2&7\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{2R_1+R_3\rightarrow R_3}\\ \left[\begin{array}{ccc}-1&2&-5\\0&3&-4\\0&2&-3\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-R_1\rightarrow R_1}\\ \left[\begin{array}{ccc}1&-2&5\\0&3&-4\\0&2&-3\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{\frac{1}{3}R_2\rightarrow R_2}\\ \left[\begin{array}{ccc}1&-2&5\\0&1&-\frac{4}{3}\\0&2&-3\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{2R_2+R_1\rightarrow R_1}\\ \left[\begin{array}{ccc}1&0&\frac{7}{3}\\0&1&-\frac{4}{3}\\0&2&-3\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-2R_2+R_3\rightarrow R_3}\\ \left[\begin{array}{ccc}1&0&\frac{7}{3}\\0&1&-\frac{4}{3}\\0&0&-\frac{1}{3}\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-3R_3\rightarrow R_3}\\ \left[\begin{array}{ccc}1&0&\frac{7}{3}\\0&1&-\frac{4}{3}\\0&0&1\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{\frac{4}{3}R_3+R_2\rightarrow R_2}\\ \left[\begin{array}{ccc}1&0&\frac{7}{3}\\0&1&0\\0&0&1\end{array}\right] \end{array}\implies \begin{array}{c} \scriptsize_{-\frac{7}{3}R_3+R_1\rightarrow R_1}\\ \left[\begin{array}{ccc}1&0&0\\0&1&0\\0&0&1\end{array}\right] \end{array}\blacktriangleleft$\vskip 1.5pc

\end{enumerate}

\end{enumerate}

\end{flushleft}

\end{document}
--Chris

3. I downloaded both of those above. I've inserted the latex into a document. Where can you see a preview of what you've put in the document?

I can't even to begin the set up with this thing.....

"Enter the full path of the directory, where the executables(latex,tex,etc.) of your TeX-distribution are located:"

Where and what is this?

4. Originally Posted by RedBarchetta
I downloaded both of those above. I've inserted the latex into a document. Where can you see a preview of what you've put in the document?

I can't even to begin the set up with this thing.....

"Enter the full path of the directory, where the executables(latex,tex,etc.) of your TeX-distribution are located:"

Where and what is this?
Depending on what MiKTex you downloaded, the path of directory, where the executables are located is:

C:\Program Files\MiKTex *.*\miktex\bin

where *.* represents the version number. In my case, I have MiKTex 2.7, so my path was

C:\Program Files\MiKTex 2.7\miktex\bin

Then click next, and don't worry about the rest; just continue on until you're done with setup.

When it finishes set up, go to the drop down that says LaTeX => DVI and change it to LaTeX => PDF.

Once you start a new document, three buttons in the row that contains the drop down box become usable. From left to right, they are:

- build document
- view document
- build and view document

I use the last one, so it can compile and output the document in one action. However, if you keep using this button, you need to make sure that the preview (.pdf file) is closed. Otherwise, an error will come up and say they can't overwrite the file.

Try to mess around with this a little bit. I'm still new to this, but it doesn't take much time until you catch on!

--Chris