Skip to main content
corrected notation for n-chlorine
Source Link
Zarko
  • 317.5k
  • 25
  • 190
  • 399
\documentclass{article} \usepackage{rotating} \usepackage{makecell} \usepackage{tabularray} \usepackage[version=4]{mhchem} % <--- new \begin{document} \begin{table} \footnotesize \begin{tblr}{colspec={c *{4}{Q[c,3cm]}}} & \SetCell[c=2]{c} {Chlorination degree of \\ paraffinic compounds $n_{\ce{Cl}}$} & & \SetCell[c=2]{c} {Chlorination degree of \\ olefinic compounds $n_{\ce{Cl}}$} & \\ & non-exposed (0h) & exposed (144h) & non-exposed (0h) & exposed (144h) \\ Non-hydroxylated & $8.80\pm 0.00$ & $9.07\pm 0.00$ & $8.37\pm 0.02$ & $8.55\pm 0.01$ \\ Mono-hydroxylated & $8.31\pm 0.06$ a) & $7.59\pm 0.01$ & $8.31\pm 0.06$ a) & $7.04\pm 0.03$ \\ Di-hydroxylated & n.d. & $6.61\pm 0.04$ & n.d. & $5.23\pm 0.01$ \\ \end{tblr} \end{table} \end{document} 

enter image description hereenter image description here

Edit: For chemical elements (and formulae) is sensible to employ mhchem package and write symbol for chlorine \ce{Cl} or n-clorine $n_{\ce{Cl}}$.

enter image description here or

\begin{tblr}{colspec={l *{4}{Q[c]}}} 

enter image description here

\documentclass{article} \usepackage{rotating} \usepackage{makecell} \usepackage{tabularray} \usepackage[version=4]{mhchem} % <--- new \begin{document} \begin{table} \footnotesize \begin{tblr}{colspec={c *{4}{Q[c,3cm]}}} & \SetCell[c=2]{c} {Chlorination degree of \\ paraffinic compounds \ce{Cl}} & & \SetCell[c=2]{c} {Chlorination degree of \\ olefinic compounds \ce{Cl}} & \\ & non-exposed (0h) & exposed (144h) & non-exposed (0h) & exposed (144h) \\ Non-hydroxylated & $8.80\pm 0.00$ & $9.07\pm 0.00$ & $8.37\pm 0.02$ & $8.55\pm 0.01$ \\ Mono-hydroxylated & $8.31\pm 0.06$ a) & $7.59\pm 0.01$ & $8.31\pm 0.06$ a) & $7.04\pm 0.03$ \\ Di-hydroxylated & n.d. & $6.61\pm 0.04$ & n.d. & $5.23\pm 0.01$ \\ \end{tblr} \end{table} \end{document} 

enter image description here

Edit: For chemical elements (and formulae) is sensible to employ mhchem package and write symbol for chlorine \ce{Cl}.

enter image description here or

\begin{tblr}{colspec={l *{4}{Q[c]}}} 

enter image description here

\documentclass{article} \usepackage{rotating} \usepackage{makecell} \usepackage{tabularray} \usepackage[version=4]{mhchem} % <--- new \begin{document} \begin{table} \footnotesize \begin{tblr}{colspec={c *{4}{Q[c,3cm]}}} & \SetCell[c=2]{c} {Chlorination degree of \\ paraffinic compounds $n_{\ce{Cl}}$} & & \SetCell[c=2]{c} {Chlorination degree of \\ olefinic compounds $n_{\ce{Cl}}$} & \\ & non-exposed (0h) & exposed (144h) & non-exposed (0h) & exposed (144h) \\ Non-hydroxylated & $8.80\pm 0.00$ & $9.07\pm 0.00$ & $8.37\pm 0.02$ & $8.55\pm 0.01$ \\ Mono-hydroxylated & $8.31\pm 0.06$ a) & $7.59\pm 0.01$ & $8.31\pm 0.06$ a) & $7.04\pm 0.03$ \\ Di-hydroxylated & n.d. & $6.61\pm 0.04$ & n.d. & $5.23\pm 0.01$ \\ \end{tblr} \end{table} \end{document} 

enter image description here

Edit: For chemical elements (and formulae) is sensible to employ mhchem package and write symbol for chlorine \ce{Cl} or n-clorine $n_{\ce{Cl}}$.

enter image description here

added 2 characters in body
Source Link
Zarko
  • 317.5k
  • 25
  • 190
  • 399

At tabularray in contrary to other tables' packages in each rows regardless if in them are multicolumn cells (writewritten as \SetCell[c=2]{c} ... ) had to be all ampersands as defined in table preamble. In your case, the MWE should be:

\begin{tblr}{colspec={cl *{4}{X[c]}}} 

enter image description hereenter image description here or

\begin{tblr}{colspec={l *{4}{Q[c]}}} 

