Template can be found here: https://www.latextemplates.com/template/masters-doctoral-thesis





        \caption[Execution time]{Execution time}
        \label{fig:Execution time}


it gives me an output like this enter image description here

How i can change from FIGURE 4.5 to Figure 4.5 in small letters rather than caps

  • 4
    I think it depends on the documentclass and the packages you use... So please give a minimum working example starting from the documentclass command and ending in \end{document}... Welcome!
    – koleygr
    Jul 20, 2017 at 16:19
  • Well this is actually for my thesis and i am using this template from latextemplates.com latextemplates.com/template/masters-doctoral-thesis
    – Sunny
    Jul 20, 2017 at 20:27
  • Please accept the answer if your problem is solved. Jul 20, 2017 at 22:03

1 Answer 1

  • Look for the file MastersDoctoralThesis.cls.
  • Open it in a text editor of your choice. I recommend notepad++.
  • Lines 202-203 are important.
  • Delete labelfont=sc (sc = Small Caps, google it!) or replace it with labelfont=bf for example.
  • Have a look at the caption manual for further information.
  • Recommended: As you can read in the comments, alternatively, you can just use \captionsetup{labelfont=bf} before \begin{document}.

\RequirePackage{caption} % Required for customising the captions

enter image description here

enter image description here

enter image description here (using option labelfont=bf)

  • 1
    Eh... usually editing .cls files is not recommended, unless it is a really bad class (which will be improved by editing, most likely ;-))
    – user31729
    Jul 20, 2017 at 21:41
  • 1
    \captionsetup{labelfont=bf} before \begin{document} in the document is enough, without editing the .cls file
    – user31729
    Jul 20, 2017 at 21:48
  • I edited the answer accordingly. Since the cls file is not part of a distribution like MiKTeX I did not think that is a "big deal". Jul 20, 2017 at 22:03
  • 1
    It's one of those template classes with issues. Ask @Johannes_B for more information ;-)
    – user31729
    Jul 20, 2017 at 22:04
  • 1
    Making a change in the preamble should be the only answer shown. Changing the class file is just wrong, imho. See the class file itself. Also, it makes support so so so very much harder.
    – Johannes_B
    Mar 9, 2018 at 7:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .