I need to wrap an image. There is a place where text is quite short. As a result, there is quite an important blanck, it is awful. I would need to "center vertically" my text. I can not find how to do that ...
Here is the MME
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
\usepackage{wrapfig}
\usepackage{xcolor}
\usepackage[]{graphicx}
\usepackage{duckuments}
\usepackage{lipsum}
\title{Essai_wrapfigure}
\author{Donald Duck}
\date{June 2018}
\begin{document}
\maketitle
\tableofcontents
\chapter{Hello}
\section{Introduction}
\begin{wrapfigure}[10]{L}{0.3\textwidth}
\includegraphics[width=0.25\textwidth]{example-image-duck}
\end{wrapfigure}
A quite short text, no more lines unfortunately. There are about 35 words. We won't add more. Life is beautiful when you don't speak useless. Sometimes, it is better not to write too much.
\vspace{100pt}
\WFclear
\section{Développement}
\begin{wrapfigure}[10]{L}{0.3\textwidth}
\includegraphics[width=0.25\textwidth]{example-image-duck}
\end{wrapfigure}
\lipsum[2-4]
\end{document}
the paragraph "A quite short text... too much" is not properly vertically centered. Is there a way to make it so ? Thanks for your help.
wrapfig
. Either use twominipage
s or atabular
(or similar e.g.coffin
s or something).! Missing $ inserted
error:\title{Essai\_wrapfigure}
.