enter image description here

At tabularray in contrary to other tables' packages in each rows regardless if in them are multicolumn cells (write as \SetCell[c=2]{c} ... ) had to be all ampersands as defined in table preamble. In your case, the MWE should be:

\begin{tblr}{colspec={c *{4}{X[c]}}} 

enter image description here

At tabularray in contrary to other tables' packages in each rows regardless if in them are multicolumn cells (written as \SetCell[c=2]{c} ... ) had to be all ampersands as defined in table preamble. In your case, the MWE should be:

\begin{tblr}{colspec={l *{4}{X[c]}}} 

enter image description here or

\begin{tblr}{colspec={l *{4}{Q[c]}}} 

enter image description here

added package `mhchem` and use `\ce{...}` syntax
Source Link
Zarko
  • 317.5k
  • 25
  • 190
  • 399
\documentclass{article} \usepackage{rotating} \usepackage{makecell} \usepackage{tabularray} \usepackage[version=4]{mhchem} % <--- new  \begin{document} \begin{table} \footnotesize \begin{tblr}{colspec={c *{4}{Q[c,3cm]}}} & \SetCell[c=2]{c} {Chlorination degree of \\ paraffinic compounds $n_{\mathrm\ce{C}lCl}$} & & \SetCell[c=2]{c} {Chlorination degree of \\ olefinic compounds $n_{\mathrm\ce{C}lCl}$} & \\ & non-exposed (0h) & exposed (144h) & non-exposed (0h) & exposed (144h) \\ Non-hydroxylated & $8.80\pm 0.00$ & $9.07\pm 0.00$ & $8.37\pm 0.02$ & $8.55\pm 0.01$ \\ Mono-hydroxylated & $8.31\pm 0.06$ a) & $7.59\pm 0.01$ & $8.31\pm 0.06$ a) & $7.04\pm 0.03$ \\ Di-hydroxylated & n.d. & $6.61\pm 0.04$ & n.d. & $5.23\pm 0.01$ \\ \end{tblr} \end{table} \end{document} 

enter image description hereenter image description here

Edit: For chemical elements (and formulae) is sensible to employ mhchem package and write symbol for chlorine \ce{Cl}.

enter image description hereenter image description here

\documentclass{article} \usepackage{rotating} \usepackage{makecell} \usepackage{tabularray} \begin{document} \begin{table} \footnotesize \begin{tblr}{colspec={c *{4}{Q[c,3cm]}}} & \SetCell[c=2]{c} {Chlorination degree of \\ paraffinic compounds $n_{\mathrm{C}l}$} & & \SetCell[c=2]{c} {Chlorination degree of \\ olefinic compounds $n_{\mathrm{C}l}$} & \\ & non-exposed (0h) & exposed (144h) & non-exposed (0h) & exposed (144h) \\ Non-hydroxylated & $8.80\pm 0.00$ & $9.07\pm 0.00$ & $8.37\pm 0.02$ & $8.55\pm 0.01$ \\ Mono-hydroxylated & $8.31\pm 0.06$ a) & $7.59\pm 0.01$ & $8.31\pm 0.06$ a) & $7.04\pm 0.03$ \\ Di-hydroxylated & n.d. & $6.61\pm 0.04$ & n.d. & $5.23\pm 0.01$ \\ \end{tblr} \end{table} \end{document} 

enter image description here

enter image description here

\documentclass{article} \usepackage{rotating} \usepackage{makecell} \usepackage{tabularray} \usepackage[version=4]{mhchem} % <--- new  \begin{document} \begin{table} \footnotesize \begin{tblr}{colspec={c *{4}{Q[c,3cm]}}} & \SetCell[c=2]{c} {Chlorination degree of \\ paraffinic compounds \ce{Cl}} & & \SetCell[c=2]{c} {Chlorination degree of \\ olefinic compounds \ce{Cl}} & \\ & non-exposed (0h) & exposed (144h) & non-exposed (0h) & exposed (144h) \\ Non-hydroxylated & $8.80\pm 0.00$ & $9.07\pm 0.00$ & $8.37\pm 0.02$ & $8.55\pm 0.01$ \\ Mono-hydroxylated & $8.31\pm 0.06$ a) & $7.59\pm 0.01$ & $8.31\pm 0.06$ a) & $7.04\pm 0.03$ \\ Di-hydroxylated & n.d. & $6.61\pm 0.04$ & n.d. & $5.23\pm 0.01$ \\ \end{tblr} \end{table} \end{document} 

enter image description here

Edit: For chemical elements (and formulae) is sensible to employ mhchem package and write symbol for chlorine \ce{Cl}.

enter image description here

correct spelling errors and language
Source Link
Zarko
  • 317.5k
  • 25
  • 190
  • 399
Loading
Source Link
Zarko
  • 317.5k
  • 25
  • 190
  • 399
Loading