I am finishing my course conclusion work writing using LaTeX, and insert the images I used standard codes, such as  \begin{figure}[!h] \centering \includegraphics[width=13cm]{lixeoutroa} \caption{.....} \label{li(x)exlnx} \end{figure}   This compiling correctly, this all normal, but I do not know how do I put the references in the figure below the figure of the name, I wanted it to be placed (very close) the references of the figure or table without appearing in the list of figure later.  Sorry for writing, do not speak English, I use the translator. It is also the first time I have any questions TeX here, always use questions in mathematics, then also excuse the way of writing.
123682
How can I add a source to a figure? I need to add \ref, \cite or just free text. Something like that: \begin{figure} [ht]   \centering   \includegraphics[width=0.95\textwidth]{res/figure.pdf}     \caption{Caption}     \source{\ref{},\cite{} or free Text}   \label{fig:gliederung} \end{figure}  Should give me:  The source shouldn't appear in \listoffigures.
41095
How do I create something like this without getting any errors?  \begin{thm}[\cite[page 10]{ABC2011}] ... \end{thm}   I tried putting various things into {...} brackets, but not eliminating any errors. I probably have misunderstood something about how LaTeX works in the background and the AMS packet:  \usepackage[amsmath,thmmarks]{ntheorem}
28659
I have a problem when trying to add the word "Figure" before the actual number in the list of figures. I guess it will be the same for all languages, since the langauge setting will make it in my language automatically. But what I have so far is only the number like the upper line, and it should be like the second line (which was poorly made with paint, just in case you wonder).    Here is the code I am using for figures so far:  \begin{figure}[ht] \centering \includegraphics[width=1.0\textwidth]{imageName.png} \caption[CaptionText]{CaptionText\footnotemark.} \end{figure} \footnotetext{CaptionTextn. Available under \url{www.nowhere.com}, seen on Date.}
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.
69789
I am sorry if my question is too silly, I am totally new to LaTeX.   I have just downloaded TeXstudio 2 days ago and am trying to include some figures/images in the document. I found out about the \includegraphics command but cannot understand how it works at all. Every guide I have found jump to something like   \usepackage{graphicx} \includegraphics[width=0.5\textwidth]{bird1}   and I don't have a clue how I am supposed to use the command except that I need to use the package graphicx.  Where do I have to put my images so that TeXstudio can find it? Let's say I have an image called cat.png located at C:\Users\ASUS\Desktop\PICS, do I just type \includegraphics{cat} and TeXstudio is going to magically find it?
112330
I'm wondering how to give subnumberings like "2a" and "2b" for separate floats.  I know both the subfigure and subcaption packages do the subnumbering but they demand the subfigures be in a single figure environment.  For example, I'd be happy if I could find an environment subfigures like this:  \begin{subfigures} \begin{figure}   A figure comes here.   \caption{\label{first}Caption text.} %--&gt; Fig.1a \end{figure} \begin{figure}   Another figure.   \caption{\label{second}Caption text.} %--&gt; Fig.1b \end{figure} \end{subfigures}   It's basically the same as AMS LaTeX's subequations environment.  The reason why I want to do this is that I can't decide how I should group my figures until much later in my writing process.  If I had an environment like the above, all I would have to do is to cut&amp;paste figure environments or delete or add subfigures environments in order to reorganize my figures.  Since what I want is very similar to the subequations environment, I guess I can make my own subfigures environment after enough hacking, but I'm not much versed in TeX coding and am wondering if there is already a solution available.  Thanks for your help.  Ryo  Edit: Thank you all for your responses.  Mico asks: &lsquo;Should the individual figure environments within a (still to be designed) subfigures environment be allowed to "float" and possibly end up on different pages . . . ?&rsquo; &mdash; Yes.  I just want separate floats to be numbered in the way I want and that's all.  Of course, if there be an option that controls the placement of the grouped figures, that would be a nice addition.
8010
I am writing a journal which has two column. I am using {figure} as well as {figure*} to place the figures in one column as well as stretch across two columns.   My problem is the order of the figures are not correct. e.g. their order of appearance is:                  Figure 1.                 Figure 2.                 Figure 5.                 Figure 3.                 Figure 4.   What should I do to make them appear in order?
119334
I have an article with the following figure (there are 2 small charts near each other, horizontally):  \begin{figure}[h]   \centering   \includegraphics{left-graph}   \includegraphics{right-graph}   \caption{My caption}\label{mylabel} \end{figure}   I reference the figure with:  Figure~\ref{fig:result} shows bla-bla-bla.   The rendered PDF shows ?? instead of the figure number. I tried with the reference occurring both before and after the figure (in the LaTeX source), but it didn't make a difference.  The relevant packages I'm using are below (those removed are for titling).  \usepackage[english]{babel} \usepackage{graphicx} \usepackage[letterpaper]{geometry} \geometry{top=1.0in, bottom=1.0in, left=1.5in, right=1.0in} \usepackage{flafter} % make sure figures do not appear before their text \usepackage{sidecap} % use side captions for floats \usepackage{subfig} % subfloats   I'm not sure what's wrong here, advice is appreciated. I'm using MiKTeX 2.8.  Thank you!
103726
Is possible to surround a cross-reference with brackets or parentheses? For example when I write a command like some text \ref{some label} then when compiled the output was some text (12) without manually placing parentheses in latex  command, like some text (\ref{some label}).
40328
One of my sections seems to be using the section number rather than the appropriate figure number for \ref's that point to figures. (Theorems and the like work fine.) As far as I can tell, there's nothing differentiating the problematic section from the other sections, but there must be as the problem doesn't go away when I compile that section on its own. Any ideas?  Edit: an example of a broken figure. (Every figure in the section is broken.)  \begin{example}   Figure~\ref{fig: hasse} depicts ... \begin{figure}[htbp]\label{fig: hasse} \begin{center} \begin{tikzpicture}     \tikzstyle{every node}=[draw,circle,fill=black,minimum size=4pt,                             inner sep=0pt]     [bunch of lines for the picture]     \end{tikzpicture} \caption{Hasse diagram} \end{center} \end{figure} \end{example}   This particular instance had the figure inside the example, but that doesn't make a difference.
9972
I have a problem when a lot of figures are in question. Some figures tend to "fly around", that is, be a paragraph below, although I placed them before that paragraph. I use code:  \begin{figure}[ht] \begin{center} \advance\leftskip-3cm \advance\rightskip-3cm \includegraphics[keepaspectratio=true,scale=0.6]{slike/visina8} \caption{} \label{visina8} \end{center}\end{figure}   to place my figures. How can I tell latex I REALLY want the figure in that specific place, no matter how much whitespace will be left?
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.
109735
I want to put three figures inside a multi-figure with a single caption. If you imagine a 2x2 table, I want to place the three figures in three of the table cells, and the caption in the remaining cell.   Each subfigure should have its own label, and small captions (like (a), (b), and (c), to number the figures inside the panel). Then inside the caption for the whole figure, I want to reference the subfigures, but without using the figure number (that is, just (a) instead of Fig.3(a)), but outside the panel, I'll reference the subfigures as Fig.3(a), etc.  For example,  \begin{figure} \centering     \begin{subfigure}{.4\textwidth}         \centering         \includegraphics[width=\linewidth]{fig_a.pdf}         \caption{}\label{fig:fig_a}     \end{subfigure} %     \begin{subfigure}{.4\textwidth}         \centering         \includegraphics[width=\linewidth]{fig_b.pdf}         \caption{}\label{fig:fig_b}     \end{subfigure} %     \begin{subfigure}{\textwidth}         \centering         \includegraphics[width=\linewidth]{fig_c.pdf}         \caption{}\label{fig:fig_c}     \end{subfigure} \caption{Some general caption of all the figures. In (\subref{fig:fig_a}) you can see a green square....} \end{figure}   But this puts two figures ((a) and (b)) side by side on the first row, then (c) alone on the second row, and the caption appears below. The second row has much space unused. The following is a picture of what I expect to get:    How can I do this?
23553
Is it possible to make a reference to the page where a figure is rendered?  I would like to write something like   see figure~\ref{figure-xyz} on page NN   where NN will automatically be maintained by LaTeX. The figure that prompted my question is almost a page so it may be floated further in the doc.   I suppose it's possible, after all the figure-to-page mapping is generated by \listoffigures.
20634
Is it possible to make a 3 by three grid of plots in a latex figure and then label only the columns and rows, rather than needing captions for each? So for example, I'd like columns to be labelled A, B and C and the rows 1, 2, and 3. I'd then be able to reference square (2, B) as the middle square.   I'm using a figure environment with 9 subfigure environments  \begin{figure*}[t]     \begin{subfigure}{0.3\textwidth}         \includegraphics[width=\linewidth]{/path/to/img1}     \end{subfigure}%     \begin{subfigure}{0.3\textwidth}         \includegraphics[width=\linewidth]{/path/to/img2}     \end{subfigure}%     \begin{subfigure}{0.3\textwidth}         \includegraphics[width=\linewidth]{/path/to/img3}     \end{subfigure}      \begin{subfigure}{0.3\textwidth}     \includegraphics[width=\linewidth]{/path/to/img4} \end{subfigure}% \begin{subfigure}{0.3\textwidth}     \includegraphics[width=\linewidth]{/path/to/img5} \end{subfigure}% \begin{subfigure}{0.3\textwidth}     \includegraphics[width=\linewidth]{/path/to/img6} \end{subfigure}      \begin{subfigure}{0.3\textwidth}     \includegraphics[width=\linewidth]{/path/to/img7}     \caption{Smad7 reproduced} \end{subfigure}% \begin{subfigure}{0.3\textwidth}     \includegraphics[width=\linewidth]{/path/to/img8} \end{subfigure}% \begin{subfigure}{0.3\textwidth}     \includegraphics[width=\linewidth]{/path/to/img9} \end{subfigure}       \caption{} \end{figure*}
6110
Say I have a figure with two subfloats inserted using the subfig package.  When I reference them with \ref{myLabel} I get this     Figure 3.5a and 3.5b.     But what I want is this:     Figure 3.5(a) and 3.5(b).   How can I add the parentheses?
41478
For example, when I use the command (in Overleaf/ShareLaTex):  \begin{figure}[H]     \centering     \includegraphics{some_graphic}     \caption{some_caption}     \label{fig:some_label} \end{figure}   the \includegraphics{} comes without the [] parameter to change the size of the image, and \begin{figure} without the [H] option by default.   Is it possible to renew the command to make it default? By that I mean that when I type the \begin{figure} command it adds the [H] and [h] as well as [width=\textwidth] in the \includegraphics command, rather than making a global change in the preamble e.g.