# Tag Info

4

Although you have all graphics organized by pairs into a floatrow, all floatrows are placed inside one figure which can not be broken between pages. If you declare each floatrow inside and independent figure environment, each figure will float and be distributed over different pages. It's possible to force pgfplots size with axis' size option. In this ...

4

A solution with tikzpicture: \documentclass{article} \usepackage{tikz} \usepackage{graphicx} \usetikzlibrary{positioning} \begin{document} \begin{figure}[htb] \begin{minipage}{0.4\textwidth} \begin{tikzpicture} \node (img) {\includegraphics[scale=0.225]{example-image}}; \node[below=of img, node distance=0cm, yshift=1cm,font=\color{red}] {x-axis}; \...

3

The \sidesubfloat command requires the \label command within the mandatory argument, i.e. together with the content to be displayed (the \includegraphics command here). I won't change the manual \vspace{-30pt} settings from the O.P. here... \documentclass[a4paper,11pt]{book} \usepackage{wrapfig} \usepackage{floatrow} \usepackage{subfig} \renewcommand{\...

3

You have to specify a bigger value for the line width (page 19 of the manual of standalone. You don't need a full-fledged subfigure (by the way, this package is obsolete, use subfig or subcaption), nor you need figure that just makes a difficult life to varwidth. \documentclass[border=10pt,varwidth=30cm]{standalone} \usepackage{graphicx,capt-of} \...

3

Similar question are quite often here (TeX.Se site), so it will be probably designate as duplicate ... Your last figure had to be at bottom of other sub figures, since all are in the same float. Float can not span two pages! If you like to have last image on the next page, than you had to make two figures: in the first 3 x 3 images and last on the second. ...

2

Your sintax i code fragment remains me on subcaption syntax. For subfig package try the following: \begin{figure}[htb] \centering \subfloat[before \label{subfig:q4-t1-before}] {\includegraphics{graphics/q4-execution-plan/transformation-1-before}} \caption{Main caption} \end{figure}

2

Thanks for mentioning in a comment which document class you use -- IEEEtran, with the option conference. Since this document class uses a two-column layout, the first and most important measure to take is to employ a figure* environment, which takes up the width of both columns, instead of a "normal" figure environment. To position the eight subfigures ...

2

Probably you looking for something like this: For this figure I use subfig and floatrow packages: \documentclass{article} \usepackage{floatrow} \usepackage{graphicx} \usepackage[label font=bf,labelformat=simple]{subfig} \usepackage{caption} \floatsetup[figure]{style=plain,subcapbesideposition=top} \usepackage[showframe]{geometry} \begin{document} %-----...

2

Set an explicit format for the subcaptions that doesn't use myformat, but default instead: \captionsetup[subfigure]{format=default}

2

A very simple solution with the framed environment: \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} \usepackage{ramed} \begin{document} \begin{figure}[htb] \begin{framed} \centering \begin{subfigure}{0.65\linewidth} \includegraphics[width=\linewidth]{ernst_vierge} \caption{} \end{subfigure} \vskip 4ex \begin{subfigure}{\...

2

\documentclass{article} \usepackage{tabularx} \usepackage{subfig} \usepackage{graphicx} \begin{document} \begin{figure}[hbt] \begin{tabularx}{\textwidth}{>{\raggedleft \arraybackslash}X >{\raggedright\arraybackslash}X} \subfloat[]{\label{fig-a}\includegraphics[width=0.3\textwidth]{example-image}} & \subfloat[]{\...

1

Place the \label{fig:subs} after \caption{} which will fix the problem. \documentclass[12pt, a4paper]{article} \usepackage{pgfplots} \usepackage{psfrag} \usepackage{subfig} \pgfplotsset{compat=1.5} \usepackage{cleveref} \begin{document} \begin{figure}[hb] \centering \begin{tabular}{ccc} \multicolumn{3}{c}{\begin{tikzpicture} \...

1

One more alternative: \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} \usepackage{calc} \begin{document} \begin{figure}[htb] \fbox{\begin{minipage}{\textwidth-2\fboxsep-2\fboxrule} \centering \begin{subfigure}{0.8\linewidth} \includegraphics[width=\linewidth]{example-image-a} \caption{} \end{subfigure} \begin{subfigure}{\...

1

Here are two different ways to handle \\ inside a \fbox, depending on whether you know the width needed. Actually, with the tabular you don't even need \fbox. \documentclass{article} \usepackage[tight,footnotesize]{subfigure} \usepackage{graphicx} \begin{document} \begin{figure} \hfil\fbox{\begin{minipage}{\dimexpr \textwidth-2\fboxsep-2\fboxrule}% ...

1

I can not reproduce your problem even with your original preamble. Since in it are many packages as caption, subcaption loaded many times with non-consistent options I first clean up it, than comment all packages and your definitions which aren't necessary to show your image and than make caption and subcaptionoptions consistent. In second step I make ...

1

Your figure are aligned -- aligned to the bottom of the figure. If you desire alignment elsewhere you could adjust your figure so that they are the same size. One solution would be to ensure that the figures are the same size be "drawing" the line which is the cause of the size difference with a draw=none option: \addplot[draw=none] coordinates { (90,-30) (...

1

Something like the following? The code uses the subcaption package, which may (or may not) be compatible with the document class you use. Which document class do you use? \documentclass[demo]{article} % remove 'demo' option in real document \usepackage{graphicx} \usepackage[labelformat=simple]{subcaption} \renewcommand\thesubfigure{\alph{subfigure})} \...

1

This solution is based on three ideas: We use a center environment instead of a figure since the content of a figure is limited to one page only. (This idea was stolen from Werner.) We use \setcaptiontype{figure} (or \captionsetup{type=figure}) to make this environment known to the (sub)caption package as figure. BTW: Please don't use \def\@captype{figure} ...

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