diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-15 22:18:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-15 22:18:52 +0000 |
commit | a86b1fe8a0aace2f577be38ae4b4d1263b044d89 (patch) | |
tree | 23a36ccd17f8b6793e6e89e7642942a013f41b69 /Master/texmf-dist/tex | |
parent | cc9a1c90f254a17ae525f6cd58d97f9ae738c6d3 (diff) |
langsci-avm (15jul20)
git-svn-id: svn://tug.org/texlive/trunk@55846 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty b/Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty index a5249d69619..e7908b7d273 100644 --- a/Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty +++ b/Master/texmf-dist/tex/latex/langsci-avm/langsci-avm.sty @@ -46,7 +46,7 @@ %% ------------------------------------------------------------------------------ \RequirePackage{xparse,array} \ProvidesExplPackage {langsci-avm} - {2020-06-29} {0.2} + {2020-07-15} {0.2.1} {AVMs and feature structures in LaTeX3} \NewDocumentCommand{\avm}{ O{} +m } { @@ -64,13 +64,13 @@ \keys_define:nn { avm } { - stretch .code:n = {\def\arraystretch{#1}}, + stretch .tl_set:N = \l__avm_arraystretch_tl, stretch .initial:n = {0.9}, - columnsep .dim_set:N = \tabcolsep, + columnsep .dim_set:N = \l__avm_tabcolsep_dim, columnsep .initial:n = {.5ex}, - delimfactor .int_set:N = \delimiterfactor, + delimfactor .int_set:N = \l__avm_delimfactor_int, delimfactor .initial:n = {1000}, - delimfall .dim_set:N = \delimitershortfall, + delimfall .dim_set:N = \l__avm_delimshortfall_dim, delimfall .initial:n = {0pt}, attributes .code:n = {\cs_set:Nn \__avm_font_attribute: {#1}}, attributes .initial:n = {\scshape}, @@ -234,6 +234,10 @@ \cs_new:Nn \__avm_initialise_document_commands: { + \def\arraystretch{\tl_use:N \l__avm_arraystretch_tl} + \tabcolsep=\l__avm_tabcolsep_dim + \delimiterfactor=\l__avm_delimfactor_int + \delimitershortfall=\l__avm_delimshortfall_dim \cs_if_exist:NTF \tag { \RenewDocumentCommand{\tag}{m}{ \__avm_controls_tag:n {##1} } } { \NewDocumentCommand{\tag}{m}{ \__avm_controls_tag:n {##1} } } |