[nvim] update latex snippet
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"notes": {
|
"notes": {
|
||||||
"prefix": "notes",
|
"prefix": "notes",
|
||||||
"body": [
|
"body": [
|
||||||
"%%% compile with `latexmk -xelatex -interaction=nonstop -synctex=1 -shell-escape DOC.tex`",
|
"%%% compile with `latexmk -xelatex -shell-escape DOC.tex`",
|
||||||
"",
|
"",
|
||||||
"%%% general article setup",
|
"%%% general article setup",
|
||||||
"\\documentclass{article}[a4paper]",
|
"\\documentclass{article}[a4paper]",
|
||||||
@@ -73,13 +73,13 @@
|
|||||||
"",
|
"",
|
||||||
"%%% glossary, use with \\gls{}",
|
"%%% glossary, use with \\gls{}",
|
||||||
"% make sure to run `makeglossaries FILE` to generate the glossary entries",
|
"% make sure to run `makeglossaries FILE` to generate the glossary entries",
|
||||||
"\\usepackage{glossaries}",
|
"\\usepackage[toc]{glossaries}",
|
||||||
"",
|
"",
|
||||||
"%%% bibtex - cite with \\autocite{}, will show in footnote",
|
"%%% bibtex - cite with \\autocite{}, will show in footnote",
|
||||||
"\\usepackage{csquotes}",
|
"\\usepackage{csquotes}",
|
||||||
"\\usepackage[style=verbose-trad2]{biblatex}",
|
"\\usepackage[style=verbose-trad2]{biblatex}",
|
||||||
"",
|
"",
|
||||||
"%%% set metadata",
|
"%%% set titlepage",
|
||||||
"\\title{ \\\\\\[0.2em] \\large }",
|
"\\title{ \\\\\\[0.2em] \\large }",
|
||||||
"\\author{Marco Thomas}",
|
"\\author{Marco Thomas}",
|
||||||
"\\date{\\today}",
|
"\\date{\\today}",
|
||||||
@@ -96,16 +96,20 @@
|
|||||||
"\\maketitle",
|
"\\maketitle",
|
||||||
"\\newpage",
|
"\\newpage",
|
||||||
"\\tableofcontents",
|
"\\tableofcontents",
|
||||||
"% \\newpage",
|
|
||||||
"% \\printglossaries",
|
|
||||||
"\\newpage",
|
"\\newpage",
|
||||||
"",
|
"",
|
||||||
"% begin here; don't forget to relaunch nvim :>",
|
"% begin here; don't forget to relaunch nvim :>",
|
||||||
"\\section{}",
|
"\\section{}",
|
||||||
"",
|
"",
|
||||||
|
"% optional appendix",
|
||||||
|
"% \\appendix",
|
||||||
|
"% \\section{optional appendix}",
|
||||||
|
"",
|
||||||
|
"% glossary, use with \\gls{TERM}; make sure to run `makeglossaries`",
|
||||||
|
"\\printglossaries",
|
||||||
|
"",
|
||||||
"% bibliography, cite with \\autocite{}",
|
"% bibliography, cite with \\autocite{}",
|
||||||
"\\newpage",
|
"\\printbibliography[heading=bibintoc,title={Quellen}]",
|
||||||
"\\printbibliography",
|
|
||||||
"",
|
"",
|
||||||
"\\end{document}"
|
"\\end{document}"
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ alias o='xdg-open' # to change a mime use: `xdg-mime default APPLICATION HANDLE
|
|||||||
alias gg='git grep $1'
|
alias gg='git grep $1'
|
||||||
alias tex='nix-shell ~/.dots/tex.nix'
|
alias tex='nix-shell ~/.dots/tex.nix'
|
||||||
alias mktex="latexmk -xelatex -shell-escape"
|
alias mktex="latexmk -xelatex -shell-escape"
|
||||||
|
alias lg="lazygit"
|
||||||
|
|
||||||
alias l='ls -lFh --color'
|
alias l='ls -lFh --color'
|
||||||
alias la='ls -lAFh --color'
|
alias la='ls -lAFh --color'
|
||||||
|
|||||||
Reference in New Issue
Block a user