diff --git a/README.md b/README.md index 0c3b306e311b3810f8998790e6e34de5393c3003..9535601b9f1443c8b8e80f63ab4f3f7baecf62b1 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,15 @@ always on the left side for `oneside` documents and alternating for `twoside` do > **Note** the textarea is not reduced, only moved. So a very large value for `BCOR` will > move the content off the page. +### Why doens't VScode automcompletion work? + +For the [LaTeX Workshop](https://github.com/James-Yu/LaTeX-Workshop) extention to know about +the commands and packages provided by the HsH-classes, it needs a spectial file. +This file is not part of the extention itself but provided by this repo. You need to tell +your VScode about this by adding the folder containing the file to the +`latex-workshop.intellisense.package.dirs` list. + + ### Italic vs. upright Index? (changing subscript) The classes by default set all sub scripts upright ("steil" in German), because this is diff --git a/src/class-HsH-article.json b/src/class-HsH-article.json new file mode 100644 index 0000000000000000000000000000000000000000..9fc6641fcce859a5ec7387140e6c8ff9004db378 --- /dev/null +++ b/src/class-HsH-article.json @@ -0,0 +1,77 @@ +{ + "includes": { + "scrbase": [], + "class-scrreprt": [], + "setspace": [], + "babel": [], + "csquotes": [], + "hyperref": [], + "todonotes": [], + "caption": [], + "graphicx": [], + "amsmath": [], + "amssymb": [], + "amsfonts": [], + "xcolor": [ + "svgnames" + ], + "scrlayer-scrpage": [] + }, + "macros": { + "matrikelnr{}": { + "snippet": "matrikelnr{${1:your matrikel number}}" + }, + "professor{}": { + "snippet": "professor{${1:your professors name}}" + }, + "keywords{}": { + "snippet": "keywords{${1},${2}}" + }, + "frontmatter": { + "snippet": "frontmatter" + }, + "mainmatter": { + "snippet": "mainmatter" + }, + "backmatter": { + "snippet": "backmatter" + }, + "title[]{}": { + "snippet": "title[${2:short title}]{${1:title}}" + }, + "maketitle[]": { + "snippet": "maketitle" + } + }, + "envs": {}, + "options": [ + "fontfamily=", + "sans", + "roman", + "language=", + "english", + "german", + "faculty=", + "f1", + "f2", + "f3", + "f4", + "f5", + "todos=", + "linespacing=", + "singlespacing", + "onehalfspacing", + "doublespacing", + "parskip=", + "headheight=", + "abstract=", + "toc=", + "fontsize=", + "paper=", + "a4paper", + "a5paper", + "twoside", + "BCOR=" + ], + "keyvals": [] +} diff --git a/src/class-HsH-report.json b/src/class-HsH-report.json new file mode 100644 index 0000000000000000000000000000000000000000..88f123a8f8d300b6e46ad99a1d3d63fdda75e602 --- /dev/null +++ b/src/class-HsH-report.json @@ -0,0 +1,77 @@ +{ + "includes": { + "scrbase": [], + "class-scrreprt": [], + "setspace": [], + "babel": [], + "csquotes": [], + "hyperref": [], + "todonotes": [], + "caption": [], + "graphicx": [], + "amsmath": [], + "amssymb": [], + "amsfonts": [], + "xcolor": [ + "svgnames" + ], + "scrlayer-scrpage": [] + }, + "macros": { + "matrikelnr{}": { + "snippet": "matrikelnr{${1:your matrikel number}}" + }, + "professor{}": { + "snippet": "professor{${1:your professors name}}" + }, + "keywords{}": { + "snippet": "keywords{${1}}" + }, + "frontmatter": { + "snippet": "frontmatter" + }, + "mainmatter": { + "snippet": "mainmatter" + }, + "backmatter": { + "snippet": "backmatter" + }, + "title[]{}": { + "snippet": "title[${2:short title}]{${1:title}}" + }, + "maketitle[]": { + "snippet": "maketitle" + } + }, + "envs": {}, + "options": [ + "fontfamily=", + "sans", + "roman", + "language=", + "english", + "german", + "faculty=", + "f1", + "f2", + "f3", + "f4", + "f5", + "todos=", + "linespacing=", + "singlespacing", + "onehalfspacing", + "doublespacing", + "parskip=", + "headheight=", + "abstract=", + "toc=", + "fontsize=", + "paper=", + "a4paper", + "a5paper", + "twoside", + "BCOR=" + ], + "keyvals": [] +} diff --git a/src/class-HsH-standalone.json b/src/class-HsH-standalone.json new file mode 100644 index 0000000000000000000000000000000000000000..fc6ffeb0df851fc879343f9c8500286642c13f5d --- /dev/null +++ b/src/class-HsH-standalone.json @@ -0,0 +1,60 @@ +{ + "includes": { + "scrbase": [], + "class-standalone": [], + "setspace": [], + "babel": [], + "csquotes": [], + "hyperref": [], + "todonotes": [], + "caption": [], + "graphicx": [], + "amsmath": [], + "amssymb": [], + "amsfonts": [], + "xcolor": [ + "svgnames" + ] + }, + "macros": { + "matrikelnr{}": { + "snippet": "matrikelnr{${1:your matrikel number}}" + }, + "professor{}": { + "snippet": "professor{${1:your professors name}}" + }, + "keywords{}": { + "snippet": "keywords{${1}}" + }, + "frontmatter": { + "snippet": "frontmatter" + }, + "mainmatter": { + "snippet": "mainmatter" + }, + "backmatter": { + "snippet": "backmatter" + }, + "title[]{}": { + "snippet": "title[${2:short title}]{${1:title}}" + }, + "maketitle[]": { + "snippet": "maketitle" + } + }, + "envs": {}, + "options": [ + "fontfamily=", + "sans", + "roman", + "faculty=", + "f1", + "f2", + "f3", + "f4", + "f5", + "todos=", + "fontsize=" + ], + "keyvals": [] +}