<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>321tux.de &#187; LaTeX</title>
	<atom:link href="http://www.321tux.de/tag/latex/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.321tux.de</link>
	<description>Linux &#38; Ubuntu &#124; Internet &#38; WordPress</description>
	<lastBuildDate>Wed, 11 Jan 2012 09:54:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>LaTeX Beamer – die Alternative zu Impress und PowerPoint®</title>
		<link>http://www.321tux.de/2010/02/latex-beamer-die-alternative-zu-impress-und-powerpoint/</link>
		<comments>http://www.321tux.de/2010/02/latex-beamer-die-alternative-zu-impress-und-powerpoint/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:23:35 +0000</pubDate>
		<dc:creator>Janek</dc:creator>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Softwarevorstellung]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[uu-Planet]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Einführung in das Erstellen von PDF-Präsentationen mit LaTeX Beamer (Alternative zu PowerPoint® und Impress) unter Ubuntu Linux.]]></description>
			<content:encoded><![CDATA[<div id="attachment_140" class="wp-caption alignright" style="width: 310px"><a href="http://www.321tux.de/wp-content/uploads/2010/02/beamer.png" rel="lightbox[80]"><img class="size-medium wp-image-140  " title="Beispiel einer LaTeX-Beamer-Folie" src="http://www.321tux.de/wp-content/uploads/2010/02/beamer-300x225.png" alt="Beispiel einer LaTeX-Beamer-Folie" width="300" height="225" /></a><p class="wp-caption-text">Beispiel einer LaTeX-Beamer-Folie</p></div>
<p>Da ich in letzter Zeit <a title="Xorg benötigt bei OO-Impress-Nutzung 80-90% CPU" href="http://forum.ubuntuusers.de/topic/xorg-benoetigt-bei-oo-impress-nutzung-80-90-c/">einige</a> <a title="'Text an Rahmen anpassen' fehlt?" href="http://forum.ubuntuusers.de/topic/ooo-impress-windows-text-an-rahmen-anpassen-f/">Probleme</a> mit dem PowerPoint<strong>®</strong>-Pendant OpenOffice.org Impress hatte, habe ich mich nach einer Alternative umgesehen und bin dabei auf den <a title="Homepage von LaTeX-Beamer" href="http://latex-beamer.sourceforge.net/">LaTeX Beamer</a> gestoßen.</p>
<h2>LaTeX</h2>
<p><a title="LaTeX-Projekt-Homepage" href="http://www.latex-project.org/">LaTeX</a> ist kein Textverarbeitungsprogramm sondern ein freies Satzprogramm, welches nicht nach dem <span style="border-bottom: 1px dotted black;" title="„What You See Is What You Get“ = „Was du siehst, ist das, was du bekommst”">WYSIWYG</span>-Prinzip arbeitet. Ähnlich wie bei HTML wird der Text mit einer speziellen Syntax formatiert und anschließend in ein beliebiges Ausgangsformat <span style="border-bottom: 1px dotted black;" title="übersetzt">kompiliert</span>.</p>
<p>Da Beamer-Präsentationen in der Regel auf PDF-Folien basieren sind diese plattformunabhängig, weshalb man sich keine Gedanken um Schrifttart, -größe und Zeilenumbrüche machen muss (wie es etwa bei Impress der Fall ist).<span id="more-80"></span></p>
<h3>Installation</h3>
<p>LaTeX und Beamer befinden sich in den Paketquellen von Ubuntu und können mit folgendem Befehl im Terminal installiert werden:</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">sudo apt-get install texlive texlive-latex-extra latex-beamer</pre></div></div>

<h2>Editor</h2>
<p>Theoretisch kann man jeden beliebigen Editor verwenden, jedoch empfiehlt sich ein Programm mit Syntaxhervorhebung für LaTeX. Im Wiki von ubuntuusers.de findet man eine <a href="http://wiki.ubuntuusers.de/LaTeX-Editoren">Liste von geeigneen Editoren</a>.</p>
<h3>LaTeX-Plugin für Gedit</h3>
<p>Ich selbst verwende für den Anfang das <a title="Homepage des Autors" href="http://www.michaels-website.de/gedit-latex-plugin/">LaTeX-Plugin für Gedit</a>, welches meiner Meinung nach völlig ausreicht.</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">sudo apt-get install gedit-latex-plugin</pre></div></div>

<div>
<p>Gewöhnt man sich folgenden Tastenkombinationen an, kommt man schneller ans Ziel:</p>
<table style="width: 100%;" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td style="width: 25%;" bgcolor="#eeeeee"><em>[Strg]+[Alt]+[2]</em></td>
<td bgcolor="#eeeeee">PDF-Datei erzeugen</td>
</tr>
<tr>
<td style="width: 25%;" bgcolor="#eeeeee"><em>[Strg]+[Leertaste]</em></td>
<td bgcolor="#eeeeee">Textschnipsel einfügen</p>
<p>(<em>&#8220;Bearbeiten -&gt; Einstellungen -&gt; Plugins -&gt; LaTeX Plugin -&gt; Plugin konfigurieren -&gt; Schnipsel&#8221;</em>)</td>
</tr>
<tr>
<td style="width: 25%;" bgcolor="#eeeeee"><em>[Strg]+[Alt]+[C]</em></td>
<td bgcolor="#eeeeee">Zeilen auskommentieren</td>
</tr>
<tr>
<td style="width: 25%;" bgcolor="#eeeeee"><em>[Strg]+[Alt]+[E]</em></td>
<td bgcolor="#eeeeee">offenen Umgebungen schließen</td>
</tr>
</tbody>
</table>
</div>
<h2>Syntax</h2>
<h3>Vorspann</h3>
<p>Eine LaTeX-Beamer-Präsentation beginnt mit folgendem Abschnitt:</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">documentclass</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">beamer</span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% Texttyp</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">utf8</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">inputenc</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% UTF-8-Zeichensatz verwenden</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">ngermanb</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">babel</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% Deutsche Texttrennung, Überschriften etc.</span>
&nbsp;
<span style="color: #E02020; ">\</span><span style="color: #800000;">title</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Kurz</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">Titel</span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% [optional: Kurzform] Titel der Präsentation</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">author</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Kurz</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">Name</span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% [optional: Kurzform] Name des Autors</span>
<span style="color: #800000; font-weight: normal;">\institute</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Unternehmen</span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% Firma, Unternehmen</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">date</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">\<span style="color: #800000;">today</span></span><span style="color: #E02020; ">}</span>			<span style="color: #2C922C; font-style: italic;">% Datum (hier: heute)</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">subject</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Thema</span><span style="color: #E02020; ">}</span>			<span style="color: #2C922C; font-style: italic;">% Thema</span>
<span style="color: #800000; font-weight: normal;">\keywords</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Schlüsselwörter</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% Schlüsselwörter</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span>
	<span style="color: #2C922C; font-style: italic;">% HIER KOMMEN ALLE FOLIEN HIN</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">document</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<h3>Themes</h3>
<p>Zahlreiche Präsentationsthemen erleichtern das Erstellen einer optisch ansprechenden Präsentation. Es wird dabei zwischen kompletten Präsentations- und Farbthemes, sowie inneren und äußeren Themen unterschieden.</p>
<p>Die zu verwendende Themes werden im „Vorspann“ der LaTeX-Datei festgelegt:</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\usetheme</span><span style="color: #E02020; ">{</span>		<span style="color: #2C922C; font-style: italic;">% Präsentationsthemen (jeweils nur 1 verwenden)</span>
	AnnArbor | Antibes | Bergen |
	Berkeley | Berlin | Boadilla |
	boxes | CambridgeUS | Copenhagen |
	Darmstadt | default | Dresden |
	Frankfurt | Goettingen |Hannover |
	Ilmenau | JuanLesPins | Luebeck |
	Madrid | Malmoe | Marburg |
	Montpellier | PaloAlto | Pittsburgh |
	Rochester | Singapore | Szeged |
	Warsaw
<span style="color: #2C922C; font-style: italic;">% Quelle: http://www2.informatik.hu-berlin.de/~mischulz/beamer.html#pthemes</span>
<span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\usecolortheme</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">theme</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% Farbtheme</span>
<span style="color: #800000; font-weight: normal;">\useinnertheme</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">theme</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% inneres Theme (Titelseite, Umgebungen wie Aufzählungen und Blöcke,…)</span>
<span style="color: #800000; font-weight: normal;">\useoutertheme</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">theme</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% äußeres Theme (Kopf- und Fußzeile, Sidebars, Folientitel, Logo)</span>
<span style="color: #800000; font-weight: normal;">\usefonttheme</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">thene</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% Schrifttheme</span></pre></div></div>

<p>Im Internet findet man etliche gute Übersichten, worauf ich an dieser Stelle verweisen möchte:</p>
<ul>
<li> <a href="http://www.math.umbc.edu/~rouben/beamer/quickstart-Z-H-31.html">Übersicht 1</a> <a href="http://www.pletscher.org/writings/latex/beamerthemes.php">und 2</a> – Screenshots ohne weitere Beschreibung</li>
<li> <a href="http://www.namsu.de/latex/themes/uebersicht_beamer.html">Übersicht 3</a> – Themes nach verschiedenen Kriterien sortiert</li>
<li> <a href="http://www.hartwork.org/beamer-theme-matrix/">Übersicht 4</a> – Theme-Matrix (mit verschiedenen Farbthemen)</li>
<li> <a href="http://www.matthiaspospiech.de/latex/vorlagen/beamer/preambel/beamer-settings/">Themes anpassen</a></li>
</ul>
<p><em>Update:</em> Habe noch zwei hübsche Themes gefunden, die sich nachinstallieren lassen: <a title="An Unofficial AAU Beamer Theme" href="http://kom.aau.dk/~jkn/latex/latex.php#beamer">AAU Beamer Theme</a> und <a title="Torino, a pretty theme for LaTeX Beamer" href="http://blog.barisione.org/2007-09/torino-a-pretty-theme-for-latex-beamer/">Torino</a>.</p>
<h3>Titelseite und Inhaltsverzeichnis</h3>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\frame</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\titlepage</span></span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% Titelseite</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\frame</span><span style="color: #E02020; ">{</span>			<span style="color: #2C922C; font-style: italic;">% Inhaltsverzeichnis</span>
<span style="color: #800000; font-weight: normal;">\frametitle</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Inhalt</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% Folienüberschrift</span>
	<span style="color: #E02020; ">\</span><span style="color: #800000;">tableofcontents</span>
<span style="color: #E02020; ">}</span></pre></div></div>

<h3>Folie</h3>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">frame</span></span><span style="color: #E02020; ">}</span><span style="color: #800000; font-weight: normal;">\frametitle</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Folienüberschrift</span><span style="color: #E02020; ">}</span>
	<span style="color: #2C922C; font-style: italic;">% Folieninhalt</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">frame</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<h3>Aufzählungen und nummerierte Listen</h3>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">itemize</span></span><span style="color: #E02020; ">}</span>			<span style="color: #2C922C; font-style: italic;">% Aufzählung (Einträge beginnen mit einem dicken Punkt)</span>
	<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span> erster Punkt
	<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span> zweiter Punkt
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">itemize</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">enumerate</span></span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% Einträge werden durchnummeriert</span>
	<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span> erster Punkt (1.)
	<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span> zweiter Punkt (2.)
	<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">enumerate</span></span><span style="color: #E02020; ">}</span>
		<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span> Verschachtelung (2.1)
		<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span> zweiter Unterpunkt (2.2)
	<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">enumerate</span></span><span style="color: #E02020; ">}</span>
	<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span> dritter Punkt (3.)
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">enumerate</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<h3>Blöcke</h3>
<p>Mit Blöcken lässt sich Wichtiges hervorheben und zusammenfassen. Es gibt 3 verschiedene Arten, welche sich lediglich in der Farbgebung unterscheiden.</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">block</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Blocktitel</span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% normaler Block</span>
	<span style="color: #2C922C; font-style: italic;">% Blockinhalt</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">block</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">exampleblock</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Blocktitel</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% Beispielblock</span>
	<span style="color: #2C922C; font-style: italic;">% Blockinhalt</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">exampleblock</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">alertblock</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Blocktitel</span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% Warnblock</span>
	<span style="color: #2C922C; font-style: italic;">% Blockinhalt</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">alertblock</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<h3>Bilder</h3>
<p>Mit dem graphicx-Paket lassen sich recht einfach  PDF-, JPG- oder PNG-Grafiken in die Präsentation einfügen. Vektorgrafiken (z.B. SVG) sind für Präsentationen natürlich erste Wahl, müssen jedoch zuvor in PDF konvertiert werden (etwa mit Inkscape). Damit das graphicx-Paket auch geladen wird, muss der Kopfteil um <span class="monospace">\usepackage{graphicx}</span> ergänzt werden.</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">figure</span></span><span style="color: #E02020; ">}</span>
	<span style="color: #E02020; ">\</span><span style="color: #800000;">centering</span>
	<span style="color: #E02020; ">\</span><span style="color: #800000;">includegraphics</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Größe</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">relativer/Pfad/zum/Bild.png</span><span style="color: #E02020; ">}</span>
	<span style="color: #E02020; ">\</span><span style="color: #800000;">caption</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Bildunterschrift</span><span style="color: #E02020; ">}</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">figure</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">figure</span></span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% Bilder nebeneinander</span>
	<span style="color: #800000; font-weight: normal;">\subfigure</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Bildunterschrift 1</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">\<span style="color: #800000;">includegraphics</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Größe</span>]{bild1.png</span><span style="color: #E02020; ">}}\</span><span style="color: #800000;">hfill</span>
	<span style="color: #800000; font-weight: normal;">\subfigure</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Bildunterschrift 2</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">\<span style="color: #800000;">includegraphics</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Größe</span>]{bild2.png</span><span style="color: #E02020; ">}}</span>
	<span style="color: #E02020; ">\</span><span style="color: #800000;">caption</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Gemeinsame Bildunterschrift</span><span style="color: #E02020; ">}</span> <span style="color: #2C922C; font-style: italic;">% optional</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">figure</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<p>Folgende Größenangaben sind möglich:</p>
