Thanks, Máté
Code: Select all
\documentclass{article}
\usepackage[english]{babel}
\renewcommand{\figurename}{Fig.}
\begin{document}
\begin{figure}
\caption{Title.}
\end{figure}
\end{document}
Code: Select all
\documentclass{article}
\usepackage[english]{babel}
\renewcommand{\figurename}{Fig.}
\begin{document}
\begin{figure}
\caption{Title.}
\end{figure}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{bindingoffset=1cm,centering,includeheadfoot,margin=2cm]{geometry}
\usepackage{txfonts}
\usepackage{blindtext}
% Renaming floats with caption
\captionsetup{%
figurename=Fig.,
tablename=Tab.
}
% Renaming floats with babel
%\addto{\captionsenglish}{%
% \renewcommand{\figurename}{Fig.}
% \renewcommand{\tablename}{Tab.}
%}
\begin{document}
\blindtext
\begin{figure}[!ht]
\centering
\rule{8cm}{4.5cm}
\caption{A dummy figure}\label{fig:dummy}
\end{figure}
\blindtext
\end{document}
But that's not the default setting. Take a look at its options when included in the preamble. These options could be moved into the list of \captionsetup.zaradek wrote:[…] I like the caption package. It makes the labels even bold witch is good. […]
NEW: TikZ book now 40% off at Amazon.com for a short time.