Skip to content

Commit

Permalink
add \__tblr_lib_if_used:n
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjr committed Dec 1, 2024
1 parent eb268d2 commit 2d9ba10
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tabularray.sty
Original file line number Diff line number Diff line change
Expand Up @@ -7079,6 +7079,12 @@
}
}
\prg_set_conditional:Npnn \__tblr_lib_if_used:n #1 { p, T, F, TF }
{
\tl_if_eq:cNTF { __tblr_use_lib_ #1: } \prg_do_nothing:
{ \prg_return_true: } { \prg_return_false: }
}
%% Library amsmath and environments +array, +matrix, +cases, ...
\NewTblrLibrary { amsmath }
Expand Down

0 comments on commit 2d9ba10

Please sign in to comment.