tweak multiple choice and dfig environments
authorDon Armstrong <don@donarmstrong.com>
Sun, 9 Jun 2019 04:05:01 +0000 (21:05 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sun, 9 Jun 2019 04:05:01 +0000 (21:05 -0700)
emacs_el/snippets/latex-mode/multichoice
emacs_el/snippets/makefile-gmake-mode/dfig

index 7879e51..968b5a5 100644 (file)
@@ -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
index 178a3c6..b2a30d2 100644 (file)
@@ -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"