Scientific Word/WorkplaceElsevier Table Format

Information and discussion about Scientific Word and Scientific Workplace, two commercial WYSIWYG-like editors for Windows
Post Reply
Burak
Posts: 7
Joined: Tue Oct 09, 2012 1:45 pm

Elsevier Table Format

Post by Burak »

Hi all,

I'm very new Latex user. I don't have so much Latex background but I can handle with my basic algorithm background for now :)

I'm preparing a paper to submit one of the Elsevier journals. I use texstudio and couldn't create any table similar as Elsevier format. Can you please help me?

Thanks for your responses.

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Re: Elsevier Table Format

Post by Stefan Kottwitz »

Hi Burak,

welcome to the board!

What did you try so far? Can you post code of a table, you tried, even if it's not yet in Elsevier format but a normal table?

And can you explain what this format is, do you have an image which you can post here? Which class do you use?

Stefan
LaTeX.org admin
Burak
Posts: 7
Joined: Tue Oct 09, 2012 1:45 pm

Elsevier Table Format

Post by Burak »

Hi Stefan,
the table format should be something like as follows:

Code: Select all

\begin{tabular}{ccc}
1 & 2 & 3 \\ 
4 & 5 & 6 \\ 
7 & 8 & 9 \\ 
1 & 2 & 3 \\ 
\end{tabular} 
The only difference is there should be lines above and below the first row.

Thank you for your help.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Elsevier Table Format

Post by Stefan Kottwitz »

You could use the booktabs package. For example:

Code: Select all

\documentclass{article}
\usepackage{booktabs}
\begin{document}
\begin{tabular}{ccc}
  \toprule
  1 & 2 & 3 \\
  \midrule
  4 & 5 & 6 \\
  7 & 8 & 9 \\
  1 & 2 & 3 \\
\end{tabular} 
\end{document}
table.png
table.png (1.77 KiB) Viewed 129844 times
Stefan
LaTeX.org admin
Burak
Posts: 7
Joined: Tue Oct 09, 2012 1:45 pm

Re: Elsevier Table Format

Post by Burak »

Thank you
kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Elsevier Table Format

Post by kaiserkarl13 »

The more usual way is this:

Code: Select all

    \begin{tabular}{ccc}
    \hline
    1 & 2 & 3 \\
    \hline
    4 & 5 & 6 \\
    7 & 8 & 9 \\
    1 & 2 & 3 \\
    \end{tabular} 
Burak
Posts: 7
Joined: Tue Oct 09, 2012 1:45 pm

Elsevier Table Format

Post by Burak »

I have a new question for you.

Consider that we have a table in Chapter 2.2 as coded below. I want to name it as "Table 1. Experimental conditions" and write a sentence " Experimental conditions can be found in Table 1". How can I refer it?

Code: Select all

\begin{tabular}{ccc}
    \hline
    1 & 2 & 3 \\
    \hline
    4 & 5 & 6 \\
    7 & 8 & 9 \\
    1 & 2 & 3 \\
    \end{tabular}
Thank you for your help.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Elsevier Table Format

Post by Stefan Kottwitz »

Use a table environment for the table, \caption for setting a caption text, \label and \ref for placing a label and for referring to it.

A complete example:

Code: Select all

\documentclass{article}
\begin{document}
\listoftables
\begin{table}[htbp]
  \centering
  \caption{Experimental conditions}
  \label{tab:expcond}
  \begin{tabular}{ccc}
    \hline
    1 & 2 & 3 \\
    \hline
    4 & 5 & 6 \\
    7 & 8 & 9 \\
    1 & 2 & 3
\end{tabular}
\end{table}
Experimental conditions can be found in Table \ref{tab:expcond}.
\end{document}
You can also put the caption before the end of the table environment. Just note that the \label command should come after the \caption command, not before.

Tables and figures with captions are a basic topic which is usually explained in LaTeX introductions and tutorials, perhaps have a look at the recommendations here: LaTeX Resources for Beginners.

Stefan
LaTeX.org admin
Burak
Posts: 7
Joined: Tue Oct 09, 2012 1:45 pm

Elsevier Table Format

Post by Burak »

It was very helpful for me. But I face another problem. :( I have 5 columns right now and their titles are very long. The whole text fits only 3-4 columns the other one was disappeared. Reducing punto of the table would be fine I think: My code is as follows:

Code: Select all

\begin{table}[htbp]
\caption{Experimental conditions}
  \label{tab:Table 1}
  \begin{tabular}{ccccc}
    \hline
Exp. Number & Solution Concentration (M) & Reaction Temperature ($\,^{\circ}\mathrm{C}$)  & Carrier Gas Flow Rate (mL/min) & Carrier Gas Type \\ 
    \hline
E1 & 0.05 & 700 & 500 & Air \\ 
E2 & 0.05 & 800 & 500 & Air \\ 
E3 & 0.05 & 900 & 500 & Air \\ 
E4 & 0.1 & 700 & 500 & Air \\ 
E5 & 0.1 & 800 & 500 & Air \\ 
E6 & 0.1 & 900 & 500 & Air \\ 
E7 & 0.2 & 700 & 500 & Air \\ 
E8 & 0.2 & 800 & 500 & Air \\ 
E9 & 0.2 & 900 & 500 & Air \\
\end{tabular}
\end{table}
p.s: I checked most of the documents you said. But I couldn't find any detailed information about referring and cross-reference.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Elsevier Table Format

Post by Stefan Kottwitz »

You could use p columns for columns where line breaks are allowed. It's also possible to modify single cells such as in headings, using \multicolumn. Here I use the array package, because it allows to define a new column type, for centered paragraph columns:

Code: Select all

\usepackage{array}
\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}}
...
\begin{tabular}{C{1.5cm}*3{C{3cm}}C{2cm}}
...
\end{tabular}
Just specify the width you need. Btw. I used *3{...} to repeat a column specification three times, also a feature of the array package.

Stefan
LaTeX.org admin
Post Reply