Skip to content

Instantly share code, notes, and snippets.

@hiroaki-yamamoto
Created November 14, 2016 12:57
Show Gist options
  • Save hiroaki-yamamoto/d0ed8e512d4dc4540f3bdba4e33bceea to your computer and use it in GitHub Desktop.
Save hiroaki-yamamoto/d0ed8e512d4dc4540f3bdba4e33bceea to your computer and use it in GitHub Desktop.
Atom Snippet
# Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#
# '.source.coffee':
# 'Console log':
# 'prefix': 'log'
# 'body': 'console.log $1'
#
# This file uses CoffeeScript Object Notation (CSON).
# If you are unfamiliar with CSON, you can read more about it here:
# https://github.com/bevry/cson#what-is-cson
".text.tex.latex":
"IEEEEquation":
"prefix": "ieq",
"body": """
\\\\begin{IEEEeqnarray}{rCl}
${1}
\\\\end{IEEEeqnarray}
"""
"DefinitieIntegral":
"prefix": "dint"
"body": "\\\\int_{${1:from}}^{${2:to}} ${3:equation} d${4:param}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment