add snippet for table

This commit is contained in:
Jeff Lance 2023-08-23 18:15:11 +02:00
parent b75d86cffa
commit 55db35bfa8

View File

@ -127,6 +127,21 @@ return {
--
-- environments
--
s({ trig = "table", dscr = "My LaTeX table environment" },
fmta(
[[
\begin{tabular}{c|c}
\hline
\rule[-1ex]{0pt}{2.5ex} <> & <> \\
\hline
\end{tabular}
]],
{
i(1),
i(2),
}
)
),
s({ trig = "env", dscr = "A LaTeX empty environment" },
fmt(
[[