From 270d810a9b382a43768cc1641026032daee10a04 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 8 Jun 2019 21:05:01 -0700 Subject: [PATCH] tweak multiple choice and dfig environments --- emacs_el/snippets/latex-mode/multichoice | 2 +- emacs_el/snippets/makefile-gmake-mode/dfig | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/emacs_el/snippets/latex-mode/multichoice b/emacs_el/snippets/latex-mode/multichoice index 7879e51..968b5a5 100644 --- a/emacs_el/snippets/latex-mode/multichoice +++ b/emacs_el/snippets/latex-mode/multichoice @@ -1,7 +1,7 @@ # key: mquest # name: multichoice # -- -\question[${1:2}] $3 +\question[${1:1\half}] $3 \begin{choices} \CorrectChoice $0 \end{choices} \ No newline at end of file diff --git a/emacs_el/snippets/makefile-gmake-mode/dfig b/emacs_el/snippets/makefile-gmake-mode/dfig index 178a3c6..b2a30d2 100644 --- a/emacs_el/snippets/makefile-gmake-mode/dfig +++ b/emacs_el/snippets/makefile-gmake-mode/dfig @@ -3,6 +3,7 @@ # key: dfig # expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil)) # -- -DOWNLOAD_FIGURES+=${1:foo.jpg} -$1: - wget -O $@ "$0" +# $0 +DOWNLOAD_FIGURES+=${2:foo.jpg} +$2: + wget -O $@ "$1" -- 2.39.2