From: Don Armstrong Date: Sun, 9 Jun 2019 04:05:01 +0000 (-0700) Subject: tweak multiple choice and dfig environments X-Git-Url: https://git.donarmstrong.com/?p=lib.git;a=commitdiff_plain;h=270d810a9b382a43768cc1641026032daee10a04 tweak multiple choice and dfig environments --- 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"