I have three figures in a row but they are not aligned properly. the third one is a little bit upper than the other ones.  \begin{figure}[H]         \begin{subfigure}{.3\textwidth}             \vspace{0pt}             \includegraphics[width=1\linewidth]{pion_plot2}             \caption{Simple exponential fit in Kaon region}             \label{PionDataExp1}         \end{subfigure}              \begin{subfigure}{.3\textwidth}             \includegraphics[width=1\linewidth]{pion_plot3a}             \caption{Exponential fit with background fit in Kaon region}             \label{PionDataExp2}         \end{subfigure}         \begin{subfigure}{.3\textwidth}             \includegraphics[width=1\linewidth]{pion_plot3b}             \caption{Exponential fit with fixed background for last 10 channels in Kaon region}             \label{PionDataExp3}         \end{subfigure}         \caption{Kaon region fits in region 45 to 60 ns}         \label{PionDataExp}     \end{figure}   I would like to make them align from top. Any idea?
121146
I'm trying to align the tops of two images using the subfigure environment from the subcaption package. Unless I'm misinterpreting the other questions, I believe I have read multiple questions asking the same,  and  are two examples. The problem is, those answers don't seem to work as I expected, and I still can't get the tops of the images to be aligned.   example:  \documentclass{article} \usepackage{subcaption} \usepackage{graphicx} \usepackage{mwe} \begin{document}     \begin{figure}         \centering         \begin{subfigure}[t]{0.45\textwidth}             \includegraphics[width=\linewidth, height=20em]{example-image-a}             \caption{taller image}         \end{subfigure}         \begin{subfigure}[t]{0.45\textwidth}             \includegraphics[width=\linewidth, height=15em]{example-image-b}             \caption{shorter image}         \end{subfigure}         \caption{two images}     \end{figure} \end{document}   For me this generates the following:   I would have expected it to align the tops of the images. How do I do this?
32111
I would like to organize 3 figures as it's shown in the figure below:    Can anyone help?
101446
I am trying to align caption to the left but its coming centered. Please see the figure. The code is   \begin{figure}[!t] \includegraphics[scale=0.22]{Figure 1.pdf} \caption{The caption is coming to the center. It should be aligned to the left. } \label{Figure 1} \end{figure}   The previously mentioned solutions were tried. But they didn't work.   Any solution for the above problem.  A full MWE:  \documentclass[%  aip,  amsmath,amssymb, ]{revtex4-1} \draft  \usepackage{graphicx} \usepackage{dcolumn} \usepackage{bm} \usepackage{times} \DeclareGraphicsExtensions{.pdf,.jpeg,.jpg, .png, .eps, .tiff} \usepackage{epstopdf} \usepackage{lipsum} \usepackage{tabularx} \usepackage{booktabs} \usepackage{array} \usepackage{natbib} \usepackage{color} \usepackage{grffile} \usepackage{caption} \usepackage{boxhandler} \usepackage{float} \begin{document}  \begin{figure}[!t] \centering \includegraphics[scale=0.5]{Figure 3.pdf} \caption{}    \label{Figure 4} \end{figure} \end{document}
39827
In this example,  \documentclass{article} \usepackage{graphicx} \usepackage{subcaption} \begin{document} \begin{figure}   \centering   \begin{subfigure}[t]{0.33\textwidth}     \centering     \includegraphics[width=\textwidth]{example-image-a}     \caption{a}   \end{subfigure}   \begin{subfigure}[t]{0.33\textwidth}     \centering     \includegraphics[width=\textwidth]{example-image-b}     \caption{b}   \end{subfigure}   \begin{subfigure}[t]{0.33\textwidth}     \centering     \includegraphics[width=\textwidth]{example-image-c}     \caption{c}   \end{subfigure} \end{figure} \end{document}   I chose the subfigure width equally 1/3 with the rationale that the figure span \textwidth exactly. From the result,    one can deduce that there is some overhead.  How do I optimally chose subfigure width so that the figure span textwidth exactly for N = 2, 3, 4, ... subfigures?
20066
I have two raster files that are the same cell size but I cannot get them to align properly. (I want the black to line up with the pink)    When creating the black raster file (from using polyline to raster), I imported the pink raster in the Snap Raster section in the Environments setting. I thought that Snap Raster was supposed to make it line up?  Am I doing something wrong or is it a bug in Arc (I remember reading that this was a problem about two years ago), and if it is a bug is there a work around?  I have also read there is a Raster Shift, but I'm not sure what to enter in the X Coordinate and Y Coordinate. Since I only want the black raster to shift down, I know that the X Coor = 0 and the Y Coor should be negative something, but what are the units?  Thanks.
55104
So its a fairly simple question to a problem people normally experience. I have a rough idea of what to do, but I am looking for the correct way of doing things. So in the solution I will include what would be the bare minimum requirements I think would get this problem solved. I am looking for feedback and corrections though.  So please tell me, how does one go about creating subfigures within a figure. After that, caption it. Then label it for reference and then refer to it in the text?
32602
I am facing some problem in aligning (top-aligned) image and text in a table.  \documentclass[11pt,table,a4paper]{article} \usepackage{array,ragged2e} \usepackage{graphicx} \usepackage[top=2cm, bottom=3cm,right=1cm, left=1cm, headsep=26pt]{geometry} \usepackage[T1]{fontenc} \usepackage{fancyhdr} \usepackage[table]{xcolor} \usepackage{sidecap} \usepackage{longtable} \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \begin{document}                          % End of preamble and beginning of  text. \arrayrulecolor{gray} \begin{center} \newcolumntype{M}[1]{&gt;{\arraybackslash}p{#1}}  \renewcommand{\arraystretch}{2.0}\begin{longtable}{M{5cm}|M{6cm}|M{6cm}} \hline \rowcolor{gray}    \textbf{ Col1} &amp;  \textbf{Col2} &amp;  \textbf{Col3} \\ \hline  \vspace{0pt} \large{ABC} &amp; \includegraphics[width=0.15\textheight, width=0.15\textwidth]{Europe_regions.png} \hspace{.1cm}    \includegraphics[width=0.15\textwidth]{male-female.png} &amp;  \vspace{0pt} XYZ.   \\ \hline    \end{longtable} \end{center} \end{document}             % End of document.     How can i top-align image and text?
26169
I want to arrage two figures in "side-by-side" (left-right). But the out put I got is like this (top-bottom):   My code is here.  \documentclass{article} \usepackage{graphicx} \usepackage{subcaption}  \begin{document}  This is sample latex code.  \begin{figure} \centering \begin{subfigure}{0.4\textwidth}   \includegraphics[width=0.4\linewidth]{linux.jpeg}   \caption{A subfigure}\label{fig1} \end{subfigure}  \begin{subfigure}{0.4\textwidth}   \includegraphics[width=0.4\linewidth]{latex.jpeg}   \caption{A subfigure}\label{fig2} \end{subfigure}  \end{figure}  \end{document}   Obviously, there is a large room to arrange the two figures left and right positions respectively. But latex does this space wasting arrangement. How can I fix it?  Note that I'm using TexLive 2018 installed on Mac.
108896
I want to align the axes in (a) and (b) which I've marked on the picture, like they do in (c) and (d)?      The main code is below：  \begin{figure}[!t] \centering \subfloat[]{\includegraphics[width=1.5in]{pre_coherent_a.eps}% \label{pre:a}} \hfil \subfloat[]{\includegraphics[width=1.5in]{pre_coherent_b.eps}% \label{pre:b}} \hfil \subfloat[]{\includegraphics[width=1.5in]{pre_coherent_c.eps}% \label{pre:c}} \hfil \subfloat[]{\includegraphics[width=1.5in]{pre_coherent_d.eps}% \label{pre:d}} \caption{Main processing stages of pre-coherent processing.} \vspace{-10 pt}  % adjust the vertical spacing \label{fig_sim1} \end{figure}
112192
If I want to print multiple figures in figure, I'm using subfigure in the figure environment. This work quit well and is looking smart, if all figures have the similar height. Now there is this figure which is more than two times higher than the other ones. I would like to order the subfigures like its shown in the following picture:     But I don’t know how to get this into Latex.   My regular code for four subfigures:  \begin{figure} \centering \begin{subfigure}{0.32\textwidth}    \centering    \includegraphics[width=\textwidth]{highone}    \caption{}    \label{fig:a} \end{subfigure} \begin{subfigure}{0.32\textwidth}     \centering     \includegraphics[width=\textwidth]{b}     \caption{}     \label{fig:b} \end{subfigure} \begin{subfigure}{0.32\textwidth}     \centering     \includegraphics[width=\textwidth]{c}     \caption{}     \label{c} \end{subfigure} \begin{subfigure}{0.32\textwidth}     \centering     \includegraphics[width=\textwidth]{d}     \caption{}     \label{fig:d} \end{subfigure} \caption{Blabla.} \label{fig:abcd} \end{figure}   Thank you for your help!
40956
I am new to LaTeX. I am not sure how to frame my question. But I will frame it so that it is understandable.  I would like to make a subfigure, but the caption must be   caption of subfigure a-1                caption of subfigure a-2      caption of subfigure b-1      caption of subfigure b-2                    `caption  of entire figure`   I  tried using subfigure, but I am getting continuously a,b,c,d, but i need to name them as as mentioned above (a-1, a-2, b-1, b-2).  In my situation, there are chances that the sub figures might be in different pages.
11082
I have the following code for a Figure with 4 subfigures:  \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption}  \begin{document}  \begin{figure}[b]     \centering     \begin{subfigure}[b]{\textwidth}         \includegraphics[width=\textwidth]{./plots/arm1.pdf}         \subcaption{$Q^{*}$ values for arm 1}         \label{fig:arm1}     \end{subfigure}     ~     \begin{subfigure}[b]{\textwidth}         \includegraphics[width=\textwidth]{./plots/arm2.pdf}         \subcaption{$Q^{*}$ values for arm 2}         \label{fig:arm2}     \end{subfigure}      ~     \begin{subfigure}[b]{\textwidth}         \includegraphics[width=\textwidth]{./plots/arm3.pdf}         \subcaption{$Q^{*}$ values for arm 3}         \label{fig:arm3}     \end{subfigure}      ~     \begin{subfigure}[b]{\textwidth}         \includegraphics[width=\textwidth]{./plots/arm4.pdf}         \subcaption{$Q^{*}$ values for arm 4}         \label{fig:arm4}     \end{subfigure}      \caption{$Q^{*}$ values for different arms}     \label{fig:arms} \end{figure}  \end{document}   This results in   But this way, the 4 subfigures are too large to fit on 1 page. I would like to split this over 2 pages, keeping the subcaptions a, b, ... How can I do this?
5628
I want to delete (a) and (b) from the subfigure and put the only one (a) in the middle of the subfigure like this. could anyone help me? thank you I want something like this:
55379
I want to use subfigures to place three figures like this:    The following is the code I used:  \begin{figure} \begin{tabular}{|c|c|} \hline \multirow{2}{*}{         \begin{subfigure}[h]{0.3\textwidth}                 \centering                 \includegraphics{Fig2}                 \caption{Argumentation Framework $I$}                 \label{fig:afexampleI}         \end{subfigure}                }         &amp;          \begin{subfigure}[h]{0.6\textwidth}              \centering              \includegraphics{Fig3}              \caption{Argumentation Framework $III$}              \label{fig:afexampleIII}          \end{subfigure} \\         &amp;          \begin{subfigure}[h]{0.6\textwidth}              \centering              \includegraphics{Fig4}              \caption{Argumentation Framework $II$}              \label{fig:afexampleII}          \end{subfigure} \\ \hline \end{tabular} \caption{Argumentation Frameworks}\label{fig:afexample} \end{figure}   However, this is the result:    P.S. I used \hline in order to better illustrate the figures, otherwise there should be no borders for the tabular environment used.
3734
I seem to have screwed up something that allows you to inset evenly, I think I have tried every combination of settings in inset and pivot center and even is far from even.  I tried uninstalling and re installing blender 2.71 and get the same result.  The image attached is a simple default cube that I tried to inset evenly.  I have also attached the blend file link  help??
20903
I have 6 images, and I want to align them in this way  (a)image1 (c)image3 (e)image5  (b)image2 (d)image4 (f)image6  Any one know how to do that?  The problem for me is how to make (a), (b),..., (f) in vertical direction.
116167
I'm trying to set up a table with some equations in it, however I would like the equations on multiple rows to be aligned properly. So far I have  \begin{tabular}{cc} \hline \multicolumn{1}{l}{Header 1} \\ \hline $a = \sum_j b(c)$ &amp; $c = d$ \\ \hline \multicolumn{1}{l}{Header 2} \\ \hline $\begin{aligned}          e&amp;=fghij(y) \\          klm(x)&amp;=nop         \end{aligned}$ &amp;        $\begin{aligned}         qr&amp;=vwxyzstu \\         abcde&amp;=fghij         \end{aligned}$ \end{tabular}   which looks like    Note how the equals signs in the top row are not aligned with the corresponding equals signs in the bottom two rows.   So my question is; is there a way to align across different rows or am I going about this completely the wrong way?