# Tag Info

6

It is the the length of the paths you are using. \documentclass{article} \batchmode \usepackage{graphicx} \newcount\zz \begin{document} \def\z{} \loop \edef\z{\z/} \includegraphics{/c/tmp/../tmp/../tmp/../tmp/../tmp/../tmp/../tmp/../tmp/../tmp/../tmp/..% /tmp/../tmp/../tmp/../tmp/../tmp/../tmp/../tmp/../tmp/\z house.png}\par %\includegraphics{/c/tmp/\z ...

5

The subfigure package is deprecated; you should use either the subfig or the subcaption package. Here's a solution based on the capabilities of the subcaption package. Each subfigure environment is assigned a width of 0.3\textwidth to have some whitespace between adjacent subfigures. \documentclass{article} \usepackage{subcaption} ...

3

Always call \usepackage[caption=false]{subfig} with the revtex4-1 document class, which is not compatible with caption. The option is indeed meant not to load the caption package along with subfig (it will emulate the needed features). Note that it's better avoiding blank lines inside \subfloat (not required, though). More importantly, you're missing ...

3

There is nothing sacred, or even particularly useful, with \subfloat or \subfigure. I'm not sure what you intended to accomplish with the \labels. If you don't want the (a) - (r) to appear, having \ref{r} expand as (r) is not particularly useful. If you want to create hyperlinks, there is always \hypertarget and \hyperlink. \documentclass{memoir} ...

3

Instead of passing scale=0.71 to tikzpicture pass it to the axis options. I have also added ylabel style={anchor=west} to put y label little up. \documentclass[11pt]{memoir} \setstocksize{23cm}{15.9cm} \settrimmedsize{23cm}{15.9cm}{*} \settrims{0pt}{0pt} \settypeblocksize{17.8cm}{11.3cm}{*} \setlrmargins{2.3cm}{*}{*} \setulmargins{6.4\onelineskip}{*}{*} ...

3

Simple solution: \newcommand{\mysize}{0.22} and then \begin{subfigure}[b]{\mysize\textwidth} \includegraphics[width=\textwidth]{pictures/...} \end{subfigure}

2

Basically, the image is just too big. For this problem, the limiting dimension is the height, not the width. (Come to think of it, this was also true in the original question. \documentclass{report} \usepackage{subfig} \usepackage{mwe} \newlength{\tempheight} \newlength{\tempwidth} \newcommand{\rowname}[1]% #1 = text ...

2

This was fixed using [width=x\linewidth] where x is any number between 0 and 1.

2

\documentclass{article}% always use a complete document not a fragment \usepackage{graphicx} \begin{document} \begin{figure}[htp]% include p % \begin{minipage}{\textwidth} a \textwidth minipage does nothing \centering%\begin{center} % mwe package images \sbox0{\includegraphics[height=4cm]{example-image-a}% no word space ...

2

Make sure your redefine the figure numbering before loading the subfigure package. Then you should get the output you wish. Note that \numberwithin already changes the label format, so your \renewcommands are redundant. If you wish to change the printed representation of part in these references, then you should do this by redefining \thepart. This will ...

2

You can fool subfig letting it think that the subfloat is, e.g., \textwidth wide, by inserting the subfloat body in a box of that width. Example: \documentclass{article} \usepackage{subfig} \begin{document} \begin{figure}[ht] \centering \subfloat[very very very very very long subfloat caption]{% \makebox[\textwidth]{\framebox[3cm][c]{subfloat body}}% ...

2

You can use \ContinuedFloat from caption package and for subfigures, use subcaption package. \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \DeclareCaptionLabelFormat{continued}{#1~#2 (Cont.)} \captionsetup[ContinuedFloat]{labelformat=continued} \begin{document} \begin{figure} \centering ...

1

I was trying to do something similar, and found your answer. I don't really like to have to make multiple new definitions every time I want to use this. So I tried to solve it differently. I'm new to this so maybe there's a good reason not to do it the way I suggested... \documentclass{article} \usepackage[demo]{graphicx} \usepackage{caption} ...

1

You can use tabular as suggested by Zarko. This is another method where we use two subfigures, in one we place only sub caption and in second, only figure. Don't forget to leave a blank line in the middle as I did. \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{document} \begin{figure} \centering ...

1

With the floatrow package, this is easy: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \usepackage{floatrow} \begin{document} \begin{figure} \floatsetup[subfigure]{style=plain,capposition = beside, capbesideposition={left, center},capbesidesep=none, capbesidewidth =0.5em, rowpostcode = captionskip} ...

1

Your images are wider then width of minipages. If you accommodate the width of images to width of minipages, than images are not overlapped anymore. See: \documentclass[10pt,a4paper]{memoir} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \newsubfloat{figure} \begin{document} ...

1

Since \captionof uses \par and \vskip, you can't use it in a tabular. It's easier just to write your own caption macro, so long as you don't want all these subfloats showing up in the list of figures. \documentclass{memoir} \usepackage{mwe} \newlength{\tempdima} \newcommand{\rowname}[1]% #1 = text {\rotatebox{90}{\makebox[\tempdima][c]{\textbf{#1}}}} ...

1

The magic number is 91=64+27: \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \newlength{\preferredwidth} \setlength{\preferredwidth}{12cm} \begin{document} \begin{figure} \centering \begin{subfigure}{\dimexpr\preferredwidth*64/91} \includegraphics[width=\linewidth]{example-image-4x3} \caption{Ratio 4:3 landscape} \end{subfigure}% ...

1

You could give floatrow a roll: \documentclass[12pt]{article} \usepackage{caption,floatrow} \DeclareCaptionSubType[alph]{figure} \captionsetup[figure]{labelsep=colon} \captionsetup[subfigure]{labelformat=brace,labelsep=space,labelfont=bf} \floatsetup[subfigure]{capposition=bottom,heightadjust=all,valign=t} \begin{document} \begin{figure}[htp] ...

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