From 713c36ec36a2f8454c4b6f69aaf916abeff50ae6 Mon Sep 17 00:00:00 2001 From: Andrew Lorimer Date: Wed, 8 Aug 2018 18:06:48 +1000 Subject: [PATCH] add atom configs --- atom/.atom/config.cson | 64 +++++++++++++++++++++++++++ atom/.atom/markdown-preview-plus.cson | 21 +++++++++ 2 files changed, 85 insertions(+) create mode 100644 atom/.atom/config.cson create mode 100644 atom/.atom/markdown-preview-plus.cson diff --git a/atom/.atom/config.cson b/atom/.atom/config.cson new file mode 100644 index 0000000..9c38c2c --- /dev/null +++ b/atom/.atom/config.cson @@ -0,0 +1,64 @@ +"*": + "": + source: + gfm: + editor: + softWrap: true + "autocomplete-plus": + enableAutoActivation: false + core: + autoHideMenuBar: true + disabledPackages: [ + "markdown-preview" + ] + telemetryConsent: "no" + editor: + showIndentGuide: true + softWrap: false + "exception-reporting": + userId: "343a74e6-1403-4eb8-9ead-7927cd45ba3d" + latex: + buildOnSave: true + opener: "custom" + viewerPath: "/usr/bin/evince" + "markdown-preview": + breakOnSingleNewline: true + "markdown-preview-plus": + markdownItConfig: {} + mathConfig: + enableLatexRenderingByDefault: true + previewConfig: + activatePreviewWithEditor: true + renderer: "pandoc" + saveConfig: + saveToPDFOptions: + printSelectionOnly: true + syncConfig: + syncEditorOnPreviewScroll: true + syncPreviewOnChange: true + syncPreviewOnEditorScroll: true + "spell-check": + addKnownWords: true + grammars: [ + "source.asciidoc" + "source.gfm" + "text.git-commit" + "text.plain" + "text.plain.null-grammar" + "text.tex.latex" + ] + knownWords: [ + "Lorimer" + "polyethene" + "fulfill" + ] + locales: [ + "en-AU" + ] + welcome: + showOnStartup: false + whitespace: + ensureSingleTrailingNewline: false +".latex.tex.text": + editor: + softWrap: true diff --git a/atom/.atom/markdown-preview-plus.cson b/atom/.atom/markdown-preview-plus.cson new file mode 100644 index 0000000..75bc054 --- /dev/null +++ b/atom/.atom/markdown-preview-plus.cson @@ -0,0 +1,21 @@ +# You can place LaTeX Macros here. +# They are written as coffeescript objects in CSON. +# So don't forget to escape your backslashes! +# Here are some examples to get you going: + +# A zero argument macro +# This is just an alias for \theta. + +# th: "{\\theta}" # Example usage: $\th$ + +# A one argument macro +# This one gives you "1 over something" as a fraction. + +# inv: ["{\\frac{1}{#1}}",1] # Example usage: $\inv{x}$ + +# A two argument macro +# This one gives you a fraction with nicely typeset parentheses on either side. + +# pfrac: ["{\\left(\\frac{#1}{#2}\\right)}",2] # Example usage: $\pfrac{x}{y}$ + +# You can use up to 9 arguments like this! -- 2.43.2