Search found 5 matches

by bidski
Tue Oct 12, 2021 12:32 am
Forum: Graphics, Figures & Tables
Topic: Caption inside of tikz node
Replies: 3
Views: 6917

Caption inside of tikz node

While the posted solution does put the caption inside of a tikz node, doing this will not increment the figure counter correctly and will also do bad things with the list of figures.
by bidski
Mon Oct 04, 2021 2:10 am
Forum: Graphics, Figures & Tables
Topic: Figure counter not incrementing with \input
Replies: 2
Views: 2959

Figure counter not incrementing with \input

Stefan Kottwitz wrote: You could move \caption below \end{tikzpicture} at least to verify that this may be the reason.
This was actually the issue. Is there any way other way to get this to work? Is it possible to do something like \footnotemark and \footnotetext with a caption?
by bidski
Thu Sep 30, 2021 3:20 am
Forum: Graphics, Figures & Tables
Topic: Figure counter not incrementing with \input
Replies: 2
Views: 2959

Figure counter not incrementing with \input

I have the following

\begin{figure}
\input{figure1.tex}
\end{figure}
\begin{figure}
\input{figure2.tex}
\end{figure}


Inside of both figure1.tex and figure2.tex i have

\begin{tikzpicture}
%%% .... tikz code ....
\node [options] at (position) {
\parbox{\linewidth}{
\captionsetup{font ...
by bidski
Fri Sep 24, 2021 3:25 am
Forum: Graphics, Figures & Tables
Topic: Caption inside of tikz node
Replies: 3
Views: 6917

Caption inside of tikz node

After some more extensive googling I finally managed to find an answer! The following code snippet achieves the effect that I am looking for.

Code: Select all

\node [options] at (position) {
    \parbox{\linewidth}{
        \caption{\label{demo}Figure caption}
}};
by bidski
Fri Sep 24, 2021 2:09 am
Forum: Graphics, Figures & Tables
Topic: Caption inside of tikz node
Replies: 3
Views: 6917

Caption inside of tikz node

I have a large tikzpicture inside of a figure environment. The tikzpicture takes up an entire page apart from a small blank section in the bottom right corner. I have attached an image showing the layout I am trying to achieve

The caption is going to be quite lengthy and scaling the image content ...