]> git.donarmstrong.com Git - lib.git/commitdiff
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 7879e51c1ddcc891dac3fd149c6b346c3db2313e..968b5a5a3fda48c176069f898ed79c3b5243a93a 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 178a3c670b7d2442d6e1c1312ebf987bea022d64..b2a30d2e125c4baec40d33932b4731dc3ae04528 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"