From e7dd5245c35d2794f59bcf700a6a92009ec8c478 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 28 Jun 2024 21:30:42 -0700 Subject: stuff --- yasnippet/latex-mode/abs | 6 ++++++ yasnippet/latex-mode/bra | 5 +++++ yasnippet/latex-mode/braket | 5 +++++ yasnippet/latex-mode/ket | 5 +++++ yasnippet/latex-mode/norm | 5 +++++ 5 files changed, 26 insertions(+) create mode 100644 yasnippet/latex-mode/abs create mode 100644 yasnippet/latex-mode/bra create mode 100644 yasnippet/latex-mode/braket create mode 100644 yasnippet/latex-mode/ket create mode 100644 yasnippet/latex-mode/norm (limited to 'yasnippet/latex-mode') diff --git a/yasnippet/latex-mode/abs b/yasnippet/latex-mode/abs new file mode 100644 index 0000000..8080b4f --- /dev/null +++ b/yasnippet/latex-mode/abs @@ -0,0 +1,6 @@ + +# -*- mode: snippet -*- +# name: abs +# key: abs +# -- +| $1 | $0 diff --git a/yasnippet/latex-mode/bra b/yasnippet/latex-mode/bra new file mode 100644 index 0000000..5f9fbc7 --- /dev/null +++ b/yasnippet/latex-mode/bra @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: bra +# key: bra +# -- +\langle $1 | $0 diff --git a/yasnippet/latex-mode/braket b/yasnippet/latex-mode/braket new file mode 100644 index 0000000..aa2be67 --- /dev/null +++ b/yasnippet/latex-mode/braket @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: braket +# key: braket +# -- +\left\langle $2 \middle| $1 \right\rangle $0 \ No newline at end of file diff --git a/yasnippet/latex-mode/ket b/yasnippet/latex-mode/ket new file mode 100644 index 0000000..cb39643 --- /dev/null +++ b/yasnippet/latex-mode/ket @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: ket +# key: ket +# -- +| $1 \rangle $0 diff --git a/yasnippet/latex-mode/norm b/yasnippet/latex-mode/norm new file mode 100644 index 0000000..f85cf55 --- /dev/null +++ b/yasnippet/latex-mode/norm @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: norm +# key: norm +# -- +\lVert $1 \rVert $0 \ No newline at end of file -- cgit