I know this has been previously asked and I've been through lots of posts which talked about aligning text in the tabularX environment, but I just simple either don't understand it or don't get it work. All the examples are usually made for simple and short tables, but that's not what I have...
I can't get a minimal example to work either, it's a 300 page document and accordingly my preamble rather complex, so when I try to get the table with the minimum I think I need, it won't work. So here is the code that I use to get the table:
Code: Select all
\begin{tabularx}{\textwidth}{XXX}
\textbf{Name} & \textbf{Company} & \textbf{Cat. No.} \\ \toprule
\endhead
\endfoot
Sodium chloride (NaCl) & Fisher Scientific, Loughborough, UK & 10274392\\
Potassium chloride (KCl) & Fisher Scientific & 10355810\\
Sodium dihydrogen phosphate (NaH\textsubscript{2}PO\textsubscript{4}) & Fisher Scientific& 11462904\\
Sodium bicarbonate (NaHCO\textsubscript{3})& Sigma-Aldrich, Dorset, UK& 31437\\
D-Glucose anhydrous& Sigma-Aldrich& 10254480\\
Magnesium chloride (MgCl)& Sigma-Aldrich& M9272\\
Calcium chloride (CaCl)& Sigma-Aldrich& 21114\\
Magnesium sulfate (MgSO\textsubscript{4})& Sigma-Aldrich& 208094\\
2,3-dihydroxy-6-nitro-7-sulfamoyl-benzo[f]quinoxaline-2,3-dione
(NBQX disodium salt) & Tocris, Bristol, UK& 0373 \\
Bicuculline methiodide & Tocris & 2503\\
Ca\textsuperscript{2+}/Mg\textsuperscript{2+}-free Hank’s balances salt solution (HBSS) & Invitrogen, Paisley, UK& 14175095\\
Fetal Bovine Serum (FBS) & Sigma-Aldrich& F7524\\
Penicillin-Streptomycin solution& Sigma-Aldrich& P0781\\
Sodium hydroxide (NaOH) & Fisher Scientific& 10000650\\
Papain& Worthington Biochemicals, Lakewood, USA& LK003178\\
DNase I& Roche, West Sussex, UK& 11284932001\\
Dulbecco's Modified Eagle’s Medium (DMEM) & Invitrogen& D6429\\
Poly-L-lysine& Sigma-Aldrich& P1524\\
HEPES& Sigma-Aldrich& H4034\\
Oregon Green 488 BAPTA-1, AM& Invitrogen& O6807\\
Adenosine triphosphate disodium salt (ATP) & Sigma-Aldrich& A26209\\
Glutamic acid & Sigma-Aldrich & G1001\\
Carbachol& Sigma-Aldrich& Y0000113\\
Phorbol 12-myristate 13-acetate (PMA) & Tocris& 1201\\
WIN55,212-2 mesylate (WIN55) & Sigma-Aldrich& W105\\
\hline
\end{tabularx}
It spans over two pages and some columns have lots of text. This works as it is but it looks rubbish (see attached image) because it centers the text..
all I need is to have it left-aligned...I tried {l l l} but that doesn't work..nor anything else I tried.
Can someone please help me..this is the final thing I need so that I can submit my PhD, so I'm rather desperate at the moment and welcome any suggestions!