From cbc47c0623a5e636ec44ee4a01b37353d947adbb Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Thu, 28 Jul 2022 12:29:53 +0200 Subject: [PATCH] nvim: update snippets --- files/nvim/.config/nvim/snippets/snippets/latex.json | 5 ++++- files/sway/.config/sway/config | 4 ++-- presets/notes.tex | 8 ++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/files/nvim/.config/nvim/snippets/snippets/latex.json b/files/nvim/.config/nvim/snippets/snippets/latex.json index 8668c5b..c1dea8a 100644 --- a/files/nvim/.config/nvim/snippets/snippets/latex.json +++ b/files/nvim/.config/nvim/snippets/snippets/latex.json @@ -7,7 +7,7 @@ "\\title{$1 \\\\\\[0.2em] \\large $2}", "\\author{Marco Thomas}", "", - "% \\bibliography{}", + "% \\bibliography{bibliography}", "", "\\begin{document}", "", @@ -16,6 +16,9 @@ "\\tableofcontents", "\\newpage", "", + "\\newpage", + "% \\printbibliography", + "", "\\end{document}" ], "description": "Preset to create new notes document" diff --git a/files/sway/.config/sway/config b/files/sway/.config/sway/config index de4d157..900a0eb 100644 --- a/files/sway/.config/sway/config +++ b/files/sway/.config/sway/config @@ -124,11 +124,11 @@ input type:keyboard { # Show notifications bindsym $mod+v exec swaync-client -t -sw -# Brightness + # Brightness bindsym XF86MonBrightnessUp exec light -A 5 bindsym XF86MonBrightnessDown exec light -U 5 -# Audio + # Audio bindsym XF86AudioPlay exec playerctl play-pause bindsym XF86AudioPrev exec playerctl previous bindsym XF86AudioNext exec playerctl next diff --git a/presets/notes.tex b/presets/notes.tex index e7a5a27..dedd0df 100644 --- a/presets/notes.tex +++ b/presets/notes.tex @@ -16,10 +16,6 @@ \usepackage{xcolor} \usepackage{color} -%%% bibtex - cite with \autocite{}, will show in footnote -\usepackage[style=verbose-ibid,backend=bibtex]{biblatex} -\usepackage{csquotes} - %%% lorem ipsum text \usepackage{blindtext} @@ -66,3 +62,7 @@ \newtheorem{algo}{Algorithmus}[section] \newtheorem{theorem}{Satz}[section] \newtheorem*{remark}{Bemerkung} + +%%% bibtex - cite with \autocite{}, will show in footnote +\usepackage{csquotes} +\usepackage[style=verbose-trad2]{biblatex}