Code: Select all
\usepackage[hang,small,bf]{caption}
Code: Select all
\usepackage[hang,small,bf]{caption}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\usepackage[format=hang,font=small,labelfont=bf]{caption}
Code: Select all
\documentclass[11pt]{report}
\raggedright
\parskip=8pt
\usepackage[margin=0.75in]{geometry}
\usepackage{bookman}
\usepackage{longtable}
\usepackage{graphicx}
\usepackage{color}
\usepackage[hang,small,bf]{caption}
\begin{document}
\chapter{Project Overview}
\begin{center}
\begin{longtable}[t]{@{}|c|c|c|c|@{}}
\multicolumn{4}{c}{}\\\hline
\textbf{TEST}&\textbf{TEST}&\textbf{TEST}&\textbf{TEST}\\\hline
\textbf{TEST}&\textbf{TEST}&\textbf{TEST}&\textbf{TEST}\\\hline
\caption[Testing]{Testing}\\
\end{longtable}
\end{center}
\end{document}
Code: Select all
\usepackage[hang,small,bf]{caption}
Code: Select all
\usepackage[format=hang,font=small,labelfont=bf]{caption}
Code: Select all
\usepackage[format=hang,font={small,bf}]{caption}
I didn't mean the version of TeX, but the version of the caption package. Set a \listfiles command right in front of your code example and start a run. At next you have to search the log file for a section call *File List* which lists all used packages and their version numbers. Post this list here completely.yusuf wrote:[...] @localghost This is the version I am running on, from the log file. I believe it is a higher version:
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) (format=pdflatex 2006.1.9) 16 APR 2008 18:19
LaTeX2e <2001/06/01>
Babel <v3.7h> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/report.cls
Document Class: report 2001/04/21 v1.4e Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size11.clo
File: size11.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
Perhaps you should make clear what part of the caption should be formatted. As I wrote above, you can customize captions with the right options for the caption package. These options should be explained by their names. Everything is explained in the documentation. So, please read it carefully.yusuf wrote:I was wondering how can I make table captions bold, as I have tried to use the captions package, but for some reason the table captions heading are not changing. [...]
Code: Select all
format=hang
Code: Select all
hang
But the caption package is not the only one in an obsolete version. I strongly recommend to upgrade your whole LaTeX system. Unfortunately you didn't mention what system you use.yusuf wrote:*File List*
report.cls 2001/04/21 v1.4e Standard LaTeX document class
size11.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
geometry.sty 2002/07/08 v3.2 Page Geometry
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
geometry.cfg 2001/06/05 v1.0 teTeX (uncustomised setup)
bookman.sty 2002/09/08 PSNFSS-v9.0a (SPQR)
longtable.sty 2000/10/22 v4.10 Multi-page Table package (DPC)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
color.sty 1999/02/16 v1.0i Standard LaTeX Color (DPC)
color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
caption.sty 1995/04/05 v1.4b caption package (AS)
ot1pbk.fd 2001/06/04 font definitions for OT1/pbk.
supp-pdf.tex
***********
my version:yusuf wrote: caption.sty 1995/04/05 v1.4b caption package (AS)
Code: Select all
caption.sty 2005/06/28 v3.0g Customising captions (AS)
caption3.sty 2005/06/11 v3.0f caption3 kernel (AS)
I was able to update that package, in my local working directory.localghost wrote:Obviously we hit the problem. You need at least version 2 of the caption package. The current version is 3.1h, which is available on CTAN.
But the caption package is not the only one in an obsolete version. I strongly recommend to upgrade your whole LaTeX system. Unfortunately you didn't mention what system you use.
Code: Select all
*File List*
report.cls 2001/04/21 v1.4e Standard LaTeX document class
size11.clo 2001/04/21 v1.4e Standard LaTeX file (size option)
geometry.sty 2002/07/08 v3.2 Page Geometry
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
geometry.cfg 2001/06/05 v1.0 teTeX (uncustomised setup)
bookman.sty 2002/09/08 PSNFSS-v9.0a (SPQR)
longtable.sty 2000/10/22 v4.10 Multi-page Table package (DPC)
graphicx.sty 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
graphics.sty 2001/07/07 v1.0n Standard LaTeX Graphics (DPC,SPQR)
trig.sty 1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg 2001/08/31 v1.1 graphics configuration of teTeX/TeXLive
pdftex.def 2002/06/19 v0.03k graphics/color for pdftex
color.sty 1999/02/16 v1.0i Standard LaTeX Color (DPC)
color.cfg 2001/08/31 v1.1 color configuration of teTeX/TeXLive
caption.sty 2008/04/01 v3.1h Customizing captions (AR)
caption3.sty 2008/03/20 v3.1h caption3 kernel (AR)
ltcaption.sty 2008/03/28 v1.2 longtable captions (AR)
ot1pbk.fd 2001/06/04 font definitions for OT1/pbk.
supp-pdf.tex
***********
NEW: TikZ book now 40% off at Amazon.com for a short time.