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

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

Re: Excel-like tables of experimental data

Postby Cham » Sat Jan 16, 2016 3:50 am

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:

User avatar
Johannes_B
Site Moderator
Posts: 3551
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jan 16, 2016 9:56 am

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.

User avatar
Cham
Posts: 734
Joined: Sat Apr 02, 2011 4:06 pm

Postby Cham » Sat Jan 16, 2016 4:02 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.

User avatar
Johannes_B
Site Moderator
Posts: 3551
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Sat Jan 16, 2016 8:29 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.


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 7 guests