<table style="width: 100%;" border="0" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">height=</td>
<td style="width: 75%;" bgcolor="#eeeeee">Höhe</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">width=</td>
<td style="width: 75%;" bgcolor="#eeeeee">Breite</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">scale=</td>
<td style="width: 75%;" bgcolor="#eeeeee">Skalierungsfaktor</td>
</tr>
</tbody>
</table>
<p>und als Maßeinheit:</p>
<table style="width: 100%;" border="0" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">mm</td>
<td style="width: 75%;" bgcolor="#eeeeee">Millimeter</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">cm</td>
<td style="width: 75%;" bgcolor="#eeeeee">Zentimeter</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">pt</td>
<td style="width: 75%;" bgcolor="#eeeeee">Punkt (1 Punkt entspricht 0,353 mm)</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">ex</td>
<td style="width: 75%;" bgcolor="#eeeeee">Höhe eines x in der aktuellen Schriftart</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">em</td>
<td style="width: 75%;" bgcolor="#eeeeee">Breite eines Gedenkenstriches (–) in der aktuellen Schfiftart</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\textwidth</td>
<td style="width: 75%;" bgcolor="#eeeeee">Texbreite (z.B. ergibt <span class="monospace">width=0.5\textwidth</span> halbe Textbreite)</td>
</tr>
</tbody>
</table>
<h3>Strukturierung</h3>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">section</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Kurzform</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">Titel des Abschnittes</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% Abschnitt</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">subsection</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Titel des Unterabschnittes</span><span style="color: #E02020; ">}</span>		<span style="color: #2C922C; font-style: italic;">% Unterabschnitt</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">subsection</span>*<span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Titel des Unterabschnittes</span><span style="color: #E02020; ">}</span>	<span style="color: #2C922C; font-style: italic;">% nicht im Inhaltsverzeichnis auflisten</span></pre></div></div>

