latex icon indicating copy to clipboard operation
latex copied to clipboard

Changed settings for `captionStyleTemplateDefault` take no effect?

Open Niklas-Peter opened this issue 9 years ago • 3 comments

If I change the settings for captionStyleTemplateDefault in https://github.com/pospiech/latex/blob/master/latexthesistemplate/template/preamble/style-caption.tex#L3 I can not see any difference in the result.

For testing I downloaded your template again and only changed set skip = 3cm. Then I compiled the LaTeXTemplate.tex and on page 9 in the resulting PDF the spacing of the images' captions is still as before. However for subfigures it works if you edit the options in https://github.com/pospiech/latex/blob/master/latexthesistemplate/template/preamble/style-caption.tex#L89 and below.

Niklas-Peter avatar Nov 26 '16 17:11 Niklas-Peter

This is correct. Please take a look at the caption manual. In section 2.6 it says that the skip option is overwritten by many other packages. All of those are used in the template.

That means that I can only classify this as a know bug with no fix.

Matthias

pospiech avatar Nov 26 '16 21:11 pospiech

Thanks.

Is there a quick hack for me to overwrite the setting, e.g. by inserting code directly before begin{document} or so? I tried setting abovecaptionskip without success.

Niklas-Peter avatar Nov 26 '16 21:11 Niklas-Peter

Sorry, I do not have enough knowledge about the internals of this. I recommend to create a short demo (without my template) and post this as a question on tex.stackexchange.com.

pospiech avatar Nov 26 '16 21:11 pospiech