Graphics, Figures & TablesFigure 1.1: change to Figure 1.1.

Information and discussion about graphics, figures & tables in LaTeX documents.
lisa
Posts: 6
Joined: Fri Apr 17, 2009 3:41 pm

Figure 1.1: change to Figure 1.1.

Post by lisa »

hello, i am also a newby,
my figure format comes up as Figure 1.1: and i would like this changed to Figure 1.1. so i would like to remove the : and replace it with a . how do i do this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Figure 1.1: change to Figure 1.1.

Post by Stefan Kottwitz »

Hi Lisa,

welcome to the board!
A solution depends on the document class you are using. Which one do you use?
I recommend to use the caption package, it provides a lot of features to customize captions and is very well documented, see its documentation, also for setting the dot.

Stefan
LaTeX.org admin
allevo
Posts: 49
Joined: Sat Apr 11, 2009 12:09 pm

Figure 1.1: change to Figure 1.1.

Post by allevo »

lisa
Posts: 6
Joined: Fri Apr 17, 2009 3:41 pm

Figure 1.1: change to Figure 1.1.

Post by lisa »

ok so i found document class:

Code: Select all

\documentclass[12pt,oneside]{report}
then after that it says:

Code: Select all

\usepackage{a4,fancyhdr}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{epstopdf}
\usepackage{epsfig}
\usepackage{rotating}
\usepackage{amsmath}
\usepackage{setspace}
\usepackage{natbib}
\usepackage{multirow}
\usepackage{amssymb}
\usepackage[pdftex]{hyperref}
\hypersetup{
backref,
colorlinks=true,
linkcolor=black,
citecolor=black,
filecolor=black,
urlcolor=black,
pdfstartview=FitH}
so is this good / bad?? i really dont have a clue, to get this captions document class thingy do i remove the one i have? or is it that easy? (im guessing not!)
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Figure 1.1: change to Figure 1.1.

Post by Stefan Kottwitz »

Hi Lisa,

try

Code: Select all

\usepackage[labelsep=period]{caption}
Stefan
LaTeX.org admin
lisa
Posts: 6
Joined: Fri Apr 17, 2009 3:41 pm

Figure 1.1: change to Figure 1.1.

Post by lisa »

where in the figure code do i put this?
lisa
Posts: 6
Joined: Fri Apr 17, 2009 3:41 pm

Figure 1.1: change to Figure 1.1.

Post by lisa »

Stefan_K wrote:Hi Lisa,

try

Code: Select all

\usepackage[labelsep=period]{caption}
Stefan
Stefan,
where do i put this code? in the maintex? do i replace it with the other "usepackage"s i listed above?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Figure 1.1: change to Figure 1.1.

Post by Stefan Kottwitz »

Just add it to the other \usepackage-lines.

Stefan
LaTeX.org admin
lisa
Posts: 6
Joined: Fri Apr 17, 2009 3:41 pm

Re: Figure 1.1: change to Figure 1.1.

Post by lisa »

when i run it to transfer it to a PDF it says i need to install a new item but it does not allow me to enter the name of this user package


thanks for all the help
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Figure 1.1: change to Figure 1.1.

Post by localghost »

lisa wrote:when i run it to transfer it to a PDF it says i need to install a new item but it does not allow me to enter the name of this user package [...]
Please be more precise and tell us the exact error message. Concerning the packages you are loading and other relevant things you should take a look at l2tabu to avoid the biggest sins.


Best regards and welcome to the board
Thorsten¹
Post Reply