<h3>Spalten</h3>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">columns</span></span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;">c</span><span style="color: #E02020; ">]</span>
  <span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">column</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">7cm</span><span style="color: #E02020; ">}</span>
	<span style="color: #2C922C; font-style: italic;">% Inhalt 1. Spalte</span>
  <span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">column</span></span><span style="color: #E02020; ">}</span>
  <span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">column</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">3cm</span><span style="color: #E02020; ">}</span>
	<span style="color: #2C922C; font-style: italic;">% Inhalt 2. Spalte</span>
  <span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">column</span></span><span style="color: #E02020; ">}</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">columns</span></span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #2C922C; font-style: italic;">% oder kürzer</span>
<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">columns</span></span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;">c</span><span style="color: #E02020; ">]</span>
  <span style="color: #800000; font-weight: normal;">\column</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">7cm</span><span style="color: #E02020; ">}</span>
	<span style="color: #2C922C; font-style: italic;">% Inhalt 1. Spalte</span>
  <span style="color: #800000; font-weight: normal;">\column</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">3cm</span><span style="color: #E02020; ">}</span>
	<span style="color: #2C922C; font-style: italic;">% Inhalt 2. Spalte</span>
<span style="color: #C00000; font-weight: normal;">\end</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #0000D0; font-weight: normal;">columns</span></span><span style="color: #E02020; ">}</span></pre></div></div>

