# Using the examples---Red text is hyperlinked

## Book example

Open and edit LaTeX source file bookex.tex

### The book root file bookex.tex gives a basic example of how to use LaTeX for preparation of a book with hyperlinks, using documentclass{book} . You run the commandpdflatex bookexTo use the example here you can download the necessary files:Source: bookex.tex, graphics for inclusion: 3dpdf.pdfcontpdf.pdf chapter files: ch1.texch2.tex index file: index.tex. Each Chapter, Appendix and the Index is made as a *.tex file and is called in by the include command---thus ch1.tex is the name here of the file containing Chapter 1. The inclusion of any particular file can be suppressed by prefixing the line by a percent sign. Do not put an end{document} command at the end of chapter files; just one such command is needed at the end of the book. Note the tag used to make an index entry. You may need to consult Lamport's book for details of the procedure to make the index input file; LaTeX will create a pre-index by listing in the file bookex.idx all the tagged items in your input *.tex files, then you edit this into a theindex environment, as index.tex. When you view bookex.pdf using Acrobat Reader, from the toolbar View choose Single Page and select Bookmarks; then just pressing Enter or via a remote control you display the book one page at a time. For use from a CDROM, the Bookmarks navigation bar at the left is convenient; note that the List of Contents is automatically hyperlinked. Exercise: make hyperlinks from the index entries.

LaTeX to Powerpoint
You may wish to use Powerpoint to make a slideshow using the Powerpoint editor but for mathematical expressions the equation editor is rather primitive. A way around this is provided by TexPoint a Powerpoint add-in that enables the easy use of Latex symbols and formulas in Powerpoint presentations.
After you have installed TexPoint you can use the command
tex2bmp slid
to convert the LaTeX output of slid.tex (one formula from slidex.tex) into the bitmap graphic slid.bmp which you can copy and paste into PowerPoint or Word documents.

## Further examples:

exam, fax, letter, test
In Notepad open the plain text LaTeX source files
examex.tex
faxex.tex
lettex.tex and graphic coat.pdf
testex.tex
These can be edited as required and processed as before with pdflatex.

See the TeX User Group for more information on LaTeX and available augmentations.