Graphics, Figures & Tablescaption, elsarticle | Begin of Table Caption below Label

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mraoua
Posts: 5
Joined: Thu Nov 29, 2012 10:34 pm

caption, elsarticle | Begin of Table Caption below Label

Post by mraoua »

Hi,

I want to make the label “Table” bold and put the caption right below, also I want both label and caption to be most left justified with left border of the table and size of the label be small as caption, like this.
Table1
This is a table caption
I use elsarticle class and when I tried:

Code: Select all

\usepackage[
  labelfont=bf,
  labelsep=newline,
  justification=raggedright,
  singlelinecheck=false,
  font=small
]{caption}
it changes also my figures caption like this.
Figure 1
This is a figure caption
I want to conserve the original form:
Figure 1: This is a figure caption

Thank you in advance for any help.
MM

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

caption, elsarticle | Begin of Table Caption below Label

Post by localghost »

Load the caption package in a slightly different way and do the necessary settings subsequently as suggested in Section 3.2 of its manual.

Code: Select all

\usepackage[
  font=small,
  labelfont=bf
]{caption}
\captionsetup[table]{
  labelsep=newline,
  justification=raggedright,
  singlelinecheck=false
}
For details please refer to the package manual.


Best regards and welcome to the board
Thorsten
mraoua
Posts: 5
Joined: Thu Nov 29, 2012 10:34 pm

Re: caption, elsarticle | Begin of Table Caption below Label

Post by mraoua »

Thank you !
It's perfect ..
Post Reply