1 / 13

Text, not Word Processing

Text, not Word Processing. Gordon J. Pace March 2006. First steps. ‘Coding’ Basics. . commands start with a backslash Parameters are given in curly brackets { } Environments (blocks with a certain type of content) are of the form: begin{environment_type} environment content

pmays
Télécharger la présentation

Text, not Word Processing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Text, not Word Processing Gordon J. Pace March 2006 First steps

  2. ‘Coding’ Basics • .commands start with a backslash \ • Parameters are given in curly brackets { } • Environments (blocks with a certain type of content) are of the form: \begin{environment_type} environment content \end{environment_type}

  3. The Simplest Document \documentclass{report} \begin{document} \end{document}

  4. The Simplest Document \documentclass{report} \begin{document} \end{document} This specifies the type of the document: report, book, article, letter, etc.

  5. The Simplest Document \documentclass{report} \begin{document} \end{document} The way the document is formatted is deduced through its class

  6. The Simplest Document \documentclass{report} \begin{document} \end{document} Anything within the document environment is typeset as output

  7. Hello World! \documentclass{report} \begin{document} Hello World! Bye! \end{document}

  8. Hello World! \documentclass{report} \begin{document} Hello World! Bye! \end{document}

  9. Hello World! • Newlines in the source are ignored. • Skipping a line in the source starts a new paragraph \documentclass{report} \begin{document} Hello World! Bye! \end{document}

  10. Commonly Used Symbols

  11. Excuse my French \documentclass{report} \begin{document} He said ``She said `H\’{e}ll\^{o}, j’adore \LaTeX!’ ’’ She was French, you see \ldots \end{document}

  12. Excuse my French \documentclass{report} \begin{document} He said ``She said `H\’{e}ll\^{o}, j’adore \LaTeX!’ ’’ She was French, you see \ldots \end{document}

  13. Useful Document Classes • Article: Ideal for a short paper (divided into sections, subsections, etc). Typeset to be printed double-sided. • Book: Class to be used to typeset a book (chapters, sections, etc). Typeset to be printed double-sided. • Report: (Almost) identical to the book class but for single-sided printing. • Other classes include letter, slides, etc.

More Related