nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Float über zwei oder drei Seiten

Von: Thomas Plehn (tplehn@gmx.de) [Profil]
Datum: 23.10.2009 19:31
Message-ID: <4ae1e879$0$7620$9b4e6d93@newsspool1.arcor-online.net>
Newsgroup: de.comp.text.tex
This is a multi-part message in MIME format.

------=_NextPart_000_000F_01CA5417.6BFCA1A0
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 8bit

Hallo,
ich habe ein Beispiel angehängt, welches das Paket "float" verwendet, hier
für einen Algorithmus. Nun ist der wirkliche Algoritmus sehr lang, läuft
über zwei bis drei Seiten. Meine Frage: Wie kann ich ein Float-Objekt
umbrechen?

------=_NextPart_000_000F_01CA5417.6BFCA1A0
Content-Type: application/octet-stream;
name="newfile1.tex"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="newfile1.tex"

%% LyX 1.6.4 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{float}

\makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
\floatstyle{ruled}
\newfloat{algorithm}{tbp}{loa}
\floatname{algorithm}{Algorithm}

\makeatother

\usepackage{babel}

\begin{document}
Hallo hier kommt mein Algorithmus

%
\begin{algorithm}


\caption{mein Algorithmus}


Funktion

Prozedur

...


\end{algorithm}

\end{document}

------=_NextPart_000_000F_01CA5417.6BFCA1A0--


[ Auf dieses Posting antworten ]

Antworten