edef setlength fboxrule

Source(s)

% store the value
\edef\savedfboxrule{\the\fboxrule}
% set it to something else (e.g. if the following images should not have a border)
\setlength{\fboxrule}{0pt}
 
...
 
% restore the saved value
\setlength{\fboxrule}{\savedfboxrule}
  • the \setlength command also seems to be scoped to environments, i.e., if used inside a \begin{table}...\end{table}, then the change only applies up to the \end