
I have a figure and a big caption for the figure, so if I use the classical \caption argument inside the figure the caption falls outside the page and it's lost.
I've been searching for ways to split the caption so it can continue in the next page. I came across with the package capt-of and its function \captionof{}. I place this function outside the figure environment and it works smoothly, the caption now continues in the next page, great!
Now my problem is that I want to format the caption using \captionsetup, and when I use \captionsetup from the package \caption the function \captionof doesn't work as previously, now the caption is not broken, it jumps completely to the next page, leaving the figure alone...
Is there any way to make it work \captionof (making the caption continue in the next page) together with \captionsetup to format the caption?
Thank you so much in advance!
EDIT:
've made public the Overleaf project (https://www.overleaf.com/project/665051 ... b6c4440fec) where I'm making different attempts to make it work, in Example1.tex I use \capt-of and it works, but in Example2.tex I load \caption and the caption jumps to the next page.