background preloader

Report typing

Facebook Twitter

Helping you with gnuplot. LaTeX - Wikibooks, collection of open-content textbooks. This is a guide to the LaTeX markup language. It is intended to form a useful resource for everybody from new users who wish to learn, to old hands who need a quick reference. TeX and LaTeX TeX is a computer program for typesetting documents, created by Donald Knuth. It takes a suitably prepared computer file and converts it to a form which may be printed on many kinds of printers, including dot-matrix printers, laser printers and high-resolution typesetting machines.

The book is organized in different parts. Getting Started will provide you with the very first steps to print your first document: general concepts (very important!) Contents[edit] If you have questions related to LaTeX, ask at the Q&A. Edit the TOC or the stages Other wikibooks[edit] The comprehensive latex symbol list. LaTeX/Packages/Listings. Using the listings package[edit] Using the package listings you can add non-formatted text as you would do with \begin{verbatim} but its main aim is to include the source code of any programming language within your document. If you wish to include pseudocode or algorithms, you may find Algorithms and Pseudocode useful also. To use the package, you need: The listings package supports highlighting of all the most common languages and it is highly customizable.

If you just want to write code within your document the package provides the lstlisting environment: Another possibility, that is very useful if you created a program on several files and you are still editing it, is to import the code from the source itself. In the example there is a Python source, but it doesn't matter: you can include any file but you have to write the full file name. You can also specify a scope for the file. This comes in handy if you are sure that the file will not change (at least before the specified lines). BibTeX Style Examples - Iceweasel. It can be difficult to decide which of the large range of style files is closest to the format needed. The following provides examples using a variety of public-domain files that can be downloadeded from CTAN (Comprehensive TeX Archive Network). For example, consult the CTAN UK Mirror. Some of the styles below require auxiliary styles, so their representation here is only approximate.

In each case, citations are given as they would appear in the body of a document. These are followed by their appearance in the reference list.