<?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>Sehr leicht zu merken &#187; LaTeX</title>
	<atom:link href="http://web.slzm.de/blog/category/latex/feed/" rel="self" type="application/rss+xml" />
	<link>http://web.slzm.de/blog</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 14:47:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Minimize LaTeX &#8212; Dokumente platzsparend</title>
		<link>http://web.slzm.de/blog/latex/minimize-latex-dokumente-platzsparend/</link>
		<comments>http://web.slzm.de/blog/latex/minimize-latex-dokumente-platzsparend/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 10:27:26 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=352</guid>
		<description><![CDATA[Einige gute Tipps zum Platzsparen in LaTeX-Dokumenten wie Zusammenfassungen finden sich hier: http://www.terminally-incoherent.com/blog/2007/09/19/latex-squeezing-the-vertical-white-space/ http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html Bei Gelegenheit füge ich meine klassische Dokument-Vorlage für diesen Zweck hier noch ein .]]></description>
			<content:encoded><![CDATA[<p>Einige gute Tipps zum Platzsparen in LaTeX-Dokumenten wie Zusammenfassungen finden sich hier:<br />
<a href="http://www.terminally-incoherent.com/blog/2007/09/19/latex-squeezing-the-vertical-white-space/">http://www.terminally-incoherent.com/blog/2007/09/19/latex-squeezing-the-vertical-white-space/</a><br />
<a href="http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html">http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/squeeze.html</a></p>
<p>Bei Gelegenheit füge ich meine klassische Dokument-Vorlage für diesen Zweck hier noch ein <img src='http://web.slzm.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/minimize-latex-dokumente-platzsparend/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LaTeX: Schöne Kopfzeilen</title>
		<link>http://web.slzm.de/blog/latex/latex-schone-kopfzeilen/</link>
		<comments>http://web.slzm.de/blog/latex/latex-schone-kopfzeilen/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 13:18:40 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[bunt]]></category>
		<category><![CDATA[erweitern]]></category>
		<category><![CDATA[Fußzeile]]></category>
		<category><![CDATA[Kopfzeile]]></category>
		<category><![CDATA[schön]]></category>
		<category><![CDATA[TikZ]]></category>
		<category><![CDATA[umgestalten]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=345</guid>
		<description><![CDATA[Kopf- und Fußzeilen sollen natürlich auch schön und individuell sein. Das titlesec-Paket kann vielleicht noch etwas Vereinfachung bringen, aber ohne sieht es so aus: Der folgende Code produziert mit pdflatex dieses Dokument: \documentclass[12pt,twoside]{scrbook} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage[table,dvipsnames,svgnames]{xcolor} \usepackage{calc} %Schrift \usepackage{mathptmx,charter,courier} &#8230; <a href="http://web.slzm.de/blog/latex/latex-schone-kopfzeilen/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Kopf- und Fußzeilen sollen natürlich auch schön und individuell sein. Das titlesec-Paket kann vielleicht noch etwas Vereinfachung bringen, aber ohne sieht es so aus:</p>
<p><a href="http://web.slzm.de/blog/wp-content/uploads/Kopfzeile.png"><img src="http://web.slzm.de/blog/wp-content/uploads/Kopfzeile-187x300.png" alt="" title="Kopfzeile" width="187" height="300" class="alignleft size-medium wp-image-341" /></a></p>
<p><span id="more-345"></span></p>
<p>Der folgende Code produziert mit pdflatex dieses Dokument:</p>
<p><code>\documentclass[12pt,twoside]{scrbook}</p>
<p>\usepackage[utf8]{inputenc}<br />
\usepackage[T1]{fontenc}<br />
\usepackage[ngerman]{babel}</p>
<p>\usepackage[table,dvipsnames,svgnames]{xcolor}<br />
\usepackage{calc}<br />
%Schrift<br />
\usepackage{mathptmx,charter,courier}<br />
\usepackage[scaled]{helvet}<br />
\usepackage{microtype}</p>
<p>\usepackage{blindtext}</p>
<p>% TikZ-Pakete<br />
\usepackage{tikz}<br />
\usetikzlibrary{positioning,backgrounds,shapes}</p>
<p>% Kopf- und Fußzeile<br />
\usepackage[automark]{scrpage2}<br />
\clearscrheadings<br />
\clearscrplain</p>
<p>\tikzset{pagenumber/.style={rectangle,rounded corners=5pt,inner sep=6pt, fill=gray!20,draw=gray!30,line width=0.1em}}</p>
<p>\lohead{\begin{tikzpicture}[remember picture,overlay]<br />
\begin{pgfonlayer}{background}<br />
  \draw[fill=gray!10, fill opacity=1.0, draw=none] (-.65\paperwidth,0cm) rectangle (\paperwidth+2cm,2cm);<br />
\end{pgfonlayer}<br />
  \path (current page.north west) node[anchor=west,xshift=1.58cm, yshift=-0.9cm,pagenumber] {\parbox{\widthof{\Large 1111}}{\centering \color{black} \bfseries\Large \thepage}};<br />
\end{tikzpicture}}<br />
\rohead{\begin{tikzpicture}[remember picture,overlay]<br />
  \path (current page.north east) node[anchor=east,xshift=-3.4cm,  yshift=-0.9cm] {\color{black}\upshape Beispieldokument};<br />
\end{tikzpicture}}</p>
<p>\lehead{\begin{tikzpicture}[remember picture,overlay]<br />
\begin{pgfonlayer}{background}<br />
  \draw[fill=gray!10, fill opacity=1.0, draw=none] (-.65\paperwidth,0cm) rectangle (\paperwidth+2cm,2cm);<br />
\end{pgfonlayer}<br />
  \path (current page.north west) node[anchor=west,xshift=3.4cm,  yshift=-1.0cm] {\color{black}\upshape \Large \headmark};<br />
\end{tikzpicture}}<br />
\rehead{\begin{tikzpicture}[remember picture,overlay]<br />
  \path (current page.north east) node[anchor=east,xshift=-1.58cm, yshift=-0.9cm,pagenumber] {\parbox{\widthof{\Large 1111}}{\centering \color{black}\bfseries\Large \thepage}};<br />
\end{tikzpicture}}<br />
\setlength{\headsep}{1.1cm}</p>
<p>\begin{document}<br />
\pagestyle{scrheadings}<br />
\chapter{Einleitung}<br />
\Blindtext</p>
<p>\Blindtext</p>
<p>\chapter{Hauptteil}<br />
\blindtext</p>
<p>\end{document}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/latex-schone-kopfzeilen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schöne Sections in LaTeX</title>
		<link>http://web.slzm.de/blog/latex/schone-sections-in-latex/</link>
		<comments>http://web.slzm.de/blog/latex/schone-sections-in-latex/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 11:00:32 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=333</guid>
		<description><![CDATA[Wie bei den Kapiteltiteln möchte ich gerne mit TikZ meine Section-Überschriften gestalten. Das titlesec-Paket hilft dabei wieder. Ich kann im letzten Parameter eine Funktion angeben, die aufgerufen wird, um den Titel (also den textuellen Teil) zu rendern. Auf diese Weise &#8230; <a href="http://web.slzm.de/blog/latex/schone-sections-in-latex/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Wie bei den Kapiteltiteln möchte ich gerne mit TikZ meine Section-Überschriften gestalten.<br />
Das titlesec-Paket hilft dabei wieder. Ich kann im letzten Parameter eine Funktion angeben, die aufgerufen wird, um den Titel (also den textuellen Teil) zu rendern. Auf diese Weise kommt TikZ in Kontrolle und kann diesen Text (und \thesection, was ich diesmal nicht nutze) mit den Schmuckelementen darstellen.</p>
<p>Ein Beispiel, wie so etwas dann aussehen kann:<br />
<a href="http://web.slzm.de/blog/wp-content/uploads/Section.png"><img src="http://web.slzm.de/blog/wp-content/uploads/Section-300x295.png" alt="" title="Section" width="300" height="295" class="alignnone size-medium wp-image-336" /></a></p>
<p><span id="more-333"></span></p>
<p>Und der zugehörige Code:</p>
<p><code>\documentclass[oneside,a4paper,11pt]{scrartcl}</p>
<p>\usepackage[utf8]{inputenc}<br />
\usepackage[T1]{fontenc}<br />
\usepackage[ngerman]{babel}<br />
\usepackage{blindtext}</p>
<p>% =================================<br />
%            TikZ-Pakete<br />
% =================================<br />
\usepackage{tikz}<br />
\usetikzlibrary{calc}</p>
<p>\renewcommand{\thesection}{\hspace{-0.6em}}<br />
\usepackage{titlesec}<br />
\newcommand{\tikzit}[1]{<br />
\begin{tikzpicture}<br />
\node[](title){\Large\bfseries#1};<br />
\draw[orange,line width=0.15em] (title.north west) -- (title.north east) -- ($(title.south east) + (1,0.15)$) -- ($(title.south east) + (150,0.15)$);<br />
\end{tikzpicture}<br />
}<br />
\titleformat{\section}{}{}{0pt}{\tikzit}</p>
<p>\begin{document}<br />
\section{Aufgabe 1}<br />
\subsection*{a)}<br />
\blindtext<br />
\subsection*{b)}<br />
\blindtext</p>
<p>\section{Mini}<br />
\blindtext</p>
<p>\blindtext</p>
<p>\section{Ein sehr langer Titel einer Section}<br />
\blindtext</p>
<p>\end{document}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/schone-sections-in-latex/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LaTeX: Sectiontitel speichern</title>
		<link>http://web.slzm.de/blog/latex/latex-sectiontitel-speichern/</link>
		<comments>http://web.slzm.de/blog/latex/latex-sectiontitel-speichern/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 10:48:32 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[abschnittsname]]></category>
		<category><![CDATA[Chapter]]></category>
		<category><![CDATA[merken]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[section]]></category>
		<category><![CDATA[sectionname]]></category>
		<category><![CDATA[subsection]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=334</guid>
		<description><![CDATA[Der folgende Code speichert den Namen einer Section im LaTeX-Code in einer &#8220;Variable&#8221; namens \sectiontitle. Technisch wird \section umdefiniert, sodass es vor dem öffnen des Abschnitts dessen Namen speichert (sodass er z.B. in umdefinierten Titeln verfügbar wäre). % redefine section &#8230; <a href="http://web.slzm.de/blog/latex/latex-sectiontitel-speichern/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Der folgende Code speichert den Namen einer Section im LaTeX-Code in einer &#8220;Variable&#8221; namens \sectiontitle.<br />
Technisch wird \section umdefiniert, sodass es vor dem öffnen des Abschnitts dessen Namen speichert (sodass er z.B. in umdefinierten Titeln verfügbar wäre).</p>
<p><code>% redefine section to get access to its name<br />
\newcommand{\sectiontitle}{}<br />
\let\sectold\section<br />
\renewcommand{\section}[1]{\renewcommand{\sectiontitle}{#1}\sectold{#1}}</code></p>
<p>Dieser Code ist nur ein schneller Hack, leider reichen meine bisherigen Kenntnisse über den (La)TeX-Core nicht aus, um alle Parameter zu retten, so wird \section auf eine einparametrige Funktion gestutzt. Wenn jemand das beheben kann, möge er einen kurzen Kommentar verfassen <img src='http://web.slzm.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Für andere Gliederungsbefehle wie chapter oder (sub)subsection funktioniert dieser Ansatz analog.</p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/latex-sectiontitel-speichern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schöne Kapiteltitelseiten in LaTeX</title>
		<link>http://web.slzm.de/blog/latex/schone-kapiteltitelseiten-in-latex/</link>
		<comments>http://web.slzm.de/blog/latex/schone-kapiteltitelseiten-in-latex/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 20:47:50 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[bunt]]></category>
		<category><![CDATA[Chapter]]></category>
		<category><![CDATA[größer]]></category>
		<category><![CDATA[Kapitel]]></category>
		<category><![CDATA[schön]]></category>
		<category><![CDATA[Secion]]></category>
		<category><![CDATA[titlesec]]></category>
		<category><![CDATA[Überschrift]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=322</guid>
		<description><![CDATA[Wer ein Buch schreibt, der möchte die einzelnen Kapitel vermutlich optisch schön beginnen. Ein Beispiel basierend auf dem titlesec-Paket und großen Schriften mit Hilfe von fix-cm sieht folgendermaßen aus: Wenn man die Magie von TikZ nutzt, kann man frei zeichnen &#8230; <a href="http://web.slzm.de/blog/latex/schone-kapiteltitelseiten-in-latex/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Wer ein Buch schreibt, der möchte die einzelnen Kapitel vermutlich optisch schön beginnen.</p>
<p>Ein Beispiel basierend auf dem titlesec-Paket und großen Schriften mit Hilfe von fix-cm sieht folgendermaßen aus:</p>
<p><a href="http://web.slzm.de/blog/wp-content/uploads/Titel.png"><img src="http://web.slzm.de/blog/wp-content/uploads/Titel-274x300.png" alt="" title="Titel" width="274" height="300" class="alignnone size-medium wp-image-323" /></a> </p>
<p>Wenn man die Magie von TikZ nutzt, kann man frei zeichnen und ist nur durch die eigene Kreativität limitiert:</p>
<p><a href="http://web.slzm.de/blog/wp-content/uploads/Titel2.png"><img src="http://web.slzm.de/blog/wp-content/uploads/Titel2-293x300.png" alt="" title="Titel2" width="293" height="300" class="alignnone size-medium wp-image-327" /></a><a href="http://web.slzm.de/blog/wp-content/uploads/Titel3.png"><img src="http://web.slzm.de/blog/wp-content/uploads/Titel3-266x300.png" alt="" title="Titel3" width="266" height="300" class="alignnone size-medium wp-image-328" /></a><a href="http://web.slzm.de/blog/wp-content/uploads/Titel4.png"><img src="http://web.slzm.de/blog/wp-content/uploads/Titel4-266x300.png" alt="" title="Titel4" width="266" height="300" class="alignnone size-medium wp-image-329" /></a></p>
<p><span id="more-322"></span></p>
<p>Der Code dazu lautet:<br />
<code>\documentclass{scrbook}</p>
<p>\usepackage[utf8]{inputenc}<br />
\usepackage[T1]{fontenc}<br />
\usepackage[ngerman]{babel}</p>
<p>\usepackage[table,dvipsnames,svgnames]{xcolor}<br />
\usepackage{blindtext}</p>
<p>\usepackage{fix-cm}<br />
\usepackage{titlesec}<br />
\usepackage{tikz} % Style 2, 3, 4<br />
\usetikzlibrary{calc} % 2, 3, 4<br />
\usetikzlibrary{decorations,decorations.shapes,shapes} % 3</p>
<p>% Style 1<br />
%\renewcommand{\thechapter}{\Roman{chapter}}<br />
\titleformat{\chapter}[display]<br />
{\bfseries\Large}<br />
{ %\Huge\textsc{\chaptertitlename}<br />
\hfill\fontsize{120}{70}\selectfont\color{lightgray}\textbf{\thechapter}}<br />
{-2ex}<br />
{\filleft\fontsize{50}{70}\selectfont\scshape}<br />
[\vspace{0ex}]</p>
<p>% Style 2<br />
\titleformat{\chapter}[display]<br />
{\bfseries\Large}<br />
{\hfill \tikz[remember picture] \node[] (nr) {\fontsize{120}{70}\selectfont\color{lightgray}\textbf{\thechapter}};<br />
\begin{tikzpicture}[overlay,remember picture]<br />
\coordinate (leftborder) at ($(nr)-(100,0)$);<br />
\coordinate (left) at ($(nr.west)-(1.5,0)$);<br />
\draw[line width=2em] ($(nr.north east)+(0,1)$) -- ($(nr.north west)+(0,1)$) -- (left) -- (leftborder);<br />
\end{tikzpicture}}<br />
{-2ex}<br />
{\filleft\fontsize{50}{70}\selectfont\scshape}<br />
[\vspace{0ex}]</p>
<p>% Style 3<br />
\titleformat{\chapter}[display]<br />
{\bfseries\Large}<br />
{\hfill \tikz[remember picture] \node[] (nr) {\fontsize{120}{70}\selectfont\color{lightgray}\textbf{\thechapter}};<br />
\begin{tikzpicture}[overlay,remember picture]<br />
\coordinate (leftborder) at ($(nr)-(100,0)$);<br />
\coordinate (left) at ($(nr.west)-(1.5,0)$);<br />
\draw[decoration={shape backgrounds,shape size=.5cm,shape=signal},signal from=west, signal to=east,decorate, draw=red!50!black, fill=red!50, decoration={shape sep=.5cm},line join=round] (leftborder) -- (left);<br />
\end{tikzpicture}}<br />
{-2ex}<br />
{\filleft\fontsize{50}{70}\selectfont\scshape}<br />
[\vspace{0ex}]</p>
<p>% Style 4<br />
\titleformat{\chapter}[display]<br />
{\bfseries\Large}<br />
{\hfill \tikz[remember picture] \node[] (nr) {\fontsize{120}{70}\selectfont\color{blue!50!black}\textbf{\thechapter}~};<br />
\begin{tikzpicture}[overlay,remember picture]<br />
\coordinate (leftborder) at ($(nr)-(100,0)$);<br />
\coordinate (leftborderhigh) at ($(nr.north west)-(100,0)$);<br />
\coordinate (leftborderlow) at ($(nr.south west)-(100,0)$);<br />
\coordinate (left) at ($(nr.west)-(1.5,0)$);<br />
\fill[blue!20!white] (leftborderhigh) -- ($(nr.north west)+(0,0.5)$) -- (left) -- (leftborder) -- cycle;<br />
\fill[blue!20!white] (leftborderlow) -- ($(nr.south west)-(0,0.5)$) -- (left) -- (leftborder) -- cycle;<br />
\draw[blue!50!black,line width=0.1em,line join=round] (left) -- ($(nr.south west)-(0,0.5)$) -- ($(nr.south east)-(0,0.5)$) -- ($(nr.north east)+(0,0.5)$) -- ($(nr.north west)+(0,0.5)$) -- (left) -- (leftborder);<br />
\end{tikzpicture}}<br />
{-2ex}<br />
{\filleft\fontsize{50}{70}\selectfont\scshape}<br />
[\vspace{0ex}]</p>
<p>% ==========================<br />
%    DOKUMENT<br />
% ==========================<br />
\begin{document}<br />
\chapter{Einleitung}<br />
\blindtext<br />
\chapter{Hauptteil}<br />
\blindtext<br />
\chapter{Schluss}<br />
\blindtext<br />
\end{document}</code></p>
<p>Weitere Informationen zu den Parametern liefert die Dokumentation zum titlesec-Paket beim CTAN.</p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/schone-kapiteltitelseiten-in-latex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LaTeX: Symbole finden</title>
		<link>http://web.slzm.de/blog/latex/latex-symbole-finden/</link>
		<comments>http://web.slzm.de/blog/latex/latex-symbole-finden/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 13:31:03 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=287</guid>
		<description><![CDATA[Der Webdienst namens Detexify2 ist eine wirkliche Erleichterung für alle, die sich nicht alle Sonderzeichencodes in LaTeX merken wollen oder können. Nach dem Malen des Zeichens per Maus sucht das Tool sofort nach passenden Symbolen aus dem riesigen LaTeX-Fundus. Das &#8230; <a href="http://web.slzm.de/blog/latex/latex-symbole-finden/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://web.slzm.de/blog/wp-content/uploads/symbols.png"><img src="http://web.slzm.de/blog/wp-content/uploads/symbols-150x150.png" alt="" title="Online-Dienst zur Symbolsuche für LaTeX-Dokumente" width="150" height="150" class="alignleft size-thumbnail wp-image-288" /></a> Der Webdienst namens <a href="http://detexify.kirelabs.org/classify.html">Detexify2</a> ist eine wirkliche Erleichterung für alle, die sich nicht alle Sonderzeichencodes in LaTeX merken wollen oder können.</p>
<p>Nach dem Malen des Zeichens per Maus sucht das Tool sofort nach passenden Symbolen aus dem riesigen LaTeX-Fundus. Das funktioniert erstaunlich gut und präzise. Die Funde werden mit einer Vorschau und den notwendigen \usepackage-Zeilen aufgelistet. Einfach eine klasse Sache!</p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/latex-symbole-finden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Klappe, die Dritte &#8211; AutoIt-Buch unter CC-Lizenz</title>
		<link>http://web.slzm.de/blog/latex/klappe-die-dritte-autoit-buch-unter-cc-lizenz/</link>
		<comments>http://web.slzm.de/blog/latex/klappe-die-dritte-autoit-buch-unter-cc-lizenz/#comments</comments>
		<pubDate>Wed, 29 Sep 2010 20:48:55 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[AutoIt]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[AutoIt leicht gemacht]]></category>
		<category><![CDATA[Buch]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Einführung]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[kostenlos]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=201</guid>
		<description><![CDATA[Es gibt wieder Neuigkeiten aus der Buchabteilung. Vorherige Version siehe hier. Die technische Überarbeitung des Buches ist extrem. Ich möchte eigentlich immer nur die beste Lösung einsetzen, den zukunftsträchtigsten Ansatz, das sauberste technische Design. Daher gibt es jetzt einige Veränderungen &#8230; <a href="http://web.slzm.de/blog/latex/klappe-die-dritte-autoit-buch-unter-cc-lizenz/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Es gibt wieder Neuigkeiten aus der Buchabteilung. Vorherige Version siehe <a href="http://web.slzm.de/blog/latex/autoit-buch-episode-ii/">hier</a>.<span id="more-201"></span></p>
<p>Die technische Überarbeitung des Buches ist extrem. Ich möchte eigentlich immer nur die beste Lösung einsetzen, den zukunftsträchtigsten Ansatz, das sauberste technische Design. Daher gibt es jetzt einige Veränderungen unter der Haube. Vom klassischen pdfLatex bin ich zum fortschrittlichen (UTF8!) XeTeX übergelaufen und habe es nicht bereut. Im PDF ist das am augenfälligsten durch eine neue Schriftart.<br />
Außerdem habe ich die Boxen nach einem hervorragenden Hinweis von <a href="http://my.opera.com/freedo/blog/hinweis" target="_blank">http://my.opera.com/freedo/blog/hinweis</a> optisch extrem aufgewertet. Vielen Dank für diese Idee!<br />
Zusätzlich gibt es ein neues (grün-stichiges) Titelbild für die Webausgabe. Ein handgemaltes A ziert den Hintergrund hoffentlich. Konzeptuell sollen die wechselnden Farben der Titelblätter übrigens eine einfache Unterscheidung ermöglichen, aus welchem Zeitabschnitt ein Exemplar stammt.</p>
<p>Das Highlight dieser Ausgabe ist &#8212; wie könnte es anders sein &#8212; das (Syntax-)Highlighting. Endlich habe ich da einen Weg gefunden, den ich technisch mit meinem Perfektionsanspruch vereinbaren kann. Es basiert auf dem OpenSource-Tool &#8220;highlight&#8221; (von <a href="http://www.andre-simon.de/" target="_blank">http://www.andre-simon.de/</a>) und ein paar eigenen Bash-Skripten und Kommandos für XeTeX. Diesen Teil werde ich bei Gelegenheit in eigenen Blogartikel gießen, damit andere davon auch profitieren können, denn das Anzeigen von Quelltexten ist leider in La- und XeTeX immer noch kein Spaß.</p>
<p>Die inhaltlichen Änderungen halten sich diesmal deutlich im Rahmen. Hauptsächlich habe ich das geändert, was beim Durchlesen und technischen Testen sowohl auffiel als auch unkompliziert zu ändern war. Einige der Hinweise aus den Kommentaren zur letzten Version habe ich eingebaut, vielen Dank allen Helfern!</p>
<p>Jetzt aber genug der Worte, Download: <a href="http://web.slzm.de/blog/wp-content/uploads/AutoIt_leicht_gemacht_web_20100929.pdf">AutoIt leicht gemacht (29. September 2010)</a></p>
<p>Wenn das Buch jemandem gefällt und etwas gebracht hat, freue ich mich über eine Kleinigkeit von meinem <a href="http://www.amazon.de/wishlist/2SF4DT3OOLQMF">Amazon-Wunschzettel</a>. Danke!</p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/klappe-die-dritte-autoit-buch-unter-cc-lizenz/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>XeTeX und das Schriftenparadies</title>
		<link>http://web.slzm.de/blog/latex/xetex-und-das-schriftenparadies/</link>
		<comments>http://web.slzm.de/blog/latex/xetex-und-das-schriftenparadies/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 16:52:39 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Schriften]]></category>
		<category><![CDATA[XeTeX]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=157</guid>
		<description><![CDATA[Schriften sind in LaTeX ein leidiges Thema. Nur wenige (zugegeben schöne) stehen von Anfang an zur Verfügung, lediglich einige weitere lassen sich problemlos von CTAN besorgen. Abhilfe dafür verspricht XeTeX, eine Erweiterung von LaTeX. Neben der Schriften verbessert sie auch &#8230; <a href="http://web.slzm.de/blog/latex/xetex-und-das-schriftenparadies/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Schriften sind in LaTeX ein leidiges Thema. Nur wenige (zugegeben schöne) stehen von Anfang an zur Verfügung, lediglich einige weitere lassen sich problemlos von CTAN besorgen.</p>
<p>Abhilfe dafür verspricht XeTeX, eine Erweiterung von LaTeX. Neben der Schriften verbessert sie auch das Handlung von Unicode-Zeichen, aber darum soll es hier nicht gehen.<br />
<span id="more-157"></span><br />
Installation unter Ubuntu Jaunty Jackalope:<br />
<strong>sudo apt-get install texlive-xetex</strong></p>
<p>Dann ein &#8220;paar&#8221; Schriften installieren mit:</p>
<p><strong>sudo apt-get install linux-libertine<br />
sudo apt-get install ttf-larabie-deco<br />
sudo apt-get install ttf-larabie-straight<br />
sudo apt-get install ttf-larabie-uncommon</strong></p>
<p>(siehe http://wiki.ubuntuusers.de/Schriften)</p>
<p>Beispieldokument:</p>
<pre>\documentclass[oneside,a4paper]{scrartcl}
% XeTeX
\usepackage[cm-default]{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\newfontinstance\stilvoll{Kayrawan}
\newfontinstance\platzsparend{Kenyan Coffee}
\newfontinstance\videogame{Joystix}
%\newfontinstance\in3d{Gunplay 3D}
\newfontinstance\child{Minya Nouvelle}
\newfontinstance\serifstilvoll{Rachana}
\newfontinstance\boxed{Tinsnips}
\newfontinstance\tasten{Betsy Flanagan}
\newfontinstance\reklame{Budmo Jiggler}
\newfontinstance\wanted{DirtyBakersDozen}
\newfontinstance\erpressung{Earwig Factory}
\newfontinstance\deutschland{German Participants}
\newfontinstance\army{Gunplay}
%\newfontinstance\stilvoll2{Linux Libertine O C}
\setmainfont{Kayrawan} % oder: Century Schoolbook L
\setsansfont{CMU Bright}
\setmonofont[Scale=MatchLowercase]{LMTypewriter10}
%\setromanfont{}

\usepackage{blindtext}

\usepackage[ngerman]{babel}
\usepackage[colorlinks]{hyperref}
\usepackage{booktabs}
\usepackage[table]{xcolor}

\begin{document}

\tableofcontents
\vfill
\clearpage

\section{Teil 1}
\wanted{WANTED FOR MURDER}

\child{\blindtext}
\reklame{Dead or Alive}

\section{Teil 2}
\Huge\deutschland{DEUTSCHLAND}

\normalsize\erpressung{\blindtext}

\Huge\videogame{Spiel mit mir!}

\vspace{3cm}
\normalfont \scriptsize{Endlich wieder normal <img src='http://web.slzm.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .}

\section{Teil 3}
\blindtext

\end{document}</pre>
<p>Wichtig:<br />
%\usepackage[utf8]{inputenc}<br />
%\usepackage[T1]{fontenc}<br />
auskommentieren, ebenso jegliche anderen usepackages zum Laden von Schriften.</p>
<p>Ärgerlich ist der Bug, dass \newfontinstance\in3d{Gunplay 3D} fehltschlägt, wenn Gunplay auch installiert ist. Dann versucht XeTeX offenbar, 3D als Alternativschrift zu laden, was natürlich fehlschlägt. Eventuell ist das in der aktuellen Version bereits gefixt, die aber nicht als Paket in Ubuntu verfügbar ist.</p>
<p>Achja: Kompilieren dann mit xelatex datei.tex statt pdflatex.</p>
<p><a href="http://web.slzm.de/blog/wp-content/uploads/Beispiel1.pdf">Beispiel</a></p>
<p>Johannes</p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/xetex-und-das-schriftenparadies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aufzählungen von Word/HTML nach LaTeX konvertieren</title>
		<link>http://web.slzm.de/blog/latex/aufzahlungen-von-wordhtml-nach-latex-konvertieren/</link>
		<comments>http://web.slzm.de/blog/latex/aufzahlungen-von-wordhtml-nach-latex-konvertieren/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 13:50:34 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[AutoIt]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Programmieren]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=129</guid>
		<description><![CDATA[Das folgende Skript habe ich mir gebastelt, um Word-Aufzählungen in LaTeX zu konvertieren. Gerade wenn es mehrere Ebenen sind, ist es in Word einfach jedes Mal wieder nervig, die Ebenen zu koordinieren. Als das aktuelle (!) Word 2007 es dann &#8230; <a href="http://web.slzm.de/blog/latex/aufzahlungen-von-wordhtml-nach-latex-konvertieren/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Das folgende Skript habe ich mir gebastelt, um Word-Aufzählungen in LaTeX zu konvertieren. Gerade wenn es mehrere Ebenen sind, ist es in Word einfach jedes Mal wieder nervig, die Ebenen zu koordinieren. Als das aktuelle (!) Word 2007 es dann doch geschafft hat, Einzüge zu machen, wo sie keinen Sinn machen, hat es gereicht und ordentlicher Textsatz musste her &#8212; LaTeX.</p>
<p><span id="more-129"></span>Hier das <a href="http://www.autoit.de">AutoIt</a>-Skript, dass die Konvertierung besorgt:</p>

<div class="wp_syntax"><div class="code"><pre class="autoit" style="font-family:monospace;"><span style="color: #F000FF; font-style: italic;">#include</span><span style="font-style: italic; color: #9977BB;"> &lt;file.au3&gt;</span>
<span style="color: #F000FF; font-style: italic;">#include</span><span style="font-style: italic; color: #9977BB;"> &lt;array.au3&gt;</span>
&nbsp;
<span style="font-style: italic; color: #009933;">; Definitions</span>
<span style="color: #0000FF; font-weight: bold;">Global</span> <span style="font-weight: bold; color: #AA0000;">$lvlMatch</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">4</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #9977BB;">&quot;^\s*\d*\.\s*(.*)&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;^\s*[a-z]\.\s*(.*)&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;^\s*[ivx]*\.\s*(.*)&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;^\s*\d*\.\s*(.*)&quot;</span><span style="color: #FF0000; font-weight: bold;">&#93;</span>
<span style="color: #0000FF; font-weight: bold;">Global</span> <span style="font-weight: bold; color: #AA0000;">$data</span>
<span style="color: #0080FF; font-style: italic; font-weight: bold;">_FileReadToArray</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@ScriptDir</span></span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot;\input.txt&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
<span style="color: #0080FF; font-style: italic; font-weight: bold;">_ArrayDelete</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
<span style="color: #0000FF; font-weight: bold;">Global</span> <span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="color: #000080; font-style: italic; font-weight: bold;">UBound</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="color: #FF0000; font-weight: bold;">&#93;</span>
&nbsp;
<span style="font-style: italic; color: #009933;">; Levels herausfinden</span>
<span style="color: #0000FF; font-weight: bold;">For</span> <span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <span style="color: #0000FF; font-weight: bold;">To</span> <span style="color: #000080; font-style: italic; font-weight: bold;">UBound</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">-</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span>
	<span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #FF0000; font-weight: bold;">-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="font-style: italic; color: #009933;">; Default (= no explicit match)</span>
	<span style="color: #0000FF; font-weight: bold;">For</span> <span style="font-weight: bold; color: #AA0000;">$j</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">UBound</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$lvlMatch</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">-</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="color: #0000FF; font-weight: bold;">To</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <span style="color: #0000FF; font-weight: bold;">Step</span> <span style="color: #FF0000; font-weight: bold;">-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="font-style: italic; color: #009933;">; zu hoch raten im Notfall</span>
		<span style="color: #0000FF; font-weight: bold;">If</span> <span style="color: #000080; font-style: italic; font-weight: bold;">StringRegExp</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$lvlMatch</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$j</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
			<span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$j</span>
			<span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">StringRegExpReplace</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$lvlMatch</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$j</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;\1&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
			<span style="color: #0000FF; font-weight: bold;">ContinueLoop</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">2</span>
		<span style="color: #0000FF; font-weight: bold;">EndIf</span>
	<span style="color: #0000FF; font-weight: bold;">Next</span>
<span style="color: #0000FF; font-weight: bold;">Next</span>
&nbsp;
<span style="font-style: italic; color: #009933;">; 0/3-Fix</span>
<span style="color: #0080FF; font-style: italic; font-weight: bold;">_ArrayInsert</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
<span style="color: #0080FF; font-style: italic; font-weight: bold;">_ArrayInsert</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #FF0000; font-weight: bold;">-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #0000FF; font-weight: bold;">For</span> <span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="color: #0000FF; font-weight: bold;">To</span> <span style="color: #000080; font-style: italic; font-weight: bold;">UBound</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">-</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">2</span> <span style="font-style: italic; color: #009933;">; !</span>
	<span style="color: #0000FF; font-weight: bold;">If</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">3</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #0000FF; font-weight: bold;">And</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">+</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #0000FF; font-weight: bold;">OR</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">3</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #0000FF; font-weight: bold;">And</span> <span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #000080; font-style: italic; font-weight: bold;">StringRegExp</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">-</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;^\s*$&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
		<span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span>
	<span style="color: #0000FF; font-weight: bold;">EndIf</span>
<span style="color: #0000FF; font-weight: bold;">Next</span>
&nbsp;
<span style="font-style: italic; color: #009933;">; Fix für Ende</span>
<span style="color: #0080FF; font-style: italic; font-weight: bold;">_ArrayAdd</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;&quot;</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
<span style="color: #0080FF; font-style: italic; font-weight: bold;">_ArrayAdd</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="font-style: italic; color: #009933;">; Output generieren</span>
<span style="font-weight: bold; color: #AA0000;">$currLevel</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #FF0000; font-weight: bold;">-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span>
<span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #9977BB;">&quot;&quot;</span>
<span style="color: #0000FF; font-weight: bold;">For</span> <span style="font-weight: bold; color: #AA0000;">$i</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <span style="color: #0000FF; font-weight: bold;">To</span> <span style="color: #000080; font-style: italic; font-weight: bold;">UBound</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">-</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span>
	<span style="font-weight: bold; color: #AA0000;">$newLevel</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span>
	<span style="color: #0000FF; font-weight: bold;">If</span> <span style="font-weight: bold; color: #AA0000;">$newLevel</span> <span style="color: #FF0000; font-weight: bold;">&lt;&gt;</span> <span style="color: #FF0000; font-weight: bold;">-</span><span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
		<span style="font-style: italic; color: #009933;">; runter</span>
		<span style="color: #0000FF; font-weight: bold;">if</span> <span style="font-weight: bold; color: #AA0000;">$newLevel</span> <span style="color: #FF0000; font-weight: bold;">&gt;</span> <span style="font-weight: bold; color: #AA0000;">$currLevel</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
			<span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot;\begin{enumerate}&quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@CRLF</span></span>
		<span style="color: #0000FF; font-weight: bold;">EndIf</span>
		<span style="font-style: italic; color: #009933;">; (u.U. mehrfach!) hoch</span>
		<span style="color: #0000FF; font-weight: bold;">while</span> <span style="font-weight: bold; color: #AA0000;">$newLevel</span> <span style="color: #FF0000; font-weight: bold;">&lt;</span> <span style="font-weight: bold; color: #AA0000;">$currLevel</span>
			<span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot;\end{enumerate}&quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@CRLF</span></span>
			<span style="font-weight: bold; color: #AA0000;">$currLevel</span> <span style="color: #FF0000; font-weight: bold;">-=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">1</span>
		<span style="color: #0000FF; font-weight: bold;">WEnd</span>
&nbsp;
		<span style="font-weight: bold; color: #AA0000;">$currLevel</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$newLevel</span>
	<span style="color: #0000FF; font-weight: bold;">EndIf</span>
&nbsp;
	<span style="color: #0000FF; font-weight: bold;">If</span> <span style="color: #000080; font-style: italic; font-weight: bold;">StringRegExp</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;^\s*$&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span><span style="color: #FF0000; font-weight: bold;">&#41;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
		<span style="color: #0000FF; font-weight: bold;">if</span> <span style="font-weight: bold; color: #AA0000;">$levels</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">0</span> <span style="color: #0000FF; font-weight: bold;">Then</span>
			<span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot;\item \hl{&quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot;}&quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@CRLF</span></span>
		<span style="color: #0000FF; font-weight: bold;">Else</span>
			<span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot;\item &quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #AA0000;">$data</span><span style="color: #FF0000; font-weight: bold;">&#91;</span><span style="font-weight: bold; color: #AA0000;">$i</span><span style="color: #FF0000; font-weight: bold;">&#93;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@CRLF</span></span>
		<span style="color: #0000FF; font-weight: bold;">EndIf</span>
	<span style="color: #0000FF; font-weight: bold;">else</span>
		<span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@CRLF</span></span>
	<span style="color: #0000FF; font-weight: bold;">EndIf</span>
<span style="color: #0000FF; font-weight: bold;">Next</span>
<span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">&amp;=</span> <span style="font-weight: bold; color: #9977BB;">&quot;\end{enumerate}&quot;</span>
&nbsp;
<span style="font-style: italic; color: #009933;">; verschönern</span>
<span style="font-weight: bold; color: #AA0000;">$output</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">StringReplace</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$output</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@CRLF</span></span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot;\end{enumerate}&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #9977BB;">&quot;\end{enumerate}&quot;</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@CRLF</span></span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
&nbsp;
<span style="font-style: italic; color: #009933;">; schreiben</span>
<span style="font-weight: bold; color: #AA0000;">$fhndl</span> <span style="color: #FF0000; font-weight: bold;">=</span> <span style="color: #000080; font-style: italic; font-weight: bold;">FileOpen</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="color: #800000; font-weight: bold;"><span style="font-weight: bold; color: #AA0000;">@ScriptDir</span></span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="font-weight: bold; color: #9977BB;">&quot;\output.txt&quot;</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="color: #AC00A9; font-style: italic; font-weight: bold;">2</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
<span style="color: #000080; font-style: italic; font-weight: bold;">FileWrite</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$fhndl</span><span style="color: #FF0000; font-weight: bold;">,</span> <span style="font-weight: bold; color: #AA0000;">$output</span><span style="color: #FF0000; font-weight: bold;">&#41;</span>
<span style="color: #000080; font-style: italic; font-weight: bold;">FileClose</span><span style="color: #FF0000; font-weight: bold;">&#40;</span><span style="font-weight: bold; color: #AA0000;">$fhndl</span><span style="color: #FF0000; font-weight: bold;">&#41;</span></pre></div></div>

<p>Das Skript erwartet eine input.txt in seinem Verzeichnis und schmeißt den LaTeX-Schnipsel in der Datei  output.txt raus.<br />
Die regulären Ausdrücke zur Erkennung der Aufzählungszeichen lassen sich oben anpassen.</p>
<p>Der Code steht unter der <a href="http://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a>-Lizenz.</p>
<p>Viel Spaß damit,<br />
Johannes</p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/aufzahlungen-von-wordhtml-nach-latex-konvertieren/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AutoIt-Buch, Episode II</title>
		<link>http://web.slzm.de/blog/latex/autoit-buch-episode-ii/</link>
		<comments>http://web.slzm.de/blog/latex/autoit-buch-episode-ii/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 16:36:01 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[AutoIt]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[AutoIt leicht gemacht]]></category>
		<category><![CDATA[Buch]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[kostenlos]]></category>

		<guid isPermaLink="false">http://web.slzm.de/blog/?p=118</guid>
		<description><![CDATA[Hallo, UPDATE: Neue Version Vor allem dank der tatkräftigen Unterstützung von Rasta gibt es eine neue Version des Buches über AutoIt. Vielen herzlichen Dank für das ausführliche und sehr fundierte Lektorat. Weiterer Dank geht an bernd670 für Hinweise zur Verbesserung. &#8230; <a href="http://web.slzm.de/blog/latex/autoit-buch-episode-ii/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hallo,</p>
<p><strong>UPDATE:</strong> <a href="http://web.slzm.de/blog/?p=201">Neue Version</a></p>
<p>Vor allem dank der tatkräftigen Unterstützung von Rasta gibt es eine neue Version des <a title="Erste Version des Buches" href="http://web.slzm.de/blog/programmieren/autoit-leicht-gemacht/" target="_self">Buches über AutoIt</a>. Vielen herzlichen Dank für das ausführliche und sehr fundierte Lektorat. Weiterer Dank geht an bernd670 für Hinweise zur Verbesserung.</p>
<p><span id="more-118"></span>In der neuen Version gibt es neben der Korrektur von viel zu zahlreichen Rechtschreib-, Komma- und Formulierungsfehlern vor allem weit schönere Tabellen und Quellcodelistings. Die Tabellen sind jetzt schön alternierend gefärbt, die Listings farblich deutlich an SciTE angenähert. Wer mir sagen kann, wie ich die Variablen ($xyz) erfassen kann, bekommt eine Erwähnung im Buch <img src='http://web.slzm.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>

<a href='http://web.slzm.de/blog/latex/autoit-buch-episode-ii/attachment/titelseite/' title='Titelseite'><img width="150" height="150" src="http://web.slzm.de/blog/wp-content/uploads/titelseite-150x150.png" class="attachment-thumbnail" alt="Titelseite" title="Titelseite" /></a>
<a href='http://web.slzm.de/blog/latex/autoit-buch-episode-ii/attachment/listings/' title='Listings'><img width="150" height="150" src="http://web.slzm.de/blog/wp-content/uploads/listings-150x150.png" class="attachment-thumbnail" alt="Listings" title="Listings" /></a>

<p>Gun-Food hat in einem Kommentar zur ersten Veröffentlichung geschrieben, er fände die Titelseite des &#8220;Gelben Buches&#8221; nicht so schön. Daher rufe ich an dieser Stelle einen Wettbewerb aus, in dem eine neue Titelseite gekürt werden soll. Auch hierfür gibt es eine Erwähnung im Buch. Die Graphik im Format DIN-A4 soll (mindestens) den Titel (AutoIt leicht gemacht), eine Reminiszenz an AutoIt und meinen Namen enthalten. Die Datei muss unter einer passenden CC-Lizenz stehen und als Quelldatei (Ebenen mit änderbarem Text) zur Verfügung gestellt werden.</p>
<p>Die Lizenz des Buches bleibt unverändert (siehe auch im PDF selbst).</p>
<p><strong>Download:</strong> <a href="http://web.slzm.de/blog/wp-content/uploads/AutoIt_leicht_gemacht_2009-07-11.pdf"> AutoIt leicht gemacht &#8211; 11. Juli 2009</a></p>
<p>Viel Erfolg damit,<br />
<em>Johannes</em></p>
]]></content:encoded>
			<wfw:commentRss>http://web.slzm.de/blog/latex/autoit-buch-episode-ii/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

