welcome: please sign in
location: computerLatexRules

Latex at Automatic Control

Local extensions for LaTeX, not described in the book, are described here. Under "Miscellaneous templates", there are a couple of special documents and layouts. The following indications are used:

Select the text you want to use in your document and paste it with the mouse (the middle button).

Formats (classes)

\documentclass{pm}

Suitable for simpler documents on a few pages. The package {paperhead} is included automatically. Template

\documentclass{rapport}

The standard format for internal reports, theses and similar. Template
[chapter]

  • For \chapter to be used, this option needs to be included. Section numbers, equation numbers etc. will be of the type 4.3 and similar.

[final]

  • Removes the date on the bottom of the page and moves the text away from stapling and binding.

[twoside]

  • Moves the text on the page and puts the page number where it fits for duplex printing.
\documentclass{avhandling}

Format for disserations according to our standards. Template
[final]

  • Removes all extra information in the form of date etc.

[cropmarks]

  • Moves the text to the middle of the paper and adds help lines for the printer.
\documentclass{lic}

Format for licenciate theses according to our standards. Template
There is also a more extensive template containing title pages.
The cover of the licentiate thesis is made from this Cover Template. It should be made into a separate pdf-file and sent to the printer.

[final]

  • Removes all extra information in the form of date etc.

[pdf]

  • Moves the text on the paper so the pdf-file will save in the right format.

\documentclass{tentamen}

Format for exams. You can enter both problems and solutions in the same file, and print each seperatly or individually depending on the options. For additional subcommands, see the example. Template

[final]

  • Meant for the final version. Removes help dates, etc.

[problemsonly]

  • Just prints the problems. This is the form in which exams are to be given.

[solutionsonly]

  • Just prints the solutions.
\documentclass{artikel}

This format is meant for magazine articles, coference contributions etc. It is not to be used alone but always together with an option that specifies which magazine or conference. Here are only a few options lusted, since they normally are only current a short time.The package {paperhead} is included automatically. Template
[cdc97]

[ifac]

  • For conferences by IFAC

[ieee]

  • For conferences by IEEE
\documentclass{brev}

Format for letters with the address placed so it fits our window envelopes. For additional commands, see the example. Template
[letterhead]

  • Gives a English language letter header and footer.

[brevhuvud]

  • Gives a Swedish language letter header and footer. Also Swedish hyphenation in the letter.
\documentclass{oneslide} \documentclass{fourslides}

Format for slides. {oneslide} is used for the final version, whereas {fourslides} is used for the documentation, four small images on one side. Template
[landscape]

  • Gives landscape format, suitable for slides or video presentation.

[center]

  • Gives vertically centered pictures. The default is that all images begin at the top of the page.

[14pt]

  • Gives a larger font (default is 12pt)

[17pt]

  • Gives an even larger font

{slide}

  • Each new image is defined within the setting {slide}

{lionslide}

  • Is used for the first page and places a grey toned lion seal as the background and is definied within the setting {lionslide}. The page does not behave the same in oneslide as in fourslides. Contact Leif if you are experiencing problems.

\centerhead{...}

  • Gives a centerd headline.

\lefthead{...}

  • Gives a leftern headline.

The format for video presentations is shown in an example.


Packages

\usepackage{paperhead}
This package defines the setting {paperhead} which includes the following commands:

\title{...} The document's title
\author{...} The document's author
\address{...} The author's address

  • If there are two author with the same address, write them together with \qquad in between. If there are two authors with different addresses, write them in the order auth1, addr1, auth2, addr2. They will automatically be placed in two columns. See the example. If authors and addresses don't fit in two columns, use footnotes instead, as per this example, which also includes a footnote to the title.

\subsubsection
is used if Abstract or Keywords should be included in the header. The package {paperhead} is included automatically in {artikel} and in {pm}
\usepackage{schoolbook}

This package changes the fonts so that PostScript-fonts (based on New Century Schoolbook) are used instead of the pixel-based that are default in TeX. Always use this for documents that are to be publiced, especially important if it should be presented in PDF-format.


Miscellaneous templates

Cover for report
The template shows covers as a seperate document. If you want to have the cover together with the report just type the setting {titlepage} in a seperate document and type the command \input{omslag} in the report document. Note that empty rows within {titlepage} are not accepted.

Document datasheet
The templates includes instructions.

Posting
The template is a dummy-document where the necessary changes (hopefully) are pretty obvious.

References under different headings
An example that shows how you can create several seperate reference sections in the same document in Bibtex.

computerLatexRules (last edited 2011-05-26 15:59:48 by leif)