<?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>House-Tiere              -d(~_~)b- &#187; Latex</title> <atom:link href="http://house-tiere.de/category/latex/feed/" rel="self" type="application/rss+xml" /><link>http://house-tiere.de</link> <description>.. was auch immer das heißen mag.</description> <lastBuildDate>Sun, 05 Jun 2011 15:49:42 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.3</generator> <item><title>Latex Serienbrief g-brief an Schufa und Co</title><link>http://house-tiere.de/allgemeines/latex-serienbrief-g-brief-an-schufa-und-co/</link> <comments>http://house-tiere.de/allgemeines/latex-serienbrief-g-brief-an-schufa-und-co/#comments</comments> <pubDate>Sat, 03 Apr 2010 15:43:12 +0000</pubDate> <dc:creator>Woody</dc:creator> <category><![CDATA[Allgemeines]]></category> <category><![CDATA[Latex]]></category> <category><![CDATA[Brief]]></category> <category><![CDATA[Datenschutz]]></category> <category><![CDATA[PDF]]></category> <category><![CDATA[Schufa]]></category> <category><![CDATA[script]]></category> <guid
isPermaLink="false">http://house-tiere.de/?p=526</guid> <description><![CDATA[Durch Twitter bin ich darauf aufmerksam geworden, dass man nun &#8211; seit dem 1. April 2010 &#8211; unentgeltlich Auskunft über gespeicherte Daten bei Schufa und Co anfordern kann. Auf der Seite der Vebraucherzentrale Bundesverband e.V. findet man nicht nur schon einen Musterbrief, sondern auch eine Liste mit den größten Auskunfteien (Stand 29.03.2010). Ich finde das [...]]]></description> <content:encoded><![CDATA[<p>Durch <a
href="http://twitter.com/captain_hagbard">Twitter</a> bin ich darauf aufmerksam geworden, dass man nun &#8211; seit dem 1. April 2010 &#8211; unentgeltlich Auskunft über gespeicherte Daten bei <em>Schufa </em>und Co anfordern kann. Auf der Seite der <a
href="http://vzbv.de/go/">Vebraucherzentrale Bundesverband e.V</a>. findet man nicht nur schon einen <a
href="http://www.vzbv.de/mediapics/auskunfteien_musterschreiben_03_2010.pdf">Musterbrief</a>, sondern auch eine Liste mit den größten <a
href="http://www.vzbv.de/mediapics/auskunfteien_liste_03_2010.pdf">Auskunfteien</a> (Stand 29.03.2010).</p><p><span
id="more-526"></span>Ich finde das ist eine wunderbare Gelegenheit, sich einmal damit zu beschäftigen, wie man in Latex Serienbriefe erstellt. Dazu nutze meinen Favoriten für Geschäftsbriefe, das Latex Paket <a
href="http://house-tiere.de/latex/latex-geschaftsbrief-mit-g-brief/">g-brief.</a> Wie man Latex Serienbriefe z.b. mit Letter erstellt, kann man <a
href="http://de.wikibooks.org/wiki/LaTeX-Wörterbuch:_Serienbrief">hier</a> nachlesen. Anleitungen wie man Serienbriefe mit g-brief macht, habe ich nicht gefunden. Im Prinzip geht man bei diesen Serienbriefen genaunso vor, man muss nur noch ein paar extra Anpassungen im Latexdokument vornehmen.</p><p>Man startet wie gewohnt in Latex:</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: #C08020; font-weight: normal;">ngerman,12pt,a4paper</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">g-brief</span><span style="color: #E02020; ">}</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: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">T1</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">fontenc</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">ngerman</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">enumerate</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\lochermarke</span>
<span style="color: #800000; font-weight: normal;">\faltmarken</span>
<span style="color: #800000; font-weight: normal;">\fenstermarken</span>
<span style="color: #800000; font-weight: normal;">\trennlinien</span>
<span style="color: #2C922C; font-style: italic;">% jetzt Absenderdaten usw..</span>
<span style="color: #800000; font-weight: normal;">\Name</span>                <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Dominik Mustermann</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Strasse</span>             <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Musterstrasse 12</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Ort</span>                    <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">1337 Musterstadt</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Unterschrift</span>        <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Dominik Mustermann</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Betreff</span>              <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Auskunft über gespeicherte Daten</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Datum</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: #800000; font-weight: normal;">\Anrede</span>              <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Sehr geehrte Damen und Herren</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Gruss</span>               <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Mit freundlichen Grüßen</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">2.5cm</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;">document</span></span><span style="color: #E02020; ">}</span></pre></div></div><p>Nach dem <em>begin document</em> schreibt nun nicht direkt den Brief, sondern legt einen neuen Befehl an, der den Brief schreibt, und als Parameter die Empfängerdaten übergibt bekommt:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">newcommand</span><span style="color: #800000; font-weight: normal;">\serienbrief</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">3</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">
	<span style="color: #C00000; font-weight: normal;">\begin</span><span style="color: #E02020; ">{</span><span style="color: #0000D0; font-weight: normal;">g-brief</span></span><span style="color: #E02020; ">}</span>
        <span style="color: #800000; font-weight: normal;">\thispagestyle</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">firstpage</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% hier der eigentliche Brieftext</span>
