I am trying to save horizontal space in a nicematrix NiceTabularX table as the report my table is going in has a page limit (the table is half a page long). I desire using nicematrix as I use tikz, \tabularnote{} and a coloured header which doesn't bleed in my main table so would prefer to use this. By way of an image, this is how my MWE table looked initially (colour added manually):
I have controlled the red distance so it is flush to the left margin by using \begin{NiceTabularX}{\textwidth}{@{}c!{}X} (pg. 7 of the nicematrix documentation) but I do not know how to control the distance of the blue line. I want there to be some space but also want to control as I have pruned my table but reducing the space could perhaps save me a line or two which is desirable.
Using {\textwidth}{@{}c!{}@{}l!{}} produced this so I feel that I need the X column:
Does anyone know how I can control the distance between the first and second columns in a NiceTabularX table whilst allowing line breaks please? I cannot claim too much experience with tables so apologies if this is basic or asked before, I checked the NiceTabularX questions on here.
How it currently looks:
MWE:
\documentclass{book}
\usepackage{nicematrix}
\usepackage{booktabs}
\usepackage{lipsum}
\begin{document}
\begin{table}
\footnotesize
\begin{NiceTabularX}{\textwidth}{@{}c!{}X}
\toprule
\textbf{Year} & \textbf{Important milestones or key achievements in de novo enzyme design}\ \midrule
1983-84 & \lipsum[1][1-3] \ \addlinespace[0.1em]
1994 & \lipsum[1][1-3] \ \addlinespace[0.1em]
1995 & \lipsum[1][1-3] \ \addlinespace[0.1em]
2000-04 & \lipsum[1][1-3] \ \addlinespace[0.1em]
2010-14 & \lipsum[1][1-3] \ \addlinespace[0.1em]
\bottomrule
\end{NiceTabularX}
\end{table}
\end{document}





\tabcolsep. By default it amounts to 6pt. You can change this by using\setlength{\tabcolsep}{3pt}or any other value of your choice. Adding this to the preamble will affect all tables in your document, using it inside of thetableenvironment will keep the effect locally. – leandriis Apr 08 '23 at 09:33\begin{NiceTabularX}{\textwidth}{@{} c X @{}}or rather\begin{NiceTabularX}{\textwidth}{@{} l X @{}}and then see if the\tabcolsepis needed to be reduced too. – Zarko Apr 08 '23 at 09:45