diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty index 3cfc049af19..964176492db 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-chemmacros.sty @@ -300,7 +300,7 @@ \cs_undefine:N \chemmacros_phase:n \cs_new_protected:Npn \chemmacros_phase:n #1 { - \chemmacros_leave_vmode: + \mode_leave_vertical: \bool_if:NTF \l__chemmacros_phases_sub_bool { \ifnumequal{\value{LWR@lateximagedepth}}{0} @@ -657,13 +657,12 @@ name = \chemmacros_translate:n {scheme-name} } \__chemmacros_nmr_coupling_aux_i:w } - \AfterEndPreamble{% After \AtBeginDocument \cs_gset_protected:Npn \chemmacros_nmr:nnnn #1#2#3#4 { \bool_if:NT \l__chemmacros_nmr_list_bool { \item \scan_stop: } \group_begin: - \chemmacros_leave_vmode: + \mode_leave_vertical: \bool_set_false:N \l__chemmacros_nmr_frequency_bool \bool_set_false:N \l__chemmacros_nmr_solvent_bool \tl_if_empty:nF {#3} |