<h3>Schrift</h3>
<h4>Sonderzeichen</h4>
<table style="width: 100%;" border="0" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">%</td>
<td bgcolor="#eeeeee">Kommentare beginnen</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">{…}</td>
<td bgcolor="#eeeeee">Textbereiche einklammern (etwa für Formatierungen)</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">$formel$</td>
<td bgcolor="#eeeeee">Formel im Fließtext einklammern</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\#, \$, \&amp;, \%, \textbar</td>
<td bgcolor="#eeeeee">#, $, &amp;, %, |</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">` &#8216;</td>
<td bgcolor="#eeeeee">&#8216; &#8216; (Anführungszeichen)</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">&#8220;` &#8220;&#8216;</td>
<td bgcolor="#eeeeee">„“ (deutsche Anführungszeichen) (Paket german bzw. ngerman)</td>
</tr>
</tbody>
</table>
<h4>Schriftattribute</h4>
<table style="width: 100%;" border="0" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\textbf{text}</td>
<td style="width: 75%;" bgcolor="#eeeeee"><strong>fett</strong></td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\textit{text}</td>
<td style="width: 75%;" bgcolor="#eeeeee"><em>kursiv</em></td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\underline{text}</td>
<td style="width: 75%;" bgcolor="#eeeeee"><span style="text-decoration: underline;">unterstrichen</span></td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\texttt{text}</td>
<td style="width: 75%;" bgcolor="#eeeeee"><span style="font-family: courier new,courier,monospace;">Typewriter</span></td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\textrm{text}</td>
<td style="width: 75%;" bgcolor="#eeeeee"><span style="font-family: times new roman,times,serif;">Roman</span></td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\textsf{text}</td>
<td style="width: 75%;" bgcolor="#eeeeee">Sans Serfif</td>
</tr>
</tbody>
</table>
<h4>Schriftgröße</h4>
<table style="width: 100%;" border="0" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\tiny</td>
<td style="width: 75%;" bgcolor="#eeeeee">winzig kleine Schrift</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\scriptsize</td>
<td style="width: 75%;" bgcolor="#eeeeee">sehr kleine Schrift (wie Indizes)</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\footnotesize</td>
<td style="width: 75%;" bgcolor="#eeeeee">kleine Schrift (wie Fußnoten)</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\small</td>
<td style="width: 75%;" bgcolor="#eeeeee">kleine Schrift</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\normalsize</td>
<td style="width: 75%;" bgcolor="#eeeeee">normale Schrift</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\large</td>
<td style="width: 75%;" bgcolor="#eeeeee">große Schrift</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\Large</td>
<td style="width: 75%;" bgcolor="#eeeeee">größere Schrift</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\LARGE</td>
<td style="width: 75%;" bgcolor="#eeeeee">sehr große Schrift</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\huge</td>
<td style="width: 75%;" bgcolor="#eeeeee">riesig groß</td>
</tr>
<tr>
<td class="monospace" style="width: 25%;" bgcolor="#eeeeee">\Huge</td>
<td style="width: 75%;" bgcolor="#eeeeee">gigantisch</td>
</tr>
</tbody>
</table>
<h3>Effekte</h3>
<p>Auf aufwendige Animationen, wie man sie von PowerPoint<strong>®</strong> oder Impress kennt, muss man bei Beamer-Präsentationen verzichten. Doch das ist nicht weiter schlimm, da Animationen häufig mehr ablenken, als nutzen. Dennoch muss man nicht auf einen simplen „Einblend-Effekt“ verzichten:</p>
<h4>Overlays</h4>
<p>Mit <span class="monospace">[&lt;+-&gt;]</span> hinter <span class="monospace">\begin{itemize}</span> oder <span class="monospace">\begin{enumerate}</span> erreicht man, dass die Einträge erst nacheinander aufgedeckt werden und mit dem Befehl \pause lässt sich an jeder beliebigen Stelle ein Overlay einfügen. Durch Overlays wird der Folieninhalt auf mehrere PDF-Folien verteilt (quasi 1 Folie pro neu aufzudeckendes Element), doch der Zuschauer bekommt davon nichts mit.</p>
<p>Optional lässt sich im Kopfteil der LaTeX-Datei einstellen, dass Elemente, welche noch nicht eingeblendet wurden, leicht transparent („ausgegraut“) angezeigt werden.</p>

