Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

First of all, sorry if it's a nooby question. I'm fairly new to latex, and only know the basics right now. But I'm learning every day!

So... I'd like to have my figure captions with the word Figure x.x in bold, but the rest normal. Ideally, that would be in the header of the file, so that it applies to all the figures in my document.

If it's not possible, is there a way to have a different ... distance to the edge of the page, so it's different from normal text?

So for example, you would have:

Normal text blah blah blah.

[actual figure]
Figure 1.5: figure caption

I tried to use stuff like \usepackage[font=bf]{caption}, but it tells me I don't have caption.sty (or figure.sty if I replace caption by figure). I'd be also surprised if we needed a new package only for that. Is there a way to achieve one of the two?

[edit] I've installed the caption package. It might be easier to get this done now.

share|improve this question

1 Answer 1

up vote 21 down vote accepted

The caption package provides a lot of functionality and I would recommend to use it. Depending on your LaTeX distribution there a different ways to get the package. You get the files here, but installing is not trivial. You might want to search 'tex.sx' for 'install package' and pick you system.

You get Figure x.x bold with \usepackage[labelfont=bf]{caption} when you load the package. If you want to change it later you can use \captionsetup{labelfont=bf}. There is more information in a similar question here.

share|improve this answer
    
This works great! Thanks very much. –  Stilltorik Oct 23 '11 at 16:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.