Skip to content

Commit

Permalink
Updated the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrob95 committed Oct 11, 2018
1 parent 4a2f964 commit a3b9171
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions caster/doc/readthedocs/CCR languages quick reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ A quick reference guide for the language-specific commands included with Caster.
* [HTML](#html)
* [Java](#java)
* [Javascript](#javascript)
* [LaTeX](#latex)
* [Matlab](#matlab)
* [Prolog](#prolog)
* [Python](#python)
Expand Down Expand Up @@ -256,6 +257,19 @@ instance of|`instanceof `||while loop|`while ()`
length|`length`|||``


# LaTeX
Commands are designed to follow LaTeX syntax as closely as possible, for example `insert document class` produces `\documentclass{}`. See lines 69- of caster/lib/ccr/latex/latex.py for a full list of available inputs.

Command | Output | | Command | Output
---|---|---|---|---
`[use] package [<packages>]`|`\usepackage{<packages>}`||insert quote|\`\`''
[use] package bib latex|`\usepackage[style=authoryear]{biblatex}`||math fraction|`\frac{}{} `
add comment|`%`||subscript|`_{}`
`begin <element>`|`\begin{<element>}` </br> </br> `\end{<element>}`||superscript|`^{}`
`insert <command>`|`\<command>{}`||`symbol [<big>] <symbol>`|`\<symbol>`
`insert <commandnoarg>`|`\<commandnoarg>`|||``


# Matlab
Command | Output | | Command | Output
---|---|---|---|---
Expand Down

0 comments on commit a3b9171

Please sign in to comment.