<div class="wp_syntax"><div class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\beamersetuncovermixins</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\opaqueness</span>&lt;1&gt;{25</span><span style="color: #E02020; ">}}{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\opaqueness</span>&lt;2-&gt;{15</span><span style="color: #E02020; ">}}</span>	<span style="color: #2C922C; font-style: italic;">% leicht transparent</span>
<span style="color: #800000; font-weight: normal;">\beamertemplatetransparentcovered</span>	<span style="color: #2C922C; font-style: italic;">% verdeckter Text ist ziemlich transparent</span>
<span style="color: #800000; font-weight: normal;">\beamertemplatetransparentcoveredmedium</span>	<span style="color: #2C922C; font-style: italic;">% verdeckter Text ist stärker transparent</span>
<span style="color: #800000; font-weight: normal;">\beamertemplatetransparentcoveredhigh</span>	<span style="color: #2C922C; font-style: italic;">% verdeckter Text ist maximal transparent</span>
<span style="color: #800000; font-weight: normal;">\beamertemplatetransparentcovereddynamic</span> <span style="color: #2C922C; font-style: italic;">% verdeckter Text ist ziemlich transparent; je länger es dauert,</span>
					<span style="color: #2C922C; font-style: italic;">%  bis der Text aufgedeckt wird, desto transparenter ist dieser</span>
