mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
help: Add a dedicated page on how to format LaTeX.
This commit is contained in:
@@ -58,21 +58,10 @@ whenever you need a reminder of the formatting syntax below.
|
|||||||
{!code-blocks-examples.md!}
|
{!code-blocks-examples.md!}
|
||||||
|
|
||||||
## LaTeX
|
## LaTeX
|
||||||
~~~
|
|
||||||
Inline: $$O(n^2)$$
|
|
||||||
|
|
||||||
Displayed:
|
{!latex-intro.md!}
|
||||||
``` math
|
|
||||||
\int_a^b f(t)\, dt = F(b) - F(a)
|
|
||||||
```
|
|
||||||
~~~
|
|
||||||
|
|
||||||

|
{!latex-examples.md!}
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
## Quotes
|
## Quotes
|
||||||
|
|
||||||
|
|||||||
14
help/include/latex-examples.md
Normal file
14
help/include/latex-examples.md
Normal 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
|
||||||
|
|
||||||
|

|
||||||
4
help/include/latex-intro.md
Normal file
4
help/include/latex-intro.md
Normal 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.
|
||||||
@@ -66,6 +66,7 @@
|
|||||||
* [Text emphasis](/help/text-emphasis)
|
* [Text emphasis](/help/text-emphasis)
|
||||||
* [Bulleted and numbered lists](/help/bulleted-and-numbered-lists)
|
* [Bulleted and numbered lists](/help/bulleted-and-numbered-lists)
|
||||||
* [Code blocks](/help/code-blocks)
|
* [Code blocks](/help/code-blocks)
|
||||||
|
* [LaTeX](/help/latex)
|
||||||
* [Create a poll](/help/create-a-poll)
|
* [Create a poll](/help/create-a-poll)
|
||||||
* [Start a video call](/help/start-a-call)
|
* [Start a video call](/help/start-a-call)
|
||||||
|
|
||||||
|
|||||||
13
help/latex.md
Normal file
13
help/latex.md
Normal 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)
|
||||||
Reference in New Issue
Block a user