I want my list of figures and tables divided according to chapters like this:
Figure 1.1..............
Figure 1.2..............
Figure 1.3..............
Figure 2.1..............
Figure 2.2..............
Figure 2.3..............
instead of
Figure 1.1..............
Figure 1.2..............
Figure 1.3..............
Figure 2.1..............
Figure 2.2..............
Figure 2.3..............
I am using the abntex2 class derived of memoir class. I tried to use some tips from other forums, like etoolbox, but they did not work.

memoiris to seperate the figures/tables by chapter as you want. It does not, though, put Figure before the number. Please show us what you have done. – Peter Wilson Feb 16 '17 at 18:35in the definition of
– John Kormylo Feb 17 '17 at 17:46\chapterto add the spaces.memoirbut in the form of a macro\insertchapterspacewhich combines the two pieces of code you mention. If there are other lists, then a simple extension to\insertchapterspacecan handle spaces in those lists without having to fiddle with the internals of\chapter. – Peter Wilson Feb 17 '17 at 19:34\cftKname{SOMETHING }macro which lets you put SOMETHING before the K number in the listof, where K is anything frombookthroughfigureandsubtable. – Peter Wilson Feb 18 '17 at 19:19\addtocontents{lof}{\protect\addvspace{10pt}}and\addtocontents{lot}{\protect\addvspace{10pt}}after\chapter. In the class style, I don't find the definition @chapter. – Lara Feb 19 '17 at 06:55