<span style="color: #800000; font-weight: normal;">\beamertemplatetransparentcovereddynamicmedium</span>	<span style="color: #2C922C; font-style: italic;">% wie das vorherige Kommando, nur ist der Text transparenter</span></pre></div></div>

<h4>Folienübergänge und mehr</h4>
<p>Für animierte Folienübergänge und weitere nette Effekte eignet sich der Viewer <a title="Homepage von impress!ve" href="http://impressive.sourceforge.net/index.php">impress!ve</a> (früher: KeyJNote), welchen es für Linux, Mac OS X und Windows gibt. Eine ausführliche Beschreibung findet man, wie so oft, im <a title="impress!ve im Wiki von ubuntuusers.de" href="http://wiki.ubuntuusers.de/impress!ve">Wiki von ubuntuusers.de</a>.</p>
<h4>Update: Dual-Screen-PDF-Presenter</h4>
<p>Um während der Präsentation eine Vorschau auf die nächsten Folien und eigene Notizen auf einem zweiten Monitor zu sehen, kann man das Programm <a title="Website von pdfPres" href="http://github.com/vain/pdfPres">pdfPres</a> verwenden, welches es derzeit nur für Linux gibt (<a title="Zum Kommentar von zimon gehen" href="http://www.ubuntuusers-menu.de/de/blog/latex-beamer-die-alternative-zu-impress-und-powerpoint#comment-200">Tipp von zimon</a>).</p>
<h2>Beamer-Präsentationen komfortabler erstellen</h2>
<h3>LyX</h3>
<p><a title="Homepage von LyX" href="http://www.lyx.org/WebDe.Home">LyX</a> ist ein <span style="border-bottom: 1px dotted black;" title="„What You See Is What You Mean“ = „Was du siehst, ist das, was du meinst”">WYSIWYM</span>-Editor für LaTeX, welcher den Schwerpunkt auf die Struktur des Textes legt (nicht auf das Aussehen) und Beamer-Präsentationen unterstützt.</p>
<p>Unter Ubuntu kann man das Programm mit folgendem Befehl im Terminal installieren (empfehlenswerte Zusatzpakete findet man im <a title="Empfehlenswerte Pakete für LyX im Wiki von ubuntuusers.de" href="http://wiki.ubuntuusers.de/Lyx#Installation">Wiki von ubuntuusers.de</a>):</p>

