0
votes
0answers
52 views

tikz/gnuplot legend inside the caption

I want to add my legend inside the caption, similarly the one given in this question. But I want to use gnuplot environment as in the following MWE. Unfortunately, I am getting '??' because ...
0
votes
1answer
117 views

Overlay subfigure caption with TikZ

I'm trying to place my figure captions on top of the figures. I've found some code that does this and I can get it to work for a normal figure - e.g. I can overlay "Figure 1" on top of the figure. ...
15
votes
2answers
1k views

Placing TikZ drawings in a minipage side by side

I've some problems with aligning some drawings I made with TikZ: I want these two TikZ pictured below to be displayed side by side with the two captions being on the same horizontal level. ...
3
votes
2answers
164 views

Captions for Tikz drawings

I have a question concerning captions for Tikz drawings. Below, you see the source code for a binary tree I've drawn with Tikz. I want to place a caption beneath it but unfortunately, the caption does ...
3
votes
1answer
93 views

Floats in ConTeXt: changing caption name and making the \input command work

I have defined a new float for logic circuits called logigram: \definefloat [logigram] [logigrams] Taking advantage of the modes of ConTeXt (i.e. conditional processing), I am making in parallel a ...
3
votes
1answer
344 views

How to annotate figures with TikZ without affecting the float position? a template for western blots

I want to do some kind of figures, typical of Western blotting in biology. The figures are enclosed with a frame using mdframed package. A MWE example is shown below. In the middle of creating this ...
0
votes
0answers
59 views

Tikzpicture & caption [duplicate]

Using just the {tikzpicture} environment I can place the flowchart right between two portions of text like this: \documentclass{article} \usepackage{float} ...
13
votes
2answers
526 views

How to draw 3 figures and have them side by side while they're connected

I would like to have 3 figures side by side, as in one of my previous posts. However, this time isn't the same. I would like to link my figures as below: My problem is not only how to put my ...
2
votes
3answers
204 views

wrapfigure inside a tikzpicture

I am trying to place a figure environment inside a tikzpicture as: \begin{tikzpicture} \node [mybox] (box){% \begin{minipage}{0.45\textwidth} % \LHead{ ...
3
votes
1answer
226 views

Bounding box of pictures used in TikZ/PGF

I am creating TikZ pictures using some external images in the following manner: \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}[htb] \centering\small ...
2
votes
2answers
153 views

Align Captions of 2 figures

I managed to get my two Tikz figures side by side. The vertical alignment of the Tikz figures is fine and needs to stay that way. However, I am bothered by the captions and I'd like both of them to be ...
3
votes
1answer
186 views

using TikZ with multipage table

I am using tikz files to insert figures . I would like to add 3 figures one after the other with the same figure caption: I use this code: the problem is that the last figure is at the bottom of the ...
1
vote
1answer
173 views

TikZ node causing problems inside a \caption [duplicate]

Following an example offered here, I want to insert colored, circled numbers referring to items in a figure (figure details left as an exercise to the reader) into my text. The numbers are defined ...
2
votes
1answer
202 views

Adding tikz figure in caption

I am writing one long document using lyx. I wanted to add small tikz code within a caption of a figure of my document. However when I tried to run it it is giving following error. Please help me ...
5
votes
1answer
251 views

Drawing a grid on each image inside the array of images

Please see what I have written,when I need individual grid on each of picture inside my figure-array. In contrast to previews question Drawing a grid on array of images. Question now is why I can't ...
10
votes
3answers
648 views

TikZ: How to center captions below figures in matrix

I have three figures that I want to align in a matrix. Each figure is drawn in a different way and needs a caption that is centered below the corresponding figure. Here is what I currently have: ...
4
votes
2answers
275 views

Table of 2x2 tikzpictures

I'm attempting to condense 4 tikzpictures into a smaller space in my document. The solution I have is as follows: \documentclass{article} \usepackage[paperwidth=6in, paperheight=4in]{geometry} ...
3
votes
0answers
169 views

How to vertically align the captions for sub figures in subfigure? [duplicate]

This is my tikz code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,shapes.geometric,arrows,fit,calc,positioning,automata,} \usepackage{amsmath} \usepackage{caption} ...
6
votes
1answer
195 views

TikZ's extended line penetrates the figure caption

Here is an example: \documentclass{article} \usepackage{tikz} \begin{document} \begin{figure}\centering \begin{tikzpicture}[extended line/.style={shorten >=-#1,shorten <=-#1}] \draw [very ...
2
votes
2answers
198 views

caption in a tikz object

I created markov's chain using tikz package. Now I would add to to it caption and label but I got error.How can I add a caption and a label to a tikz object?
20
votes
1answer
2k views

Using TikZ inside a figure caption

I have a PNG plot with a couple of black patches in it, and I'd like to refer to it in the \caption of of the figure. According to the TikZ manual, I'd have to \tikz \fill[black] (1ex,1ex) circle ...
9
votes
2answers
775 views

Wrap Caption Around TikZ Figure

I have a TikZ figure that appears as follows. The figure also has a caption. I'd like the caption to fill up that blank space in the bottom-right and bleed over into the space it current occupies. ...
4
votes
1answer
1k views

Adding space between subfigures of tikzpicture (for caption)

I'm trying to draw two figures next to each others using tikzpicture. It's working fine, but the caption of the sub-figures is looking weird. I tried adding the \qquad's, but I'm still having the ...
12
votes
1answer
944 views

putting a tikzpicture inside a \caption{}

I'm attempting to put a small tikzpicture inside a \caption{} belonging to a figure environment. The reason for doing this is fairly simple - to create an in-caption legend for a PGFplot, with ...
22
votes
2answers
20k views

How to add caption for a TikZ picture?

I'm drawing a automaton figure, and I want to name it says 'M1' below the figure? A minimal example would be greatly appreciated. Thank you. \begin{tikzpicture}[shorten >=1pt,node distance=2cm,on ...
8
votes
2answers
9k views

Missing number, treated as zero

A follow-up question to this one Aligning subcaptions with tikz pictures vertically This is the code I am using, worked to a pretty minimal scenario: \documentclass{article} \usepackage{float, ...
4
votes
1answer
847 views

set a caption and label in a tikz timingtable environment

Is it possible to set a caption and label within a tikz timing table? Or do I have to do that somehow within a tikzpicture? Here the codefragment: \begin{minipage}{0.5\textwidth} ...
4
votes
1answer
784 views

Subcaptions for TikZ pictures

I'd like to put (sub)captions under the diagrams on the right hand side of the equation in the following code. For example, I'd like to label them (a) through (e). Thanks in advance for any help! ...
6
votes
1answer
7k views

How to Label and Caption a Tikzpicture inside a tabular environment

What is the correct way to label and captionize a tkizpicture inside a tabular environment? (Since figures are not allowed inside a tabular) Excerpt from my .tex: \begin{tabular}{l r} & ...
4
votes
1answer
596 views

Very plain captions that can be placed in TikZ nodes?

I would like to define a very plain caption format that simply typesets the caption label and text as if it were normal inline text. Of course I would like to keep the the functionality of \caption ...
13
votes
2answers
14k views

What is the correct way to caption a `tikzpicture`?

I have some trees drawn with tikz and I'd like to have some text associated with them. I can use \caption within figure, but not tikzpicture. UPDATE: Thanks for your advice. figure seems to put my ...