Tag Info

Hot answers tagged

3

You have missed a parentheses (2 places) in \foreach[count=\i,evaluate={\s=int(4*\i-1)},evaluate={\e=int(4*(\i-1)) %<-- this one, you have only one of them. You forgot to load the subfig package which provides \subfloatcommand. Having said that, you can use the standard method of \resizebox: \documentclass[preprint,12pt,3p]{elsarticle} ...


2

Borrowing from egreg's answer at Using the same figure twice with no new number, here is a solution. EDITED to match format better. I use \repeatcaption and \repeatsubcaption to regurgitate the label based on a prior reference. \documentclass[a4paper,twoside,openright,11pt]{scrbook} ...


1

I had such a solution. Do you want evaluate? How is it? Or is there a simple way? \documentclass[a4paper,twoside,openright,11pt]{scrbook} \usepackage[left=1.5cm,right=1cm,top=3cm,bottom=1.5cm,marginparwidth=5.5cm,marginparsep=1cm,outer=8cm]{geometry} \usepackage[utf8]{inputenc} \usepackage[svgnames]{xcolor} \usepackage{caption} \usepackage{tikz} ...


1

Your tabular has the default [c] position so its baseline goes through its centre, which is why the centre of the table is aligned with the base of the image you want: \begin{tabular}[b] or more exactly as you are using tabular* : \begin{tabular*}[b]{0.43\textwidth}{llll} which will line the baseline of the bottom row (or \hline in this case) of the ...


1

I would suggest a work-around, if all else fails, as it is difficult to test this without going through the submission process yourself. In that regard, avoid using the subfigure environment altogether, and default to using a tabular structure for arranging your subfigures. While this comes with manual numbering of subfigures, it's not that difficult to ...


1

The current figure is contained as subfigure counter if the subcaption package is used, however, it's better to use self - defined format for the subcaption, via \DeclareCaptionLabelformat \documentclass{report} \usepackage{floatrow} \usepackage{blindtext} \usepackage{caption} \usepackage{subcaption} \usepackage[demo]{graphicx} ...


1

As with all questions, I should've sought a little harder because the answer, apparently, was within my grasp. For all future answer-seekers, here is my workaround / solution. I added this to the preamble: \DeclareCaptionSubType*{figure} \renewcommand\thesubfigure{\thefigure\alph{subfigure}} \renewcommand{\subfigurename}{Figure} Which amounted to:


1

Another solution could be based on subcaption package and its subfigure environments. Each subfigure environment can contain a \caption and \label statement and can thus be cross-referenced using the \ref mechanism. \documentclass{article} \usepackage[demo]{graphicx} % remove "demo" option in your real document \usepackage{subcaption} % provides ...


1

Code \documentclass[a4paper]{article} \usepackage{amsmath} \usepackage[numbers,square]{natbib} %The following is uesd to make the caption colored \usepackage{xcolor} \definecolor{ocre}{RGB}{1,160,233} \usepackage{caption} \usepackage[font={small,color=ocre}]{caption} \usepackage{graphicx,subfigure} \usepackage[hidelinks]{hyperref} % hyperlinks ...


1

Try this, which uses a figure to let things float and within uses two minipages to house the subfigures: \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure} \begin{minipage}{0.45\textwidth} \centering \begin{subfigure}{\textwidth} \includegraphics[width=\textwidth]{Example-Image} ...


1

The following should achieve your goal I think: \documentclass{book} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure}[H] \centering \begin{subfigure}{0.45\linewidth} \centering \includegraphics[width=\linewidth]{Example-Image} \caption{} \label{fig:dragratio} \end{subfigure} \hfill ...


1

You do not have a paragraph break for the spacing. How does the below work? \begin{centering} \subfigure{\includegraphics[width=.45\textwidth]{300PLOTS50/CF.png}} \subfigure{\includegraphics[width=.45\textwidth]{300PLOTS140/CF.png}}\\ \vspace*{1cm} \subfigure{\includegraphics[width=.45\textwidth]{300PLOTS50/hNlep.png}} ...



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