The package caption
provides different styles via option. To set one of the predefined styles use format=
.
Here an example
\documentclass{scrartcl}
\usepackage[bf]{caption}
\def\exampletext{Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida
mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a,
magna.
}
\begin{document}
\begin{figure}[!ht]
\centering
\rule{7cm}{1cm}
\caption{\exampletext}
\end{figure}
\begin{figure}[!ht]
\captionsetup{format=plain}
\centering
\rule{7cm}{1cm}
\caption{\exampletext}
\end{figure}
\begin{figure}[!ht]
\captionsetup{format=hang}
\centering
\rule{7cm}{1cm}
\caption{\exampletext}
\end{figure}
\end{document}
The link to the class package you are using is http://www.csun.edu/~mathgs/LaTex.html, The class in the given link is now named CSUNthesis.cls
. Your document will not compile with the code that you provided. You are required to supply the following information in your preamble since, according to the documentation, these are required.
\author{<author–name>}
\committee {<chair member>}{<2nd member>}{<3rd member>}
\title{<title of work>}
\coordinator{<coordinator–name>}
\submitted {<month>}{<year>}
\abstract{<abstract material>}
According to the given link, the CSUNthesis.cls
"automatically produces a document which adheres to campus guidelines."
so, IMHO, it is best that you follow the documentation provided with the class file.
By the way, there is an optional \dedication{<>}
command that you can use to typeset your dedication.
The code below does just fine and I see no boldfaced letters in the Table of Contents.
\documentclass[12pt]{CSUNthesis}
\author{Sam}
\committee{Jose}{Pepito}{Juan}
\title{Title}
\coordinator{The Coordinator}
\submitted{December}{2012}
\abstract{This is the abstract material and nothing more.}
\dedication{Dedication goes here.}
\begin{document}
\end{document}
If you got your csun.cls
modified, perhaps you can provide a link to the modified class file.
Best Answer
As egreg pointed out in his comment, since you are already loading the
caption
package, you don't need to redefine\caption
; all you have to do is to use the optionfont=bf
instead of justlabelfont=bf
(the latter affects the whole caption whilst the former only affects the caption label and separator); a little example:Another (but not so economic) option would have been to load
caption
on the following way