cleanthesis
cleanthesis copied to clipboard
Multiple Images using Subfigure caption
Hello,
Thanks a lot for this beautiful template. I am trying to include multiple images using subfigure package but I am getting this error:
! LaTeX Error: Command \c@lofdepth already defined.Or name \end... illegal, see p.192 of the manual.See the LaTeX manual or LaTeX Companion for explanation.Type H
I am compiling on TexMaker full version in Ubuntu. I will be very grateful if you could help me resolve this.
Thanking you in advance.
Package subfigure
is deprecated for a decade, use package subcaption
.
Hi,
Okay, I didn't know about that.
I tried with just subcaption package but it is again showing this error.
! Package caption Error: bf undefined.See the caption package documentation for explanation.Type H
I cannot reproduce that. Please provide a minimal working example.
Package cleanthesis
loads package fancyhdr
to setup header and footer. It should not.
Add enabledeprecatedfontcommands
to the optionlist when loading the class file.
But that's what is mentioned in the cleanthesis.sty to load fancyheader.
Also, I am sorry but I didn't understand where to include this in the class file. If you could pin-point then it will be really helpful.
On Thu, Jun 2, 2016 at 10:10 PM, Johannes Böttcher <[email protected]
wrote:
Package cleanthesis loads package fancyhdr to setup header and footer. It should not.
Add enabledeprecatedfontcommands to the optionlist when loading the class file.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/derric/cleanthesis/issues/61#issuecomment-223349570, or mute the thread https://github.com/notifications/unsubscribe/ABnDMcGvBRacRrJNLoQrSpJNXWURhM3oks5qHweagaJpZM4IsRFG .
Ankur Agrawal Master's Student Engineering Physics IIT Bombay http://home.iitb.ac.in/~ankur92/ http://home.iitb.ac.in/~ankur92/
\documentclass[optiona,optionb,enabledeprecatedfontcommands]{scrreprt}
Also, please add package subcaption
after \usepackage{caption}
.
Hey thanks a lot. I had included caption package also and it's working fine when I removed it.
On Thu, Jun 2, 2016 at 10:41 PM, Johannes Böttcher <[email protected]
wrote:
\documentclass[optiona,optionb,enabledeprecatedfontcommands]{scrreprt}
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/derric/cleanthesis/issues/61#issuecomment-223357840, or mute the thread https://github.com/notifications/unsubscribe/ABnDMeBN1YeI8Al8RToWp8BebPch29drks5qHw6ugaJpZM4IsRFG .
Ankur Agrawal Master's Student Engineering Physics IIT Bombay http://home.iitb.ac.in/~ankur92/ http://home.iitb.ac.in/~ankur92/
I didn't read the message carefully, it is not the fault of fancyhdr
(not in your case however ;-)), but the loading order. In your case, package caption
isn't needed at all. As you have already found out.
Hi,
I am facing one more problem with the cleanthesis template. When I render the report in Ubuntu, I don't see the Section numbering whereas in Mac, it shows. Any fix?
Thanking you in advance.
On Thu, Jun 2, 2016 at 10:48 PM, Johannes Böttcher <[email protected]
wrote:
I didn't read the message carefully, it is not the fault of fancyhdr (not in your case however ;-)), but the loading order. In your case, package caption isn't needed at all. As you have already found out.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/derric/cleanthesis/issues/61#issuecomment-223359962, or mute the thread https://github.com/notifications/unsubscribe/ABnDMUPZqBweuX5QqOqFOH4kwlQBFQNtks5qHxBogaJpZM4IsRFG .
Ankur Agrawal Master's Student Engineering Physics IIT Bombay http://home.iitb.ac.in/~ankur92/ http://home.iitb.ac.in/~ankur92/
Please don't mix different issues together, it leads to confusion.
Have a look at https://github.com/derric/cleanthesis/issues/57