Skip to content

Commit

Permalink
Use plain form inner environments
Browse files Browse the repository at this point in the history
Instead of `\begin{list}` and `\end{list}` use `\list` and `\endlist`
respectively.

See https://tex.stackexchange.com/a/14684 for general arguments.

Specific reason was that previous version required `\\` after last row
when using `tabular` with `collcell` wrapped with `mmaCell` with
`verbatimenv=` option, in custom environment. See also
https://tex.stackexchange.com/a/83857 .
  • Loading branch information
jkuczm committed May 13, 2021
1 parent 59e7ccf commit 8ed9724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmacells.sty
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@

\bool_if:NT \l_mmacells_uselist_bool
{
\begin{list}{\box_use:N \l_mmacells_label_box}{
\list{\box_use:N \l_mmacells_label_box}{
\labelsep=\l_mmacells_label_sep_dim
\leftmargin=\l_mmacells_leftmargin_dim
\labelwidth=\l_mmacells_label_dim
Expand All @@ -439,7 +439,7 @@
{
\__mmacells_end_verbatimenv:
\bool_if:NT \l_mmacells_uselist_bool
{ \end{list} }
{ \endlist }
}

\cs_new_protected:Npn \mmacells_cell_graphics:nnn #1#2#3
Expand Down

0 comments on commit 8ed9724

Please sign in to comment.