Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
928 views

! LaTeX Error: \caption outside float

I am just getting started with LateX, but i got an due date tomorrow. When i compile my LateX file i get this error: ! LaTeX Error: \caption outside float. You can find my code below. \begin{...
Phil's user avatar
  • 13
1 vote
1 answer
900 views

Caption of tikzpicture and modify vertical space

Caption of tikzpicture placed in wrong postion (see image) My code is: \documentclass[8pt]{article} \usepackage{caption} \usepackage{pgfplots} \usepackage{translator, tikz, array} \usepackage{...
latexforti's user avatar
  • 2,133
2 votes
2 answers
4k views

Does captionsetup command works for subcaption?

I am trying to place three subfigures side by side using the minipage environment. The problem is that I cannot control the width of subcaption inside the minipage environment. I tried both ...
user3813057's user avatar
2 votes
2 answers
301 views

How to use \tikz\pic in \caption and "normal" Latex-text-environment

As an advancement to How to use a \pic in a node's text area {}?. What to do or avoid to let work the pic "lightning" in a caption and normal latex text? \documentclass[]{scrartcl} \usepackage[...
gizeh's user avatar
  • 491
1 vote
1 answer
653 views

Caption in a tikzpicture drawing

I have this LaTeX: The \caption line at the end breaks the compilation. How could I make this work? Thanks \begin{center} \begin{tikzpicture}[scale=0.2] \tikzstyle{every node}+=[inner sep=0pt] \...
johni's user avatar
  • 123