Graphics, Figures & TablesHow to remove Dots after figure and table numbers?

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
alsanadm
Posts: 5
Joined: Thu Dec 14, 2017 5:42 am

How to remove Dots after figure and table numbers?

Post by alsanadm »

Hi there,

I have this issue:
I need to remove dots which come after the figures and tables numbers in the list of figures as well in the list of
tables?

For example, I want Figure 1.1: to be Figure 1.1
Table 2.2: to be Table 2.2



Is there any idea?
Thanks

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

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

How to remove Dots after figure and table numbers?

Post by Stefan Kottwitz »

It's easy but depends on the document class (which class do you use?) and if you use the caption package (do you?).

Stefan
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10328
Joined: Mon Mar 10, 2008 9:44 pm

How to remove Dots after figure and table numbers?

Post by Stefan Kottwitz »

With the caption package for example:

Code: Select all

\usepackage{caption}
\DeclareCaptionLabelSeparator{none}{ }
\captionsetup{labelsep=none}
There's a blank space as separator then. Using the caption package is recommendable anyway, it allows a lot of customization (font size, bold numbers and label, layout) in an easy way via options.

Stefan
LaTeX.org admin
alsanadm
Posts: 5
Joined: Thu Dec 14, 2017 5:42 am

How to remove Dots after figure and table numbers?

Post by alsanadm »

Thanks Stefan,

I do that codes but it did nothing!!

So, is there another solution?


Mohammed
Post Reply