I'm new to LaTeX and I've got my first issue with wrapfigure. I want to have an image on the right side of my document. Text on the left.
HEADLINE
text text text text text
text text text text text
text text text IMAGE IMAGE
text text text IMAGE IMAGE
text text text IMAGE IMAGE
text text text text text
text text text text text
Therefore I use:
\section{Impressum}
\label{impressum}
\begin{wrapfigure}[43]{h}[0cm]{6cm}
\vspace{-12pt}
\fbox{\includegraphics[width=0.35\textwidth]{screens/savedlocations}}
\caption[placeholder]{placeholder}
\label{fig:placeholder}
\end{wrapfigure}
text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
But the Image only appears on the end of my document (even after mylistoffigures
.
I am wondering why because I used this code five times before this section and it works.
EDIT: Error Message: Package wrapfig Warning: Collision between wrapping environments on input line
233.
LatexCode:
\documentclass[12pt]{scrartcl}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage[ngerman]{babel}
\addto\captionsngerman{\renewcommand{\figurename}{Bild}}
\usepackage{chngcntr}
\counterwithout{figure}{section}
\usepackage{geometry}
\geometry{a4paper, left=2.5cm, right=2cm, top=3cm, bottom=3cm}
\setlength{\footskip}{2cm}
\title{TITLE}
\begin{document}
\maketitle
\pagebreak
\tableofcontents
\pagebreak
\section{Einleitung}
\label{sec:einleitung}
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
\pagebreak
\section{App Konzept}
\label{sec:app-kozept}
\subsection{Lesen}
\label{subsec:lesen}
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
\subsection{Verwalten}
\label{subsec:verwalten}
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
\subsection{Navigation}
\label{subsec:navigation}
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
\begin{wrapfigure}[43]{h}[0cm]{0cm}
\vspace{-12pt}
\fbox{\includegraphics[width=0.35\textwidth]{screens/adddata_full}}
\caption[Ausgefülltes Daten hinzufügen Fragment]{Ausgefülltes Daten hinzufügen Fragment}
\label{fig:adddatafull}
\vspace{20pt}
\fbox{\includegraphics[width=0.35\textwidth]{screens/savedrooms_full}}
\caption[Gespeicherte Räume]{Gespeicherte Räume}
\label{fig:savedrooms}
\end{wrapfigure}
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
\pagebreak
\subsection{Standortverwaltung}
\label{subsec:standwortverwaltung}
\begin{wrapfigure}[43]{h}[0cm]{0cm}
\vspace{-12pt}
\fbox{\includegraphics[width=0.35\textwidth]{screens/savedlocations}}
\caption[Gespeicherte Standorte]{Gespeicherte Standorte}
\label{fig:savedlocations}
\vspace{20pt}
\fbox{\includegraphics[width=0.35\textwidth]{screens/savedlocations_fabs}}
\caption[Fabs des Fragments]{Fabs des Fragments}
\label{fig:savedlocations-fabs}
\end{wrapfigure}
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
\pagebreak
\section{Impressum}
\label{impressum}
\begin{wrapfigure}[]{h}[0cm]{0cm}
\fbox{\includegraphics[width=0.35\textwidth]{screens/savedlocations}}
\caption[placeholder]{placeholder}
\label{fig:placeholder}
\end{wrapfigure}
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
text text text text text text text text text text text text text text text text
\pagebreak
\listoffigures
\end{document}
EDIT2: Result if I add another Figure:
\section{Impressum}
\label{impressum}
\begin{wrapfigure}[]{h}[0cm]{0cm}
\fbox{\includegraphics[width=0.35\textwidth]{screens/placeholder}}
\caption[placeholder]{placeholder}
\label{fig:placeholder}
\end{wrapfigure}
\begin{wrapfigure}[]{h}[0cm]{0cm}
\fbox{\includegraphics[width=0.35\textwidth]{screens/placeholder}}
\caption[placeholder]{placeholder}
\label{fig:placeholder}
\end{wrapfigure}
text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text
Best Answer
I suppose that your figure is too big. The following setting with
width=
andheight=
is only for some demonstration. Often one needskeepaspectratio=true
when using both options.For two figures use: