# Korseby Online - LaTeX Templates

Here you can find some useful additions, functions and tricks for LaTeX.

### Some Samples

 Cover Content Picture & Keywords Tabular

If you want some features, you need some packages and extensions which come with LaTeX preinstalled. These are the packages which I am using:

 \documentclass[a4paper,10pt,twoside]{article} \usepackage[left=2cm,right=2cm,top=3cm,bottom=2cm,includeheadfoot]{geometry} \usepackage{textcomp} \usepackage{ngerman} \usepackage{eurosym} \usepackage[applemac]{inputenc} \usepackage{fancyhdr} \usepackage[pdftex]{graphicx}

### Definitions

Definitions are rather simple as you can see here:

 \def \TITLE{BIG Title} \def \SUBTITLE{Under Title} \def \AUTHOR{Kristian Peters}

Later you can access them via \SUBTITLE for example.

### Where's the sign for Degree?

If you want the degree sign you'll have to do something tricky. Simply user \Celsius in your text.

 \def \Celsius{\mathrm{^{\circ}C}}

### A simple way for a good looking math-mode?

I do not like the standard way mathematic formulas look like. So I redifed the math-mode a little. Simply use \M{formula}.

 \newcommand{\M}[1]{$\mathrm{#1}$}

If you only want a little heading and some keywords which do not take so much space, you can make use of these:


You can access them as follows:

### Tricks with Pics

Inserting pictures is always a bit pedestrian, so I've written a little makro that automatically adds a figure text. There are also makros for 2 or 3 pictures at once. (Note: The lines at the html-code have linebreaks. For best achievements you better should use the samples from the whole template file.)


And in the text, you can access them as follows:

 \vspace{7pt}\subsubsection{Bilder} \PIC{13cm}{data/datei.pdf}{einfaches Bild} \PPIC{data/Liriodendron_tulipifera.jpg}{zweifaches Bild 1} {data/Michaelia_champac_1.jpg}{zweifaches Bild 2} \PPPIC{data/Liriodendron_tulipifera.jpg}{dreifaches Bild 1} {data/Michaelia_champac_1.jpg}{dreifaches Bild 2} {data/Michaelia_champac_2.jpg}{dreifaches Bild 3}

There are also other things that are not so interesting like page numbering and so on... But you can download the whole template here.