auf der Grundlage (...)
	<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;">g-brief</span></span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% wichtig: Adresse erst am Ende!</span>
<span style="color: #800000; font-weight: normal;">\Adresse</span>             <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">#1\\
		      #2\\
		      \\
		      #3</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% hier schließt das renewcommand</span>
<span style="color: #E02020; ">}</span></pre></div></div><p>Zunächst einaml ist das ganze Vorgehen für den Serienbrief in Latex fast gleich wie bei Letter. Mit</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">newcommand</span><span style="color: #800000; font-weight: normal;">\serienbrief</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">3</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">...</span><span style="color: #E02020; ">}</span></pre></div></div><p>definiert man einen Latex Befehl namens <em>serienbrief</em>, der 3 Parameter übergeben bekommt. Dieser Befehl erstellt dann Brief und setzt mit <em>#&lt;Nummer&gt;</em> die Parameter ein &#8211; In diesem Fall Adressdaten. Da <em>g-brief</em> normalerweise anfängt Seiten durch zu nummerien mit Seitenzahlen und nur auf der ersten Seite den Briefkopf setzt, müssen wir extra angeben, dass der Stil für die erste Seite benutzt werden soll:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"> <span style="color: #800000; font-weight: normal;">\thispagestyle</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">firstpage</span><span style="color: #E02020; ">}</span></pre></div></div><p>Zu guter letzt muss bedacht werden, dass bei <em>g-brief</em> der Adresse-Befehl die Adresse auf der aktuellen Seite ändert, daher müssen wir den Adresse-Befehl immer zum Ende des <em>g-briefs</em> aufrufen, da sich sonst die Empfängeradressen verschieben bzw. der erste Empfänger überschrieben wird.<br
/> Es folgt dann anschließend der Aufruf des Latexbefehls mit verschiedenen Empfängern, wie ich sie der Liste entnommen habe:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\serienbrief</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">SCHUFA Holding AG</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Postfach 10 21 66</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">44721 Bochum</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\serienbrief</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">CEG Creditreform Consumer GmbH</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Hellersbergstrasse 11</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">41460 Neuss</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;">document</span></span><span style="color: #E02020; ">}</span></pre></div></div><p>Fertig ist der Serienbrief in Latex. Zum Download, es muss eigentlich nur der Absender angepasst werden:</p> <a
class="downloadlink" href="http://house-tiere.de/wp-content/plugins/download-monitor/download.php?id=5" title="Version1 heruntergeladen 148 mal" >Serienbrief Beispiel PDF (Schufa) (148)</a><br
/> <a
class="downloadlink" href="http://house-tiere.de/wp-content/plugins/download-monitor/download.php?id=6" title="VersionVersion1 heruntergeladen 96 mal" >Serienbrief Vorlage (96)</a><p>Ich übernehme keine Haftung für Richtigkeit und Aktualität des Inhalts, würde mich aber natürlich über Hinweise bei Fehlern und ähnliches freuen.</p><p>Wer den Musterbrief nicht so gut findet, kann natürlich auch einen alternativen Text nehmen, den man zum Beispiel bei dem <a
href="http://www.bfdi.bund.de/cln_136/SharedDocs/Publikationen/Vordrucke/AuskunftsersuchenSchufa.html?nn=408908">Bundesbeauftragten für Datenschutz</a> findet.</p> ]]></content:encoded> <wfw:commentRss>http://house-tiere.de/allgemeines/latex-serienbrief-g-brief-an-schufa-und-co/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Latex: PDF beschneiden und einbinden</title><link>http://house-tiere.de/latex/latex-pdf-beschneiden-und-einbinden/</link> <comments>http://house-tiere.de/latex/latex-pdf-beschneiden-und-einbinden/#comments</comments> <pubDate>Thu, 25 Mar 2010 23:38:38 +0000</pubDate> <dc:creator>Woody</dc:creator> <category><![CDATA[Latex]]></category> <category><![CDATA[PDF]]></category> <category><![CDATA[script]]></category> <category><![CDATA[Shell]]></category> <guid
isPermaLink="false">http://house-tiere.de/?p=499</guid> <description><![CDATA[Heute sah ich mich vor einige Probleme gestellt, als ich eine PDF in Latex Beamer einbinden wollte. Zunächst der einfachste Latex-Befehl ist: % in der Präambel: \usepackage[final]{pdfpages} \usepackage{graphix} (...) \includepdf{file.pdf} %oder mit includegraphics gehts genauso: \includegraphics{file.pdf} Soweit so gut, das funktioniert. Leider passte die PDF nich so ganz rein, war mir zu klein und wollte [...]]]></description> <content:encoded><![CDATA[<p>Heute sah ich mich vor einige Probleme gestellt, als ich eine PDF in <em>Latex Beamer</em> einbinden wollte.</p><p>Zunächst der einfachste Latex-Befehl ist:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #2C922C; font-style: italic;">% in der Präambel:</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">final</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">pdfpages</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">graphix</span><span style="color: #E02020; ">}</span>
(...)
<span style="color: #800000; font-weight: normal;">\includepdf</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">file.pdf</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">%oder mit includegraphics gehts genauso:</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">includegraphics</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">file.pdf</span><span style="color: #E02020; ">}</span></pre></div></div><p>Soweit so gut, das funktioniert. Leider passte die PDF nich so ganz rein, war mir zu klein und wollte gerne Ränder und so raus haben. Also mal probieren in Latex mit der Option<em> viewport</em>:<span
id="more-499"></span></p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\includepdf</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">viewport= llx lly urx ury</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">file.pdf</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">%bzw.</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">includegraphics</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">viewport= llx lly urx ury</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">file.pdf</span><span style="color: #E02020; ">}</span></pre></div></div><p>Wobei<em> llx</em> und <em>lly</em> x- bzw. y-Wert für die linke untere Ecke, und <em>urx, ury</em> analog die rechte obere Ecke bezeichnen.<br
/> Danach hatte ich das Problem, dass ich gar keinen Text gesehen habe. Zunächst dachte ich auch der Text ist nicht da, aber ich konnte ihn mit der Maus markieren. Problem hing wohl damit zusammen, dass sich der Style im Beamer Paket nicht mit viewports verträgt. Ein kleiner workaround ist:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #800000; font-weight: normal;">\includepdf</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">pagecommand={<span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\thispagestyle</span>{plain</span>}}</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">file.pdf</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% statt plain geht evtl. auch empty</span></pre></div></div><p>Das macht leider die ganze Seite <em>plain</em>, d.h. der Beamer-Style fehlt dann auf der Seite, aber zumindest sieht man ein PDF.<br
/> Zurück zum<em> viewport</em>: Leider macht das aber kein Beschneiden der PDF, sondern verschiebt diese nur holt die Fläche der bezeichneten Koordinaten in den Fokus. Was wir ja eigentlich wollen, ist das nur ein bestimmter Bereich eingeblendet werden soll. Dafür kann man<em> includegraphics*</em> benutzen:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">includegraphics</span>*<span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">viewport= llx lly urx ury</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">file</span><span style="color: #E02020; ">}</span></pre></div></div><p>Das funkioniert wunderbar in Latex&#8230; mit Grafiken, aber nicht mit PDFs. <em>includegraphics</em> ruft vermutlich includepdf auf, sobald es eine PDF-Datei findet. aber ein<em> includepdf*</em> gibt es leider nicht.<br
/> Um es kurz zu machen: Ich habe keine Latex-interne Lösung für das Problem gefunden. Dafür hab ich aber fleißig gegooglet, die Lösung ist das Commandline Tool<a
href="http://www.ctan.org/tex-archive/support/pdfcrop/"> pdfcrop.pl</a> bei <em>ctan.org</em>. Das beschneidet PDFs oder ermittelt bei Bedarf auch automatisch Ränder (ich vermute es wird einfach geschaut, wo keine Zeichen stehen) und schneidet diese ab.<br
/> Runterladen, dann ab in die Shell:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x pdfcrop
.<span style="color: #000000; font-weight: bold;">/</span>pdfcrop.pl <span style="color: #660033;">--margins</span> <span style="color: #ff0000;">'5 5 5 5'</span> file.pdf out.pdf</pre></div></div><p>Lässt an jeder Seite einen Rand von 5 Einheiten. Die Reihenfolge müsste linker oberer rechter unterer Rand sein. Um jetzt noch mehr abzuschneiden kann man auch negative Zahlen eingeben:</p><div
class="wp_syntax"><div
class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>pdfcrop.pl <span style="color: #660033;">--margins</span> <span style="color: #ff0000;">'5 -50 5 -250'</span> file.pdf out.pdf</pre></div></div><p>Das schneidet oben ein bißchen was ab und unten ein gutes Stück. Jetzt kann man die neue generierte PDF-Datei einfach in Latex benutzen und nach Bedarf auch noch vergrößern oder verkleinern mittels scale:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">includegraphics</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">scale=.75</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">out.pdf</span><span style="color: #E02020; ">}</span></pre></div></div><p>Tja, so kann man sich Stunden damit aufhalten, in Latex eine PDF einzubinden, weil man zu faul ist, ne Tabelle abzutippen <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . However, es macht trotzdem Spaß!</p><p>Hoffe, das hilft anderen auch weiter, die vor ähnlichen Problemen stehen. pdfcrop.pl sollte auch in Windows funktionieren. Anleitung dazu findet sich bestimmt bei ctan.org</p> ]]></content:encoded> <wfw:commentRss>http://house-tiere.de/latex/latex-pdf-beschneiden-und-einbinden/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Latex Geschäftsbrief mit g-brief</title><link>http://house-tiere.de/latex/latex-geschaftsbrief-mit-g-brief/</link> <comments>http://house-tiere.de/latex/latex-geschaftsbrief-mit-g-brief/#comments</comments> <pubDate>Thu, 18 Feb 2010 19:48:55 +0000</pubDate> <dc:creator>Woody</dc:creator> <category><![CDATA[Latex]]></category> <category><![CDATA[Alltag]]></category> <guid
isPermaLink="false">http://house-tiere.de/?p=452</guid> <description><![CDATA[Mit Latex kann man auch hervorragend Geschäftsbriefe erstellen, mit g-brief. Sicherlich kann man das auch mit anderen Latex-Paketen, wie letter, scrlttr oder scrlttr2, jedoch ist der große Vorteil bei g-brief, dass dieser sich nach der deutschen DIN-Norm richtet. Und grad bei so einem Brief profitiert man wieder von den Stärken von Latex, ein einheitliches Design [...]]]></description> <content:encoded><![CDATA[<p>Mit Latex kann man auch hervorragend Geschäftsbriefe erstellen, mit <em>g-brief</em>. Sicherlich kann man das auch mit anderen Latex-Paketen, wie <em>letter</em>, <em>scrlttr</em> oder <em>scrlttr2</em>, jedoch ist der große Vorteil bei g-brief, dass dieser sich nach der deutschen DIN-Norm richtet. Und grad bei so einem Brief profitiert man wieder von den Stärken von Latex, ein einheitliches Design &#8211; kein Rumprobieren und Editieren etc. mit OpenOffice oder Word. Und es ist wirklich kinderleicht!</p><p><span
id="more-452"></span><br
/> Der Header:</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: #C08020; font-weight: normal;">ngerman,12pt,a4paper</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">g-brief</span><span style="color: #E02020; ">}</span>
&nbsp;
<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: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">T1</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">fontenc</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">ngerman</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">enumerate</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\lochermarke</span>
<span style="color: #800000; font-weight: normal;">\faltmarken</span>
<span style="color: #800000; font-weight: normal;">\fenstermarken</span>
<span style="color: #800000; font-weight: normal;">\trennlinien</span></pre></div></div><p>Einfach genial: <em>lochermarke</em> macht einen kleinen Strich in der Mitte, falls man den Brief abheften will,<em> faltmarken</em> zwei kleine Striche, kein Rumprobieren mit dem Falten, der Brief passt später perfekt in den Umschlag &#8211; und dank <em>fenstermarken</em> ist der Brief optimal geeignet für einen Umschlag mit Fenster, man braucht nicht umständlich noch irgendwelche Umschläge bedrucken oder beschriften. Genial!<br
/> Weiter gehts mit:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #2C922C; font-style: italic;">%Absenderinfos:</span>
<span style="color: #800000; font-weight: normal;">\Name</span>                <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Dominik Grotegerd</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Strasse</span>             <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Meine Straße 12</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Zusatz</span>              <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\RetourAdresse</span>       {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Ort</span>                 {D-12345 Meine Stadt</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Land</span>                <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\Telefon</span>             {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Telefax</span>             {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Telex</span>               {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\HTTP</span>                {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\EMail</span>               {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\Bank</span>                {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\BLZ</span>                 {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Konto</span>               {</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\Unterschrift</span>        {Dominik Grotegerd</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\Postvermerk</span>         <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Einschreiben</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #2C922C; font-style: italic;">% Der Emfpänger</span>
<span style="color: #800000; font-weight: normal;">\Adresse</span>             <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Jack Musterman\\
		      Zusatz\\
		      Musterstraße 47\\
		      \\
		      10101 Binärstadt</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\Betreff</span>             <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Ihre Anfrage wegen Muster</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\Datum</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: #800000; font-weight: normal;">\IhrZeichen</span>          <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">z.B. Bearbeitungsnummer</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\IhrSchreiben</span>        <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">31.02.2010</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\MeinZeichen</span>         <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\Anrede</span>              {Sehr geehrte Herr Musterman</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Gruss</span>               <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Mit freundlichen Grüßen</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">2.5cm</span><span style="color: #E02020; ">}</span>
&nbsp;
<span style="color: #800000; font-weight: normal;">\Anlagen</span>             <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Verteiler</span>           {</span><span style="color: #E02020; ">}</span></pre></div></div><p>Was man nicht braucht, lässt man einfach frei oder kommentierts aus. So einfach ist das. Und die meisten dieser Werte kann man direkt als Vorlage abspeichern. Denn erst jetzt kommt der Text und das <em>begin document</em>:</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;">document</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;">g-brief</span></span><span style="color: #E02020; ">}</span>
     bla bla
  <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;">g-brief</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;">document</span></span><span style="color: #E02020; ">}</span></pre></div></div><p>Auch hier sollten z.B. quote-Befehle so funktionieren, dass keine Einrückung vorgenommen wird etc., so dass das ganze in dem Brief aussieht wie es aussehen soll. Und das ganze mit entsprechenden professionellen Latex-Style dank g-brief. <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><h1><span
style="color: #339966;">Downloads:</span></h1> <a
class="downloadlink" href="http://house-tiere.de/wp-content/plugins/download-monitor/download.php?id=9" title="Version1.0 heruntergeladen 195 mal" >G-Brief Beispiel (195)</a><br
/> <a
class="downloadlink" href="http://house-tiere.de/wp-content/plugins/download-monitor/download.php?id=10" title="Version1.0 heruntergeladen 110 mal" >Latex G-Brief Vorlage (110)</a> ]]></content:encoded> <wfw:commentRss>http://house-tiere.de/latex/latex-geschaftsbrief-mit-g-brief/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Latex &#8211; Mathe Formeln linksbündig (mehrzeilig)</title><link>http://house-tiere.de/latex/latex-mathe-formeln-links/</link> <comments>http://house-tiere.de/latex/latex-mathe-formeln-links/#comments</comments> <pubDate>Wed, 13 May 2009 19:34:07 +0000</pubDate> <dc:creator>Woody</dc:creator> <category><![CDATA[Latex]]></category> <guid
isPermaLink="false">http://house-tiere.de/?p=234</guid> <description><![CDATA[Heut hab ich mir ein kleines Formatierungsproblem angeschaut in Latex. Wenn man in einer equation-Umgebung zu lange mathematische Formeln hat, bis diese über den gewünschten Rand drüber hinaus gehen, sieht das sehr unschön aus. Die Lösung in den Latex-Code Zeilenumbrüche einzubauen machts auch nicht viel besser &#8211; danach ist jede Zeile rechtsbündig. Typischerweise ein Problem, [...]]]></description> <content:encoded><![CDATA[<p>Heut hab ich mir ein kleines Formatierungsproblem angeschaut in Latex. Wenn man in einer <em>equation</em>-Umgebung zu lange mathematische Formeln hat, bis diese über den gewünschten Rand drüber hinaus gehen, sieht das sehr unschön aus. Die Lösung in den Latex-Code Zeilenumbrüche einzubauen machts auch nicht viel besser &#8211; danach ist jede Zeile rechtsbündig.<span
id="more-234"></span> Typischerweise ein Problem, dass sich wirklich nur bei sehr langen Formel in einer Zeile bemerkbar macht. Wie macht man das also richtig in Latex, also linksbündig? Das wohl einfachste Workaround drüfte hier ein Array, <em>eqnarray</em>, sein in der Matheumgebung:</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;">eqnarray</span></span><span style="color: #E02020; ">}</span><span style="color: #8020E0; font-weight: normal;">
&amp; &amp;  x + y einesehrlangeMatheformel kaum zu glauben wie lang die ist\\
&amp; &amp; = y + x hier gehts noch gaaaaaaaaaaaaaaaaaaaaaaaanz laaaaaaaaaaaaaaaaaaaaaang weiter\\
&amp; &amp; = x^2 + x_3
</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;">eqnarray</span></span><span style="color: #E02020; ">}</span></pre></div></div><p>Damit dürften die Zeilen alle (fast ganz) linksbündig ausgerichtet sein. <em>Eqnarray</em> sorgt dafür, dass der Inhalt in der Matheumgebung wie in einem Array dargestellt wird (ähnlich wie bei einer Tabelle). Bei 3 Spalten ist der Standard, dass die linke Spalte rechtsbündig und die rechte linksbündig ausgerichtet ist. Setzt man nun also 2 &amp;-Zeichen vor seine Formel, ist man in der 3. Spalte (die anderen sind leer) und setzt am Ende einen Zeilenumbruch. Und fertig <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://house-tiere.de/latex/latex-mathe-formeln-links/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Beamer Präsentation mit Latex</title><link>http://house-tiere.de/latex/beamer-prasentation-mit-latex/</link> <comments>http://house-tiere.de/latex/beamer-prasentation-mit-latex/#comments</comments> <pubDate>Sat, 25 Apr 2009 13:54:01 +0000</pubDate> <dc:creator>Woody</dc:creator> <category><![CDATA[Latex]]></category> <category><![CDATA[Präsentation]]></category> <guid
isPermaLink="false">http://house-tiere.de/?p=158</guid> <description><![CDATA[Lange hatte ich mich davor gescheut, eine Präsentation mit Latex zu erstellen. Zum einen, weil sich das Einbinden von Bildern bei Latex manchmal als recht kompliziert gestaltet, zum anderen weil man hier auf tolle bunte Animationen verzichten muss. Aber mit der Erkenntnis, dass Präsentationen mit reichlich Animationen meist zu aufgeblasen und unprofessionell wirken, kann man [...]]]></description> <content:encoded><![CDATA[<p>Lange hatte ich mich davor gescheut, eine Präsentation mit Latex zu erstellen. Zum einen, weil sich das Einbinden von Bildern bei Latex manchmal als recht kompliziert gestaltet, zum anderen weil man hier auf tolle bunte Animationen verzichten muss. Aber mit der Erkenntnis, dass Präsentationen mit reichlich Animationen meist zu aufgeblasen und unprofessionell wirken, kann man doch ganz gut drauf verzichten. Zumal bringt Latex einige Vorteile mit sich. Das PDF-Format garantiert eine einheitliche Darstellung auf anderen Rechner, Betriebsystemen und unter verschiedenen Auflösungen.</p><p><span
id="more-158"></span> Es ist mir mehr als einmal passiert, dass das auf nem anderen Rechner das Format meiner Präsentation total verschoben war. Und tatsächlich lassen sich echt schöne Präsentationen mit Latex erstellen, die sehr elegant und professionell wirken.</p><h4>Latex Beamer Themes</h4><p>Zunächst einmal habe ich mich durch den Themes-Dschungel gewühlt. Die Auswahl ist zwar begrenzt, aber sollte vollkommen ausreichend sein. Meine Empfehlung hier, am besten nicht irgendwelche Themes miteinander mischen.</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #2C922C; font-style: italic;">%\usecolortheme{crane} % Themes, die vor allem verschiedene Farblayouts besitzen</span>
<span style="color: #2C922C; font-style: italic;">%\usefonttheme{professionalfonts} % Themes mit anderen Schriften</span>
&nbsp;
<span style="color: #2C922C; font-style: italic;">%\useoutertheme{infolines}  % oder: default | infolines | miniframes | shadow | sidebar | smoothbars |    smoothtree | split | tree</span>
<span style="color: #800000; font-weight: normal;">\usetheme</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">PaloAlto</span><span style="color: #E02020; ">}</span> <span style="color: #2C922C; font-style: italic;">% komplett fertige Themes,</span>
                    <span style="color: #2C922C; font-style: italic;">% oder auch: Hannover, PaloAlto, Hannover, Goettingen, Malmoe, CambridgeUS, Warsow ...</span>
<span style="color: #800000; font-weight: normal;">\useinnertheme</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">rounded</span><span style="color: #E02020; ">}</span> <span style="color: #2C922C; font-style: italic;">% vor allem Aussehen der Bulletts etc.</span></pre></div></div><p>Ich hab mich dann für <em>PaloAlto</em> entschieden, weils ne elegante Sidebar besitzt, die kurz den Stand Präsentation anzeigt, sowie ausdrucksstarke Kästen für den Inhalt besitzt.</p><h4>Präambel für Latex-Präsentation</h4><p>Der Rest der Präambel sieht dann wie folgt aus:</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: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">beamerthemesplit</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">%Kodierung festlegen, für UTF-8 Unterstützung entsprechend</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">utf8x</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;">% math. Symbole und Umgebungen</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">amsmath,amsfonts,amssymb</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% für Bilder</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">usepackage</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">epsfig</span><span style="color: #E02020; ">}</span></pre></div></div><p>Wenn man die Navigations-buttons nicht so gerne mag (sehen zwar nett aus, aber sind überflüssig und lenken vom Inhalt ab, finde ich), dann kann man diese abschalten mit:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #2C922C; font-style: italic;">%navi aus</span>
<span style="color: #800000; font-weight: normal;">\beamertemplatenavigationsymbolsempty</span></pre></div></div><h4>Titel, Inhaltsverzeichnis</h4><p>Für eine nette Titelseite gibts dann noch ein paar nette Funktionen. Neben den kompletten Titeln in geschweiften Klammern, gibt es dann noch Kurztitel in eckigen Klammern, die dann je nach gewählten Theme z.B. in der Sidebar Übersicht auftauchen. Ein Institut lässt sich ebenso angeben, wie ein Logo und ein Hintergrundbild</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">title</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">kurzer Titel</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">Kompletter Titel</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">author</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Dominik Grotegerd</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">Dominik Grotegerd</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\institute</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">WWU M\&quot;unster</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">WWU M\&quot;unster</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">date</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">April 14th 2009</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\titlegraphic</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;">width=3.8cm,height=1.2cm</span>]{logo</span><span style="color: #E02020; ">}}</span>
<span style="color: #800000; font-weight: normal;">\logo</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\pgfimage</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">width=1.9cm,height=0.6cm</span>]{logo</span><span style="color: #E02020; ">}}</span></pre></div></div><p>Es folgt</p><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>
&nbsp;
<span style="color: #2C922C; font-style: italic;">%\section[Outline]{}</span>
<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;">tableofcontents</span></span><span style="color: #E02020; ">}</span></pre></div></div><p>Die <em>titlepage</em> ist natürlich die Titelseite, und <em>tableofcontents</em> erstellt automatisch ein Inhaltverzeichnis aus den Sections und Subsections. Outline hab ich jetzt nicht benutzt, für ne kurze Präsentation find ich das überflüssig.</p><h4>Aufbau und Füllen der Präsentation mit Inhalt</h4><p>Jetzt gehts mit dem richtigen Inhalt los:</p><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: #2020C0; font-weight: normal;">Introduction</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">% in eckigen Klammern Kurzer Titel für Sidebar, in geschweiften Klammern kompletter Titel</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">subsection</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">Overview</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">Overview of existing methods</span><span style="color: #E02020; ">}</span>
<span style="color: #2C922C; font-style: italic;">%frame leitet einzelne Seiten einer Section / subsection ein</span>
<span style="color: #2C922C; font-style: italic;">%frames können auch benannt werden</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;">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;">About existing methods</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: #C08020; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\ht</span></span><span style="color: #E02020; ">]</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">includegraphics</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">width=1\<span style="color: #800000;">textwidth</span></span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;">methods.png</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: #2C922C; font-style: italic;">% Stichpunkte können sehr schön in Blocks platziert werden</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;">block</span></span><span style="color: #E02020; ">}</span>&lt;2-&gt;<span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Different approaches:</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;">itemize</span></span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span>&lt;2-&gt; first approach
<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span>&lt;3-&gt; Another approach
<span style="color: #E02020; ">\</span><span style="color: #800000;">item</span>&lt;4-&gt; last approach
<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>
<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>
<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><p>Wobei hier durch <em><2-></em> spezifiert werden kann, wann der genannte Block und / oder Stichpunkt erscheint. Also erst beim nächsten klicken. Dies kann man auch sehr schön durch ausgegraute underlays lösen, wenn man mag. Bei mir sind die Stichpunkte schlicht ausgeblendet. Neben normal block gibt es noch exampleblock, <em>alterblock</em>, <em>inblock</em> und <em>outblock</em>. Diese unterscheiden sich durch verschiedene Farben.</p><p>So beinhalten also verschiedene sections verschiedene Frames. Und Frames werden wiederrum nachher beim kompilieren in ein oder mehrere PDF-Seiten übersetzt, je nachdem ob z.B. durch eine Stichpunkt-Aufzählung mehrere Seiten nötig werden. Ein Literaturverzeichnis lässt sich auch anfügen, aber evtl. muss dann ein wenig mit der Größe experimentiert werden, weil die Standardschriftgröße doch recht groß ist.</p><p>Mit diesen grundlegenden Latex-Befehlen lassen sich schon ziemlich gute Präsentationen erstellen. Das Einbinden von Grafiken gestaltet sich etwas schwierig, das macht mal wohl mit <em>puts-</em> und <em>picture</em>-Befehlen, aber das schau ich mir ein anderes mal an. <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>Als kleines Update auch noch die Dateien dazu (bzw. sehr ähnliche):</p><h1><span
style="color: #339966;">Downloads:</span></h1> <a
class="downloadlink" href="http://house-tiere.de/wp-content/plugins/download-monitor/download.php?id=8" title="Version1.0 heruntergeladen 174 mal" >Beispiel Latex Beamer (174)</a><br
/> <a
class="downloadlink" href="http://house-tiere.de/wp-content/plugins/download-monitor/download.php?id=7" title="Version1.0 heruntergeladen 136 mal" >Beamer Vorlage (136)</a><p>Ein umfangreiche Einführung habe ich z.B. auch <a
title="hier" href="http://www2.informatik.hu-berlin.de/~mischulz/beamer.html">hier</a> gefunden.</p> ]]></content:encoded> <wfw:commentRss>http://house-tiere.de/latex/beamer-prasentation-mit-latex/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Lebenslauf mit Latex</title><link>http://house-tiere.de/latex/lebenslauf-mit-latex/</link> <comments>http://house-tiere.de/latex/lebenslauf-mit-latex/#comments</comments> <pubDate>Sat, 21 Mar 2009 20:37:54 +0000</pubDate> <dc:creator>Woody</dc:creator> <category><![CDATA[Latex]]></category> <category><![CDATA[Lebenslauf]]></category> <guid
isPermaLink="false">http://house-tiere.de/?p=89</guid> <description><![CDATA[Da ich für eine Bewerbung mal wieder einen neuen Lebenslauf machen wollte, hab ich mich entschieden das ganze mal in Latex zu machen. Leider waren die Google-Ergebnisse eher dürftig. Die bekannten Pakete die es da zu finden gab, z.B. Currvita, Curve, europecv, waren meist veraltet, funktionierten nicht richtig oder hatten einfach ein absolut hässliches Layout. [...]]]></description> <content:encoded><![CDATA[<p>Da ich für eine Bewerbung mal wieder einen neuen Lebenslauf machen wollte, hab ich mich entschieden das ganze mal in Latex zu machen. Leider waren die Google-Ergebnisse eher dürftig. Die bekannten Pakete die es da zu finden gab, z.B. <a
href="http://www.ctan.org/tex-archive/macros/latex/contrib/currvita/">Currvita</a>, <a
href="http://www.ctan.org/tex-archive/macros/latex/contrib/curve/">Curve</a>, <a
href="http://tug.ctan.org/tex-archive/macros/latex/contrib/europecv/">europecv</a>, waren meist veraltet, funktionierten nicht richtig oder hatten einfach ein absolut hässliches Layout. Letztendlich bin ich dann bei <a
href="http://www.ctan.org/tex-archive/help/Catalogue/entries/moderncv.html">moderncv</a> gelandet. Das Layout sieht schön modern aus, und mit dem Template kann man was anfangen. Allerdings sollte man sich die neuste Version runterladen und nicht aus dem Paketmanager installieren, denn das Template funktioniert leider nicht mit der älteren Version. Ich hab dann einfach die cls- und sty-Dateien nach <em>/usr/local/share/texmf</em> kopiert und einmal <em>texhash</em> aufgerufen, damit Latex dann auch das neue Paket kennt.</p><p><span
id="more-89"></span>Mit section kann man wie gehabt die verschiedenen Kategorien optisch trennen, mit cvline lassen sich einfach Einträge tabellarisch anordnen. Für Datumsangaben im Werdegang eigent sich <em>cventry</em>. Hier muss man eventuell mit <em>\setlength{\hintscolumnwidth}{4cm</em>} ein wenig rumspielen, um die Spaltenbreite anzupassen. Praktisch is auch der Befehl <em>cvlanguage</em> für Sprachen. Leider hab ich hier kein Befehl zum anpassen der Spaltenbreite gefunden. <strong>[UPDATE] </strong>Angeblich soll es mit den neueren Versionen problemlos funktionieren, ich lass den Fix hier aber trotzdem mal stehen, falls jemand noch Probleme damit hat.<strong>[/UPDATE] </strong>Also bin ich mal hingegangen und hab in der sty und cls gewühlt um die Definition zu finden, rauskopiert und in den Header meiner tex-Datei getan und den Befehl umbenannt:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">newcommand</span>*<span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\cvlanguageneu</span></span><span style="color: #E02020; ">}[</span><span style="color: #C08020; font-weight: normal;">3</span><span style="color: #E02020; ">]{</span><span style="color: #2C922C; font-style: italic;">%\cvline{#1}{\begin{minipage}[t]{120pt}\textbf{#2}\end{minipage}\hfill\begin{minipage}[t]}0.7\maincolumnwidth}\raggedleft\footnotesize\itshape #3\end{minipage}}}</span></pre></div></div><p>Naja, vielleicht etwas dirty, aber es hat funktioniert. <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Der Rest funktionierte aber ganz unproblematisch, wenn man das Template nutzt. Hier lassen sich einfach Passfoto einbinden, Adresse, E-Mail etc. einbinden, und auch Publikationen über Bibtex importieren funktioniert (angeblich, ich habs nicht ausprobiert, weil ich keine hab <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).</p><p>Mal so paar Beispiel-Latex-Bröcken:</p><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: #2020C0; font-weight: normal;">Persönliche Daten</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\cvline</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Familienstand</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">ledig</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\cvline</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Staatsangehörigkeit</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">deutsch</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">...</span><span style="color: #E02020; ">]</span>
<span style="color: #800000; font-weight: normal;">\cventry</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Juni 2002 – Juli 2002</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Praktikum als ...</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Firma ...</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">meineStadt</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">}{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">...</span><span style="color: #E02020; ">]</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">section</span>{Sprachkenntnisse</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\cvlanguageneu</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Deutsch</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Muttersprache</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\cvlanguageneu</span>{Englisch</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">in Wort und Schrift</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">...</span><span style="color: #E02020; ">]</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">section</span>{Computer Fertigkeiten</span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\cvcomputer</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Programmiersprachen</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Java, C, PHP, Matlab</span><span style="color: #E02020; ">}</span>
           <span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Scriptsprachen</span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">Python, Linux bash</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">...</span><span style="color: #E02020; ">]</span></pre></div></div><p>Das einzige was mir fehlte war noch etwas wie Datum, Ort und Unterschrift am Ende, damit das dann auch dem Layout entsprechend einigermaßen aussieht hab ich das so gemacht:</p><div
class="wp_syntax"><div
class="code"><pre class="latex" style="font-family:monospace;"><span style="color: #E02020; ">\</span><span style="color: #800000;">vspace</span>*<span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">2.5cm</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;">flushleft</span></span><span style="color: #E02020; ">}</span>
<span style="color: #800000; font-weight: normal;">\Large</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">parbox</span><span style="color: #E02020; ">[</span><span style="color: #C08020; font-weight: normal;">m</span><span style="color: #E02020; ">]{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\hintscolumnwidth</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">\<span style="color: #800000;">raggedleft</span><span style="color: #800000; font-weight: normal;">\hintfont</span><span style="color: #E02020; ">{</span>
           <span style="color: #E02020; ">\</span><span style="color: #800000;">color</span>{sectionrectanglecolor</span><span style="color: #E02020; ">}\</span><span style="color: #800000;">rule</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;"><span style="color: #800000; font-weight: normal;">\columnwidth</span></span><span style="color: #E02020; ">}{</span><span style="color: #2020C0; font-weight: normal;">1ex</span><span style="color: #E02020; ">}}}</span>
<span style="color: #E02020; ">\\</span>
MeineStadt, 21. März 2009<span style="color: #E02020; ">\\</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">vspace</span>*<span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">0.5 cm</span><span style="color: #E02020; ">}</span>
<span style="color: #E02020; ">\</span><span style="color: #800000;">textit</span><span style="color: #E02020; ">{</span><span style="color: #2020C0; font-weight: normal;">Dominik Mustermann</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;">flushleft</span></span><span style="color: #E02020; ">}</span></pre></div></div><p><strong>Update:</strong> Wer eher nach einem schlichten Lebenslauf sucht, der findet <a
href="http://www.helber.it/LaTeX.latex.0.html">hier</a> eine Lösung ohne ein extra cv-Paket. <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p><strong>Noch ein Update:</strong><br
/> Ich habe nun mal, weil der Artikel recht beliebt zu sein scheint, eine Beispiel-PDF sowie meine Vorlage für diesen Artikel mit angefügt. Sollte es Probleme geben, hier posten oder mir mailen. <img
src='http://house-tiere.de/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><h1><span
style="color: #339966;">Downloads:</span></h1> <a
class="downloadlink" href="http://house-tiere.de/wp-content/plugins/download-monitor/download.php?id=1" title="Version1 heruntergeladen 928 mal" >Lebenslauf-Beispiel (928)</a><br
/> <a
class="downloadlink" href="http://house-tiere.de/wp-content/plugins/download-monitor/download.php?id=2" title="Version1 heruntergeladen 547 mal" >Lebenslauf-latex-Vorlage (547)</a> ]]></content:encoded> <wfw:commentRss>http://house-tiere.de/latex/lebenslauf-mit-latex/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> </channel> </rss>
