Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
paolobettelini committed Oct 31, 2024
1 parent e0a8f9e commit 47ae54b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
1 change: 1 addition & 0 deletions documentation/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 10 additions & 0 deletions documentation/src/mathjax.md
Original file line number Diff line number Diff line change
@@ -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\).}
```
11 changes: 1 addition & 10 deletions documentation/src/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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\).}
```
If you want to write a percentage, use `\HTMLPercentage`.
2 changes: 0 additions & 2 deletions documentation/src/vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ The file provides some autocompletions such as `sdocument` which will provide a
\id{id}
\genpage
\end{document}
```

Expand Down

0 comments on commit 47ae54b

Please sign in to comment.