<div class="wp_syntax"><div class="code"><pre class="" style="font-family:monospace;">sudo apt-get install lyx</pre></div></div>

<h3>wiki2beamer</h3>
<p>Wem die Syntax für eine einfache Präsentation zu kompliziert ist, sollte sich das Python-Skript <a title="Homepage von wiki2beamer" href="http://www-user.tu-chemnitz.de/~mren/wiki2beamer/doku.php">wiki2beamer</a> anschauen, welches LaTeX-Beamer-Präsentationen aus Textdateien mit einer <a title="wiki2beamer-Syntax I" href="http://www-user.tu-chemnitz.de/~mren/wiki2beamer/doku.php?id=wiki2beamer_syntax">Wiki-ähnlichen</a> <a title="wiki2beamer-Syntax II" href="http://www.cleeus.de/wiki2beamer/wiki2beamer.html#lbAF">Syntax</a> erstellt. Ubuntu-Anwender können das Programm mit einem Debian-Paket (.deb) installieren, welches sich <a title="wiki2beamer herunterladen" href="http://sourceforge.net/projects/wiki2beamer/files/">von SourceForge herunterladen</a> lässt.</p>
<p>Mit folgendem Befehl erstellt wiki2beamer aus einer Textdatei eine LaTeX-Datei:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">wiki2beamer <span style="color: #ff0000;">&quot;wikitext.txt&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #ff0000;">&quot;latex.tex&quot;</span></pre></div></div>

<p>Anschließend kann man mit rubber (alternativ: pdftex) eine PDF-Datei erzeugen:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rubber <span style="color: #660033;">--inplace</span> <span style="color: #660033;">--force</span> <span style="color: #660033;">--pdf</span> <span style="color: #ff0000;">&quot;latex.tex&quot;</span></pre></div></div>

<h2>Surftipps</h2>
<p>Wer sich weiter mit dem LaTeX-Beamer beschäftigen möchte, findet auf folgenden Internetseiten hilfreiche Informationen:</p>
<ul>
<li> <a href="http://www2.informatik.hu-berlin.de/~mischulz/beamer.html">Kleine Einführung zur Beamer-Klasse</a></li>
<li> <a href="http://www.ctan.org/tex-archive/info/l2picfaq/german/l2picfaq.pdf">Bilder einfügen in LaTeX: Ein How-To</a> (PDF)</li>
<li> <a href="http://www.informatik.uni-freiburg.de/~frank/latex-kurs/latex-kurs-3/Latex-Kurs-3.html">Beamer-Beispiele</a></li>
<li> <a href="http://projekte.dante.de/DanteFAQ/">Deutsche TeX-FAQ</a></li>
<li> <a href="http://latex.mschroeder.net/index.php">LaTeX für Einsteiger</a></li>
<li> <a href="http://www.ctan.org/tex-archive/macros/latex/contrib/beamer/doc/beameruserguide.pdf">User Guide to the Beamer Class</a> (PDF, 130 Seiten)</li>
<li> <a href="http://www.math.umbc.edu/~rouben/beamer/quickstart.html">A Beamer Quickstart</a></li>
<li> <a href="http://www.golatex.de/wiki/index.php?title=Wichtige_Netzdokumente">„Wichtige Netzdokumente”</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.321tux.de/2010/02/latex-beamer-die-alternative-zu-impress-und-powerpoint/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

