add snippet for table
This commit is contained in:
parent
b75d86cffa
commit
55db35bfa8
@ -127,6 +127,21 @@ return {
|
|||||||
--
|
--
|
||||||
-- environments
|
-- 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" },
|
s({ trig = "env", dscr = "A LaTeX empty environment" },
|
||||||
fmt(
|
fmt(
|
||||||
[[
|
[[
|
||||||
|
Loading…
Reference in New Issue
Block a user