nvim: latex glossary snippets
This commit is contained in:
parent
024565d0c2
commit
361620f70c
@ -358,6 +358,16 @@ snippet s_ "substack" i
|
|||||||
\substack{$1}$0
|
\substack{$1}$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet glos "glossary" bi
|
||||||
|
\newglossaryentry{$1}{
|
||||||
|
name=$1,
|
||||||
|
description={$2}
|
||||||
|
}
|
||||||
|
endsnippet
|
||||||
|
snippet pglos "print glossaries" bi
|
||||||
|
\printnoidxglossary
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet root "tex root specification" bi
|
snippet root "tex root specification" bi
|
||||||
%!TEX root = ${1:master.tex}
|
%!TEX root = ${1:master.tex}
|
||||||
$0
|
$0
|
||||||
@ -366,6 +376,7 @@ endsnippet
|
|||||||
snippet master "template for notes" bi
|
snippet master "template for notes" bi
|
||||||
\documentclass[fleqn, 12pt, a4paper]{article}
|
\documentclass[fleqn, 12pt, a4paper]{article}
|
||||||
\input{$1../preamble.tex}
|
\input{$1../preamble.tex}
|
||||||
|
%\input{glossary.tex}
|
||||||
\title{$2}
|
\title{$2}
|
||||||
|
|
||||||
\begin{document}
|
\begin{document}
|
||||||
@ -375,3 +386,7 @@ snippet master "template for notes" bi
|
|||||||
$0
|
$0
|
||||||
\end{document}
|
\end{document}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet inp "input" bi
|
||||||
|
\input{$1}
|
||||||
|
endsnippet
|
||||||
|
Loading…
Reference in New Issue
Block a user