File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1+ # -*- mode : snippet -*-
12# key : int
23# name : int_^
34# condition : (texmathp)
78} ${ 1 :left } ${ 1 :$ (when (> (length yas-text) 1 ) " }" )
89} ${ 2 :$ (when (> (length yas-text) 0 ) " ^" )
910} ${ 2 :$ (when (> (length yas-text) 1 ) " {" )
10- }${2:right}${2:$(when (> (length yas-text) 1) "}")} $0
11+ } ${ 2 :right } ${ 2 :$ (when (> (length yas-text) 1 ) " }" ) } $0
Original file line number Diff line number Diff line change 1+ # -*- mode : snippet -*-
12# key : prod
23# name : prod_^
34# condition : (texmathp)
78} ${ 1 :i=0 } ${ 1 :$ (when (> (length yas-text) 1 ) " }" )
89} ${ 2 :$ (when (> (length yas-text) 0 ) " ^" )
910} ${ 2 :$ (when (> (length yas-text) 1 ) " {" )
10- }${2:n}${2:$(when (> (length yas-text) 1) "}")} $0
11+ } ${ 2 :n } ${ 2 :$ (when (> (length yas-text) 1 ) " }" ) } $0
Original file line number Diff line number Diff line change 1+ # -*- mode : snippet -*-
12# key : sum
23# name : sum_^
34# condition : (texmathp)
78} ${ 1 :i=0 } ${ 1 :$ (when (> (length yas-text) 1 ) " }" )
89} ${ 2 :$ (when (> (length yas-text) 0 ) " ^" )
910} ${ 2 :$ (when (> (length yas-text) 1 ) " {" )
10- }${2:n}${2:$(when (> (length yas-text) 1) "}")} $0
11+ } ${ 2 :n } ${ 2 :$ (when (> (length yas-text) 1 ) " }" ) } $0
You can’t perform that action at this time.
0 commit comments