\documentclass[11pt,a4paper]{article}
\usepackage{amssymb,amsmath,amsthm}
\usepackage[dutch]{babel}
\setlength{\parindent}{1cm}
\setlength{\parskip}{0cm}
\usepackage{relsize}
\usepackage{graphicx}
\usepackage{movie15}
\usepackage{hyperref}
\usepackage{wrapfig}
\usepackage[justification=centering]{caption}
\graphicspath{ {c:/Bureaublad} }
\newcommand\md{\ }
\begin{document}
I have a trouble with centering the captions on my figures (PNG-files) which I want to include in LaTeX. For example, this is what I get for one of them (I took a screenshot):
To the left of the graph is my text. The trouble I'm having is this: the 'figuur 2' and the description that follows is not really centered under the graph. It's too much to the left.
Also I'm having a problem with the 'wrapfigure' environment. For example, when I use the command:
\begin{wrapfigure}{r}{0.80\textwidth}
\centering
\includegraphics[scale=0.7]{hysteresis.png}
\caption{Hysteresis-lus}
\end{wrapfigure}
The figure (another graph) somehow shows up at the bibliography section (end of document), while I want it to the left, surrounded by my text.
Any help with these issues please?
Best Answer
You can replace
[scale=…]
with[width=…]
, and choose0pt
as width argument. Here is an example of boths with one of my graphics files:% \lipsum[2]
\lipsum[4]