## LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Excel-like tables of experimental data Topic is solved

Information and discussion about graphics, figures & tables in LaTeX documents.
Cham
Posts: 894
Joined: Sat Apr 02, 2011 4:06 pm

### Re: Excel-like tables of experimental data

Johannes,

there are 2 things I need to understand :

1. Why the \noindent after the \begin{center} ? Apparently, this does nothing.
2. How did you choose the 0.8\linewidth after \begin{minipage} ? Currently, the main table isn't exactly centered on the page (within the margins).

Tags:

Johannes_B
Site Moderator
Posts: 3854
Joined: Thu Nov 01, 2012 4:08 pm
1. Correct, i added the center environment later and missed removing the \noindent.

2. .8 Seemed to be a reasonable good value. You need to fiddle a bit to visually center. Due to the asymetry of the table, it will always look a bit crooked (i guess).
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Cham
Posts: 894
Joined: Sat Apr 02, 2011 4:06 pm
Then what is the 0.x\linewidth parameter doing ? I don't see clearly the logic of it, after playing with it. There's surely a way to center a table on the page. The align environment was doing it perfectly.

Johannes_B
Site Moderator
Posts: 3854
Joined: Thu Nov 01, 2012 4:08 pm
You could place both tabular environments into a thirs as two different lines and center that tabular. BUt agreed, using align seems to be simpler though there are reasons presented above that warn.

.8 was just a random value.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.