Latex - Grafik vom Text umfließen lassen

R

rhina

Neues Mitglied
Thread Starter
Dabei seit
08.12.2008
Beiträge
17
Reaktionspunkte
0
Guten Morgen!:)
Ich habe gestern auf ( fast :D ) tausend verschiedene Arten versucht, eine Bild in meinen latex-Text einzufügen. Aber es funktionierte irgendwie nicht so wirklich...
ALso ich hab es mit wrapfigure versucht..da wurde zwar das Bild angezeigt..aber den text richtig drumherum zu schieben ... sah eher blöd aus.
floatfigure ging auch nicht, da usepackage{floatflt} nicht gefunden wurde. also hab ich mir das package heruntergeladen. und jetzt.. weiß ich nicht, wie ich es installieren muss! :rolleyes:
ich versteh nicht, wo ich die floatflt.ins hinschieben muss.
kann mir vielleicht jemand weiterhelfen?
viele grüße
 
...die installationsanleitung... was muss ich mit der foatflt.ins machen?

This is the file `00readme.flt', which accompanies the `floatflt'
package distribution. The package defines environments for figures
and tables which do not span the full width of a page. The 'floatflt'
package is is an extension of Thomas Kneser's style option 'floatfig.sty'
for LaTeX 2.09, on which it is based. To use the package, run LaTeX on
`floatflt.ins', this produces the files `floatflt.sty', which contains
the macro definitions, and the file `floatexm.tex', which is an example
of the use of the package. To obtain the userguide and documentation,
run LaTeX on `floatflt.dtx' twice. To obtain the example, run LaTeX
on `floatexm.tex' twice.

The 'floatflt' package consists of two files:
floatflt.ins - the installation driver
floatflt.dtx - the macro code, instructions on how to use
the package, an example, and the original
documentation by Thomas Kneser, all in
`docstrip'-able format.
Anyone is free to re-distribute these files provided the restrictions
mentioned in 'floatflt.ins' are obeyed. These are mainly that the
two files always must be distributed together.
 
Grad in einer meiner Anleitungen gefunden.
Sieht dann so aus:

572062e88e.png


\IfDefined{wrapfloat}{
%
\subsection{wrapfloat}
%
\begin{wrapfloat}{figure}{r}{0.3\textwidth}
\includegraphics[width=0.3\textwidth]{images/latex}
\caption{Ein Beispiel für wrapfloat }
\end{wrapfloat}
Ut vulputate lorem a ante. Praesent risus purus, feugiat ac, dignissim at, scelerisque nec, tortor. Nulla a ipsum. Integer ut lorem. Cras convallis pulvinar velit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tempus. Fusce suscipit semper est. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam sagittis pretium dui. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In velit. Nunc porta feugiat ipsum. Sed dolor. Phasellus porttitor mattis libero. Nam justo mi, tincidunt vitae, mattis sit amet, dapibus et, mi. Nunc in nisi eu lacus ultricies feugiat. Donec volutpat posuere arcu.

} % Endif


Hast du sowas gesucht ?
 
ja. also genauso will ich ein bild einfügen. aber :/ es geht wieder nicht :confused:
muss ich ein besonderes package einbinden?
 
fehlermeldung :
! Undefined control sequence.
l.83 \IfDefined
{wrapfloat}{
? ! Undefined control sequence.
<argument> 0.3\textwid
th
l.87 \begin{wrapfloat}{figure}{r}{0.3\textwid th}

?
 
also funktioniert einfach nicht. bin noch ein latex neuling... und weiß nicht so recht, wo was fehlt :(
ich geb auf und füg einfach normal das bild ein. ohne umfließen. :heul:
trotzdem danke für deine hilfe :)
 
Leerzeichen im Code

Hallo Rhina,

fehlermeldung :
! Undefined control sequence.
l.83 \IfDefined
{wrapfloat}{
? ! Undefined control sequence.
<argument> 0.3\textwid
th
l.87 \begin{wrapfloat}{figure}{r}{0.3\textwidth}

das Problem ist hier nur das überflüssige Leerzeichen, das vmtl. die Forumsoftware oben eingefügt hat. Wäre die Code-Umgebung verwendet worde, wäre das nicht passiert. Mit der Code-Umgebung sähe der Code-Ausschnitt von oben so aus:
Code:
\IfDefined{wrapfloat}{
%
\subsection{wrapfloat}
%
\begin{wrapfloat}{figure}{r}{0.3\textwidth}
\includegraphics[width=0.3\textwidth]{images/latex}
\caption{Ein Beispiel für wrapfloat}
\end{wrapfloat}
Ut vulputate lorem a ante.....
} % Endif

Viele Grüße,

Stefan


--
TeXblog
 
Zurück
Oben Unten