help: Add a dedicated page on how to format LaTeX.

This commit is contained in:
David Rosa 2023-03-09 22:36:53 -07:00 committed by Tim Abbott
parent 9c3efa6880
commit 56c03de927
5 changed files with 34 additions and 13 deletions

View File

@ -58,21 +58,10 @@ whenever you need a reminder of the formatting syntax below.
{!code-blocks-examples.md!}
## LaTeX
~~~
Inline: $$O(n^2)$$
Displayed:
``` math
\int_a^b f(t)\, dt = F(b) - F(a)
```
~~~
{!latex-intro.md!}
![Markdown LaTeX](/static/images/help/markdown-latex.png)
Zulip's LaTeX rendering is powered by [KaTeX](https://katex.org).
Their [support table](https://katex.org/docs/support_table.html) is a
helpful resource for checking what's supported or how to express
something.
{!latex-examples.md!}
## Quotes

View File

@ -0,0 +1,14 @@
### What you type
~~~
Inline: $$O(n^2)$$
Displayed:
``` math
\int_a^b f(t)\, dt = F(b) - F(a)
```
~~~
### What it looks like
![Markdown LaTeX](/static/images/help/markdown-latex.png)

View File

@ -0,0 +1,4 @@
Zulip supports math typesetting powered by [KaTeX](https://katex.org).
Their [support table](https://katex.org/docs/support_table.html) is a
helpful resource for checking what's supported or how to express
something.

View File

@ -66,6 +66,7 @@
* [Text emphasis](/help/text-emphasis)
* [Bulleted and numbered lists](/help/bulleted-and-numbered-lists)
* [Code blocks](/help/code-blocks)
* [LaTeX](/help/latex)
* [Create a poll](/help/create-a-poll)
* [Start a video call](/help/start-a-call)

13
help/latex.md Normal file
View File

@ -0,0 +1,13 @@
# LaTeX
{!latex-intro.md!}
## Examples
{!latex-examples.md!}
## Related articles
* [Message formatting](/help/format-your-message-using-markdown)
* [Preview messages before sending](/help/preview-your-message-before-sending)
* [Resize the compose box](/help/resize-the-compose-box)