summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/schemes.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/Snippets/tex/schemes.lua')
-rw-r--r--lua/Snippets/tex/schemes.lua12
1 files changed, 8 insertions, 4 deletions
diff --git a/lua/Snippets/tex/schemes.lua b/lua/Snippets/tex/schemes.lua
index 5a726be..3841bff 100644
--- a/lua/Snippets/tex/schemes.lua
+++ b/lua/Snippets/tex/schemes.lua
@@ -7,9 +7,11 @@ return {
[[
\begin{scheme}[!h]
\centering
- \chemfig {
- <>
- }
+ \chemname {
+ \chemfig {
+ <>
+ }
+ }{<>}
\caption{<>
}
\label{sch:<>}
@@ -19,6 +21,7 @@ return {
i(1),
i(2),
i(3),
+ i(4),
}
),
{ condition = helper.line_begin }
@@ -34,7 +37,7 @@ return {
\chemfig {
<>
}
- }{}
+ }{<>}
\schemestop
\caption{<>
}
@@ -45,6 +48,7 @@ return {
i(1),
i(2),
i(3),
+ i(4),
}
),
{ condition = helper.line_begin }