diff --git a/documentation/src/SUMMARY.md b/documentation/src/SUMMARY.md index 13b2103..64d359e 100644 --- a/documentation/src/SUMMARY.md +++ b/documentation/src/SUMMARY.md @@ -24,6 +24,7 @@ - [Snippet Build Scripts](./snippet_build_scripts.md) - [Example Script](./example_script.md) - [Common snippets](./common_snippets.md) + - [MathJax support](./mathjax.md) # Miscellaneous - [Fish configuration](./misc_fish.md) diff --git a/documentation/src/mathjax.md b/documentation/src/mathjax.md new file mode 100644 index 0000000..93bc2c8 --- /dev/null +++ b/documentation/src/mathjax.md @@ -0,0 +1,10 @@ +# MathJax support + +You can enable MathJax and write LaTeX in the plain command by importing the +`mathjax` package. + +```latex +\usepackage{mathjax} +... +\plain{Some math: \(e^x\).} +``` \ No newline at end of file diff --git a/documentation/src/usage.md b/documentation/src/usage.md index b47a226..70b5ce1 100644 --- a/documentation/src/usage.md +++ b/documentation/src/usage.md @@ -54,13 +54,4 @@ The `plain` command is used as follows: ``` The plain command embeds its content into the HTML code of the page. Note that the passed argument is printed verbatim, LaTeX commands will not work. -If you want to write a percentage, use `\HTMLPercentage`. - -You can enable MathJax and write LaTeX in the plain command by importing the -`mathjax` package. - -```latex -\usepackage{mathjax} -... -\plain{Some math: \(e^x\).} -``` \ No newline at end of file +If you want to write a percentage, use `\HTMLPercentage`. \ No newline at end of file diff --git a/documentation/src/vscode.md b/documentation/src/vscode.md index e3aae1c..3ccd7f9 100644 --- a/documentation/src/vscode.md +++ b/documentation/src/vscode.md @@ -20,8 +20,6 @@ The file provides some autocompletions such as `sdocument` which will provide a \id{id} \genpage - - \end{document} ```