How to add space before figure titles in list of figures ?
I'm using LyX Version 2.3.0
Adding the following code to the preamble yields the following error
\usepackage{tocloft}
\setlength{\cftfignumwidth}{4em}
For future reference: these two lines of code must be added at the very top of the preamble otherwise, the previous error might appear.


tocloft, so it's possible thattocloftis not the best solution. What did you have there? – Torbjørn T. May 28 '18 at 10:21\usepackage{tocloft} \setlength{\cftfignumwidth}{4em} \usepackage[caption=false,font=footnotesize]{subfig} \usepackage[]{algorithm2e} \usepackage{amsfonts} \usepackage[format=hang,font=small,labelfont=bf]{caption} \usepackage{arabtex} \usepackage{utf8} \usepackage[dvipsnames]{xcolor} \definecolor{RoyalBlue}{cmyk}{1, 0.50, 0, 0} \usepackage{tikz}– Stoufa May 29 '18 at 22:50subfig. Use\usepackage[subfigure]{tocloft}instead of\usepackage{tocloft}.tocloftwill then take extra steps to not conflict with thesubfigureandsubfigpackages. (Similar to https://tex.stackexchange.com/questions/336617/.) – Torbjørn T. May 30 '18 at 08:23\usepackage[subfigure]{tocloft}, the spacing works even if I add it at the end of the preamble, thanks. – Stoufa May 30 '18 at 09:57