# Tag Info

3

The package subfigure is obsolete. You should use subcaption or subfig packages for this facility. Here is your case with subcaption. \documentclass[twocolumn]{article} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \centering \begin{subfigure}{0.5\columnwidth} \centering \includegraphics[width=0.9\linewidth]{example-image} ...

3

This is a known bug which existed in the caption package for about three days. So updating your TeX distribution should help, if version 2015-09-20 of the caption package bundle is not part of your TeX distribution yet, either wait or update the file caption3.sty manually [1]. See also: https://sourceforge.net/p/latex-caption/tickets/24/ [1] ...

3

/ is not a special character by default in TeX, you need to use \ not / everywhere so width=\textwidth not width=/textwidth

2

Update From version caption.sty 2015/09/17 v3.3-111 Customizing captions (AR) subcaption and caption are compatible with beamer, so you can use either subcaption or subfig. For older versions of caption, read below. Initial answer (old versions of caption) If you really need subfigures in a presentation, with beamer you should use subfig. subcaption and ...

2

You can use the \subcaption command from the package with the same name to add a caption for each sufigure. There is a problem with using subcaptions inside a tabularx, see this bug report at SourceForge, so it's better to use a regular tabular with p columns. Notes about the code: The \label always has to be placed after (or within) the \caption. I ...

1

Your two minipages with little modifications can do the job (I additionally suppressed some spurious blank spaces) \documentclass{report} \usepackage[utf8]{inputenc} \usepackage[demo]{graphicx} \usepackage{array,booktabs} \usepackage[version=4]{mhchem} \usepackage[margin=0pt]{subfig} \usepackage{caption} \begin{document} \begin{figure} ...

1

Do you looking something like this? For above figure I use package subfig and from memoir sidecaption: documentclass[11pt,a4paper,twoside]{memoir} \usepackage{blindtext} \usepackage{graphicx} \usepackage{subfig} \sidecapmargin{outer} \begin{document} \blindtext \begin{figure}[h] \begin{sidecaption}{Main caption on outer side of ...

1

Addition to the answer from Robert (see my comment there): Load style/fbe_tez this way: \makeatletter \let\ORI@caption\@caption \let\ORI@makecaption\@makecaption \makeatother \usepackage{styles/fbe_tez} \makeatletter \let\@caption\ORI@caption \let\@makecaption\ORI@makecaption \makeatother This way the definitions of \@caption and \@makecaption will be ...

1

I know that the question is old, but I have the same problem today and i find the solution reviewing the code that Lyx generate when the text has subfigure with caption \@ifundefined{showcaptionsetup}{}{% \PassOptionsToPackage{caption=false}{subfig}} \usepackage{subfig}

1

You have a good supply of end of line spaces. Put % at the end of lines, at will. \documentclass[a4paper,twoside,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8x]{inputenc} \usepackage[english]{babel} \usepackage{tikz} \usepackage{pgfplotstable, filecontents} \usepackage{subfig} \usepackage{float} \newcommand{\iso}[1]{% ...

1

You can pass an option to \begin{subfigure} which specifies the alignment. Add [b] to both your subfigure environments: \begin{subfigure}[b]{0.4\textwidth}.

1

The class is definitely not compatible with caption (and so also subcaption). It also redefines the figure environment in such a way that fools \subfloat from subfig into thinking that it is not in a floating environment. Here's a suggestion for making subfig work, but I'd not be surprised if the copy editor of your submission will not be happy with it. ...

1

The package caption has shown some issues some days ago, being connected to a previous update, showing 3table etc in the LoT etc. A. Sommerfeldt updated again and the issue is gone. The solution here is to update specifically the caption package for the relevant TeX distribution (MikTeX, TeXLive etc.)

Only top voted, non community-wiki answers of a minimum length are eligible