TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to make a list of figures where there is reference to some pictures I've included in my document. I've been using

\addcontentsline{lof}{subsection}{\arabic{slike}.\hspace{5mm}\hyperref[sl:1]{Picture 1.}}

but it's just not working. I must say that my pictures are not included inside a figure environment, I've included them inside a minipage.

What should I do ?

share|improve this question

closed as too localized by yo', bloodworks, Martin Schröder, Joseph Wright Jan 5 '13 at 22:01

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Does this help: \addtocontents{lof}{\arabic{slike}.\hspace{5mm}\hyperref[sl:1]{Picture 1.}} – mythealias Dec 8 '12 at 23:01
hmm.. no :S I need to do this for homework, I need to duplicate this file: sites.google.com/a/ictlab.com.ba/tptp2012/zadace/zadaca4/… 2nd and 3rd page, and I'm stuck on the "Popis slika" ,that'd be list of figures in english.. I can't create list of figures :S – Emir Dec 8 '12 at 23:13
Can you please show us in a complete compilable minimal working example (MWE) to show us which document class you use and how you include one figure in your document ... – Kurt Dec 8 '12 at 23:35
2shared.com/file/Vim_LW2i/V_18_IC_12.html here is a tex file that I've been working on. – Emir Dec 8 '12 at 23:56

You do not need a figure environment to get a figure caption, that is placed in the List of figures. The caption package provides the command \captionof{<float type>}{<caption text>} that lets you place captions outside figure environments, for example

\captionof{figure}{A caption}

enter image description here


\vspace{1cm} % just for this example
\captionof{figure}{A figure caption, not in the \texttt{figure}-environment.}
share|improve this answer

The "tables of floats" lists list floats. Either you use the figure environment or define your own floats, e.g. by using the float package. Exactly how to set up the tables depends on the document class.

share|improve this answer
but I can't use figure environment because I got this for my homework and I need to do it with minipage :S – Emir Dec 8 '12 at 23:15

Not the answer you're looking for? Browse other questions tagged or ask your own question.