I've defined the following macro:

% makes tables more readable  

Which add extra tabbing space in the tables. However, in one place in my report I need to use the default as it messes up the structure of the page (I have a side-by-side table and figures). I wonder if I could, for some table environments, reset the tabbing space to default?

2 Answers 2


You can create a command to store the old length so you can go back to it later. For lengths, you could do like this:


%restore original

Store the modifying macros in a macro that you can call where you need it:

enter image description here


% Store modifiable content
  \let\storearraystretch\arraystretch% \arraystretch
  \setlength{\storetabcolsep}{\tabcolsep}% \tabcolsep

% Makes tables more readable
% Restore stretching defaults
  \let\arraystretch\storearraystretch% \arraystretch
  \setlength{\tabcolsep}{\storetabcolsep}}% \tabcolsep


  A & B & C \\
  1 & 2 & 3 \\


  A & B & C \\
  1 & 2 & 3 \\


The idea is to store any content that you potentially modify within the document \AtBeginDocument. Then, via macro calls \increasetablespace they're updated to suit your stretched-out needs, and restored using \restoretablespace.

  • i'd be inclined to call it \defaulttablespace (even if it's hard to spell correctly) instead of \restoretablespace, since the latter might imply i'm restoring it to some alternate that i've defined that isn't the default. Apr 1, 2015 at 21:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .