aboutsummaryrefslogtreecommitdiff
path: root/dot_vim/ftplugin/latex-suite/macros/example
diff options
context:
space:
mode:
Diffstat (limited to 'dot_vim/ftplugin/latex-suite/macros/example')
-rw-r--r--dot_vim/ftplugin/latex-suite/macros/example11
1 files changed, 11 insertions, 0 deletions
diff --git a/dot_vim/ftplugin/latex-suite/macros/example b/dot_vim/ftplugin/latex-suite/macros/example
new file mode 100644
index 0000000..395311f
--- /dev/null
+++ b/dot_vim/ftplugin/latex-suite/macros/example
@@ -0,0 +1,11 @@
+% my long complicated macro. This is an example of how to set up a
+% tex-macro for latex-suite. simply type in the lines as you would in
+% latex. Place holders are allowed.
+% NOTE: if you have filetype indentation turned on, then do not do
+% formatting here. the indentation will follow automatically...
+\begin{mycomplicatedenvironment}
+\mycommand1{<++>}
+\mycommand2{<+hint2+>}
+\mycommand3{<++>}
+\mycommand4{<++>}
+\end{mycomplicatedenvironment}<++>