2

The following code does not output the caption correctly, font appears in normal size, and "Figure" is not boldfaced.

\begin{wrapfigure}{r}{0.5\textwidth}
  \vspace{-50pt}
  \begin{center}
    \includegraphics[width=0.48\textwidth]{figure.png}
  \end{center}
  \caption{bla bla bla}
  \vspace{-20pt}
  \label{fig4}
\end{wrapfigure}

I use at the beginning

\documentclass{IOS-Book-Article}
\usepackage{times}
\normalfont
\usepackage[T1]{fontenc}

\usepackage{amsmath}
\usepackage{breqn}
\usepackage{graphicx}     

\usepackage{float}
\usepackage{caption}
\usepackage{wrapfig}
\usepackage{algorithm}
\usepackage{algorithmic}
lockstep
  • 250,273
Open the way
  • 2,217

1 Answers1

5

The caption package does not change font size or series of captions and their labels by default. Specify formatting options as desired.

\documentclass{article}

\usepackage[font=small,labelfont=bf]{caption}
\usepackage{wrapfig}
\usepackage[demo]{graphicx}% Remove [demo] to show actual graphic

\usepackage[english]{babel}
\usepackage{blindtext}

\begin{document}

\blindtext

\begin{wrapfigure}{r}{0.5\textwidth}
\centering
\includegraphics[width=0.48\textwidth]{figure.png}
\caption{bla bla bla}
\end{wrapfigure}

\blindtext

\end{document}
lockstep
  • 250,273