568 Part IV . Running Applications To start (Managed web hosting)
568 Part IV . Running Applications To start your first document, I recommend that you select one of the templates provided with LyX. Templates are located in /usr/share/lyx/templates. To open a template, click File.New from Template. A list of available templates appears. You can use them to create letters, slides, and articles, for example. Besides offering standard editing functions, such as cut, copy, and paste, the Layout menu enables you to perform a variety of markup functions. As for mathematical functions, the Math menu enables you to insert fractions, square root, exponent, sum, and integral functions into your document. When you are done, you can: . Print the file to a PostScript printer or output a PostScript (.ps) file. (Click File.Print, select the printing method, and then click OK.) . Export the file to LaTeX, DVI, PostScript, or ASCII Text. (Click File.Export and choose from the list of file formats.) LyX calls itself a WYSIWYM editor What You Say Is What You Mean. As a result, what you see on the screen as you edit is not exactly what the printed document will look like. For example, no extra white space appears between lines by pressing Enter multiple times. Because LyX supports style files, it enables you to create documents that meet several different standards. For example, LyX supports typesetting for the American Mathematics Society (AMS) journals using the article text class. Other text classes supported include: . article One-sided paper with no chapters. . report Two-sided report that tends to be longer than an article. . book Same as report, with additional front and back matter. . slides For producing transparencies. . letter Includes special environments for addresses, signatures, and other elements. Printing LaTeX Files Whether you create your own LaTeX file, export one from the LyX LaTeX editor, or download one from the Internet, several utilities are available to format, print, or display the output. Here are some of your choices: . To format a LaTeX file (filename.tex), run the following command: $ latex filename.tex . To print a DVI file (filename.dvi), send it to your default PostScript printer, and type the following: $ dvips filename.dvi
From our experience, we can recommend PHP5 Web Hosting services, if you need affordable webhost to host and run your web application.