File tree Expand file tree Collapse file tree 11 files changed +14
-3
lines changed Expand file tree Collapse file tree 11 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
# -*- mode : snippet -*-
2
2
# name : bigcap_^
3
3
# key : cap
4
+ # condition : (texmathp)
4
5
# --
5
6
\bigcap${ 1 :$ (when (> (length yas-text) 0 ) " _" )
6
7
} ${ 1 :$ (when (> (length yas-text) 1 ) " {" )
Original file line number Diff line number Diff line change 1
1
# -*- mode : snippet -*-
2
2
# name : bigcup_^
3
3
# key : cup
4
+ # condition : (texmathp)
4
5
# --
5
6
\bigcup${ 1 :$ (when (> (length yas-text) 0 ) " _" )
6
7
} ${ 1 :$ (when (> (length yas-text) 1 ) " {" )
Original file line number Diff line number Diff line change 2
2
# name : frac
3
3
# key : frac
4
4
# uuid : frac
5
+ # condition : (texmathp)
5
6
# --
6
7
\frac{${ 1 :`(or % " numerator" ) ` } }{${ 2 :denominator } }$0
Original file line number Diff line number Diff line change 1
1
# key: int
2
2
# name: int_^
3
+ # condition: (texmathp)
3
4
# --
4
5
\int${1:$(when (> (length yas-text) 0) "_")
5
6
}${1:$(when (> (length yas-text) 1) "{")
6
7
}${1:left}${1:$(when (> (length yas-text) 1) "}")
7
8
}${2:$(when (> (length yas-text) 0) "^")
8
9
}${2:$(when (> (length yas-text) 1) "{")
9
- }${2:right}${2:$(when (> (length yas-text) 1) "}")} $0
10
+ }${2:right}${2:$(when (> (length yas-text) 1) "}")} $0
Original file line number Diff line number Diff line change 1
1
# -*- mode : snippet -*-
2
2
# name : lim
3
3
# key : lim
4
+ # condition : (texmathp)
4
5
# --
5
6
\lim_{${ 1 :n } \to ${ 2 :\infty } } $0
Original file line number Diff line number Diff line change 1
1
# -*- mode : snippet -*-
2
2
# name : liminf
3
3
# key : liminf
4
+ # condition : (texmathp)
4
5
# --
5
6
\liminf_{${ 1 :n } \to ${ 2 :\infty } } $0
Original file line number Diff line number Diff line change 1
1
# -*- mode : snippet -*-
2
2
# name : limsup
3
3
# key : limsup
4
+ # condition : (texmathp)
4
5
# --
5
6
\limsup_{${ 1 :n } \to ${ 2 :\infty } } $0
Original file line number Diff line number Diff line change 1
1
# key: prod
2
2
# name: prod_^
3
+ # condition: (texmathp)
3
4
# --
4
5
\prod${1:$(when (> (length yas-text) 0) "_")
5
6
}${1:$(when (> (length yas-text) 1) "{")
6
7
}${1:i=0}${1:$(when (> (length yas-text) 1) "}")
7
8
}${2:$(when (> (length yas-text) 0) "^")
8
9
}${2:$(when (> (length yas-text) 1) "{")
9
- }${2:n}${2:$(when (> (length yas-text) 1) "}")} $0
10
+ }${2:n}${2:$(when (> (length yas-text) 1) "}")} $0
Original file line number Diff line number Diff line change 1
1
# -*- mode : snippet -*-
2
2
# name : sqrt[]{}
3
3
# key : root
4
+ # condition : (texmathp)
4
5
# --
5
6
\sqrt[$1 ]{`% ` $2 }
Original file line number Diff line number Diff line change 1
1
# -*- mode : snippet -*-
2
2
# name : sqrt
3
3
# key : sq
4
+ # condition : (texmathp)
4
5
# --
5
6
\sqrt{`% ` $1 }$0
You can’t perform that action at this time.
0 commit comments