Document ClassesClash with Babel

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Clash with Babel

Post by spiegboy »

when i use

Code: Select all

\renewcommand{\figurename}{Fig.}
it doesnt work when i apply

Code: Select all

\usepackage[english]{babel}
so i use

Code: Select all

 \documentclass[english]{article}
but it seems that english option doesnt work.

could you help?

thanks a lot

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

Clash with Babel

Post by Stefan Kottwitz »

Hi,

it will work this way:

Code: Select all

\addto\captionsenglish{\renewcommand{\figurename}{Fig.}}
The explanation should be inside the babel documentation.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Clash with Babel

Post by localghost »

The current version of caption offers an interesting alternative.

Code: Select all

\usepackage{caption}
\captionsetup{%
  figurename={Fig.}
}
For more details refer to its documentation.


Best regards
Thorsten¹


Edit: Request also posted at CQF.info :: View topic - Clash with babel
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Re: Clash with Babel

Post by spiegboy »

I cannot love you more.
spiegboy
Posts: 120
Joined: Thu Dec 06, 2007 9:58 am

Clash with Babel

Post by spiegboy »

localghost wrote:The current version of caption offers an interesting alternative.

Code: Select all

\usepackage{caption}
\captionsetup{%
  figurename={Fig.}
}
Thorsten¹
thank you ,but i am using

Code: Select all

\usepackage{ccaption}
\captionnamefont{\bfseries}
\captiontitlefont{\small}
Post Reply